Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem using ui:repeat  RSS feed

suresh dasari
Ranch Hand
Posts: 121
Chrome Eclipse IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am facing an issue in using ui:repeat component.
I want to add bunch of rows dynamically upon clicking a button lets say there are two rows (first name and last name)
this 2 controls displayed when the page renders and when you click button another row with 2 controls will be displayed
till now its working fine.

validation is not working as setters are calling after validation phase
here for ui:repeat I will get a list object (lets say XYZ), so if I change some thing in first name or last name these values are set in to XYZ object after validation phase so as the previously displayed values are good there is no validation exception is thrown
is there any way to call validation phase of update model values phase.
or is there any way to have setter method of list object which is used in ui:repeat in backing bean itself.

any help is appreciated.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!