This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes viewroot.findComponent - access field in row in datatable or datalist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "viewroot.findComponent - access field in row in datatable or datalist" Watch "viewroot.findComponent - access field in row in datatable or datalist" New topic
Author

viewroot.findComponent - access field in row in datatable or datalist

JP Bar
Greenhorn

Joined: Feb 17, 2009
Posts: 2
Hi!, I've a form with a datatable with htmlinputtext and I want highlight particular fields in some rows. But I have to change the style without javascript, in the server.
For the rest of the form, I've no problem using viewroot.findComponent(":form:subview:idField") but with datalist or datatables I can't access to the rows with findComponent(":form:subview:idTable:numberOfRow:idField") always return null. I've been reading and I think rows aren't generated in server time?? or similar??? Perhaps I've to use another methods like invokeoncomponent or it's more simple?

Thanks in advance!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: viewroot.findComponent - access field in row in datatable or datalist
 
Similar Threads
Problem with dynamic dataTable generation
Add Rows To Datatable
Empty text Field Validation in JSF data Table
Not able to submit datatable
Generating Horizontal Menu in JSF using h:dataTable