This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF check box  RSS feed

 
Anton Notna
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi dear all!
I have question about checkbox component in table. I use myFaces impl (1.1.5).
When I have cheked on page A in table ui components, I don't receive them in response. I use datamodel for tomahawk data Table:
Snippet from JSF



Snippet with model:



But in action this.available is always null despite the fact that values are showed on page.

I don't know how to overcome this
 
Tammy Easterby
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

Have you tried tagging your checkbox with an ID of some sort? I know you're allowed to do it like this:
<h:selectBooleanCheckbox value="#{invoice.selected}"/>

But have you tried it like this:
<h:selectBooleanCheckbox id="myCheckbox" value="#{invoice.selected}"></h:selectBooleanCheckbox>

That just might work.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!