File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

JP Bar
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic