• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ERROR: property cannot be written

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....
 
reply
    Bookmark Topic Watch Topic
  • New Topic