File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes SET Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "SET" Watch "SET" New topic
Author

SET

Dura Hurtado
Ranch Hand

Joined: Feb 16, 2011
Posts: 120
Hi I have this code in my .xhtml,

<p:inputTextarea style="width:300px;height:100px;" effectDuration="400" value="=#{Content.textarea}"></p:inputTextarea>


and the error I get in the browser is:

javax.faces.component.UpdateModelException: javax.el.PropertyNotWritableException: /text.xhtml @13,114 value="=#{Content.textarea}": Illegal Syntax for Set Operation

And the error in the console:


WARNING: PWC4011: Unable to set request character encoding to UTF-8 from context /VirtualVision, because request parameters have already been read, or ServletRequest.getReader() has already been called


¿Any clue?

Thanks
Florian Huber
Greenhorn

Joined: Jun 30, 2011
Posts: 8
<p:inputTextarea style="width:300px;height:100px;" effectDuration="400" value="=#{Content.textarea}"></p:inputTextarea>


try to remove the = inside the quotes:

<p:inputTextarea style="width:300px;height:100px;" effectDuration="400" value="#{Content.textarea}"></p:inputTextarea>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SET
 
Similar Threads
Compound Keys in EJB
Setting value for a key programmatically for arg0 tag
Problems with sessionID persistence...
Advice for Struts forms with validation
Webservice timeouts