• Post Reply Bookmark Topic Watch Topic
  • New Topic

SET  RSS feed

 
Dura Hurtado
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<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>
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!