File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ERROR: property cannot be written

 
Niel Niru
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
good day!

i'm coding a simple registration form and i have a problem regarding this line of code

<h:inputHidden id="memberSize" value="#{Registration.memberTable.rowCount}" />


memberTable is an HtmlDataTable and when i try to redirect to other page the error "cannot be written on property 'rowCount' is displayed on the server console...

can i value bind the property rowCount to a component without altering its content when the form is submitted? or if not can you suggest better solutions to this problem.

i'm a newbie in JSF so sorry for this noob question... thanks in advance!
 
Niel Niru
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hehe already solved this...

just change the get method of the memberSize to the getRowCount method of my dataTable...

i'm such a noob in this....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic