Re: highlight invalid fields with custom Validation Framework?

2012-11-25 Thread James Selvakumar
; fc.getFeedbackMessages().first(FeedbackMessage.LEVEL_ERROR).toString(); > > > > > > Or you may use the default registered converter to transform it to > > > String. But this is more advanced and most probably you don't need it. > > > > > > >

Re: highlight invalid fields with custom Validation Framework?

2012-11-25 Thread Martin Grigorov
;t need it. > > > > > > > > } else { > > > error = "Your input is invalid."; > > > } > > > fc.getResponse().write( > > > "" +

Re: highlight invalid fields with custom Validation Framework?

2012-11-25 Thread James Selvakumar
sponse().write( > > "" + error + > ""); > > } > > } > > } > > } > > > > > > 2) Do you know any good wicket tutorials/example where I can learn how to > > work with custom

Re: highlight invalid fields with custom Validation Framework?

2012-10-17 Thread Martin Grigorov
re/src/main/java/org/apache/wicket/markup/html/panel/FeedbackPanel.java > > thanks.. > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/highlight-invalid-fields-with-custom-Validation-Framework-tp4652949p4653024.html > Sent fro

Re: highlight invalid fields with custom Validation Framework?

2012-10-16 Thread delta458
http://apache-wicket.1842946.n4.nabble.com/highlight-invalid-fields-with-custom-Validation-Framework-tp4652949p4653024.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-uns

Re: highlight invalid fields with custom Validation Framework?

2012-10-16 Thread Martin Grigorov
} > } > > private class ErrorHighlightBehavior extends Behavior { > > @Override > public void onComponentTag(Component c, ComponentTag tag) { > FormComponent fc = (FormComponent) c; > if (!fc.isValid()) { > tag.put("c

Re: highlight invalid fields with custom Validation Framework?

2012-10-15 Thread delta458
rmComponent) c; if (!fc.isValid()) { tag.put("class", "error"); } } } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/highlight-invalid-fields-with-custom-Validation-Framework-tp4652949p4652990.html

Re: highlight invalid fields with custom Validation Framework?

2012-10-15 Thread Martin Grigorov
tag.put("class", "error"); > } > } > } > } You face all these problems because you migrate code from version X to version X + Y, where Y is > 1, i.e. you need to read the migration guides for all the steps. Or just ask here and we will try

Re: highlight invalid fields with custom Validation Framework?

2012-10-15 Thread delta458
tag.put("class", "error"); } } } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/highlight-invalid-fields-with-custom-Validation-Framework-tp4652949p4652978.html Sent from

Re: highlight invalid fields with custom Validation Framework?

2012-10-15 Thread Martin Grigorov
s message in context: > http://apache-wicket.1842946.n4.nabble.com/highlight-invalid-fields-with-custom-Validation-Framework-tp4652949p4652970.html > Sent from the Users forum mailing list archive at Nabble.com. > > -

Re: highlight invalid fields with custom Validation Framework?

2012-10-15 Thread Bert
t; Code of HTML File: > > > It would be great if you give me a short example on how to do that. Or links > with good tutorials? > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/highlight-invalid-fields-with-custom-Validation-Framew