my dog learned polymorphism*
The moose likes JSF and the fly likes ERROR: property cannot be written Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "ERROR: property cannot be written " Watch "ERROR: property cannot be written " New topic

ERROR: property cannot be written

Niel Niru

Joined: Jan 25, 2010
Posts: 2
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

Joined: Jan 25, 2010
Posts: 2
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....
I agree. Here's the link:
subject: ERROR: property cannot be written
Similar Threads
nested exception is org.xml.sax.SAXParseException: Attribute "value" must be declared
Insert JSP Expression in value field of Multibox
File Upload using html:file tag
Multiple File Upload
Error 500: BeanUtils.populate