Forums Register Login

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

+Pie Number of slices to send: Send
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!
Die Fledermaus does not fear such a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2400 times.
Similar Threads
Not able to submit datatable
Problem with dynamic dataTable generation
Generating Horizontal Menu in JSF using h:dataTable
Add Rows To Datatable
Empty text Field Validation in JSF data Table
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 22:36:02.