Re: Is there something like ValidationDelegates in Wicket?

2007-08-17 Thread Igor Vaynberg
my border handles multiple formcomponetns if they are meant to be grouped. for example you can add 3 textfields and it will create labels like: city/state/zip [text1][text2][text3] errors for text1/text2/text3 i have a utility method in my Form subclass addWithBorder(String borderid, FormComponen

Re: Is there something like ValidationDelegates in Wicket?

2007-08-17 Thread Onno Scheffers
Hi Igor, does this mean that you wrote a Border component that handles multiple formcomponents at once? Or that you wrote a Border component that handles only one formcomponent at a time (like the FormComponentFeedbackBorder)? The first is what I've been trying to figure out, because I find th

Re: Is there something like ValidationDelegates in Wicket?

2007-08-16 Thread Igor Vaynberg
yep, i have a border implementation that does just this. it searches its hierarchy for a formcomponent(s) and adds labels, then if there are any errors it renders them after the component. so it is definetely possible, you still have to add a border/component but the chances are you are adding a l

Re: Is there something like ValidationDelegates in Wicket?

2007-08-16 Thread Scott Swank
Look at Borders http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.BorderPage Particular the FormComponentFeedbackBorder. On 8/16/07, Onno Scheffers <[EMAIL PROTECTED]> wrote: > Hi, > > I'm new to Wicket. I worked with Tapestry before and I wa

Is there something like ValidationDelegates in Wicket?

2007-08-16 Thread Onno Scheffers
Hi, I'm new to Wicket. I worked with Tapestry before and I was wondering if there's something like the Tapestry ValidationDelegate available in Wicket? By adding a ValidationDelegate to a form I was able to override methods like writeLabelPrefix, writeLabelSuffix, writePrefix and writeSuffix.