i suppose you can make a behavior that will print out the messages just like feedbackpanel does now. that is probably the least verbose way to do it:
add(new textfield("tf",model).add(new feedbackbehavior()); -igor On Wed, Mar 19, 2008 at 11:04 PM, Ned Collyer <[EMAIL PROTECTED]> wrote: > > How can I elegantly put a feedback panel per form field > > eg, > Email address is required > Email: [__________] > > This is not a valid phone number > Phone: [asfafadsfafa] > > This seems like a common scenario, but it seems rather verbose to implement. > What should I extend to enable this? A form? A text field? A panel and > add the required items. > An example would be appreciated. > > Rgds > > Ned > -- > View this message in context: > http://www.nabble.com/How-do-I-elegantly-put-feedback-per-form-field--tp16172288p16172288.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]