Thanks igor it works. :)
Thanks a lot. Cheers. igor.vaynberg wrote: > > Required=${label} is required > > textfield.setlabel(new model("question "+item.getindex())); > > -igor > > On Thu, Oct 9, 2008 at 2:16 AM, freak182 <[EMAIL PROTECTED]> wrote: >> >> Hello, >> >> My problem is how to customize error message of requiredtextfield inside >> listview? here is the scenario: i have a requiredtextfield in the >> listview, >> of course the listview is inside the form. actually it is dynamic >> question & >> answer that came from DB. now if the user did not answer the question >> number >> 1 provided it should display an error "Please answer the Question for >> number >> 1" and so on...And suppose i have 5 question how i can determine which >> question is not answered. >> >> i already do this: arcotForm.qasetup.3.question.Required=Please enter >> Question 4 >> >> when there is 2 question that left empty the error displayed: Please >> enter >> Question 4 (2x) >> >> Thanks a lot. >> >> Cheers. >> >> -- >> View this message in context: >> http://www.nabble.com/how-to-customize-error-message-of-requiredtextfield-inside-listview-tp19895203p19895203.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/how-to-customize-error-message-of-requiredtextfield-inside-listview-tp19895203p19910696.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]