This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I have a datatable which contains rows of textboxes. I want to validate each of these input fields. I get a nullpointer exception on UIComponent.findComponent. This is how I access the value uiComponent.findComponent("selectForm:invoice:0:amount") uiComponent.findComponent("selectForm:invoice:0:name") etc.,
where each row corresponds to an Invoice bean that has getters and setters
I am not sure if this is the right way to access the field.
Joined: Feb 24, 2005
I submitted the above before completing the message. Sorry! I am not sure how to access indexed fields Can someone please help me out with this?