We're trying to test a TextField wit a FormFeedbackIndicator..... but we
keep getting a 'the following Components failed to render' error on
testform.indicator.FormFeedbackIndicator when we submit the form with
errors.
java:
...
testfield = new RequiredTextField("text", new
PropertyModel(ValidatePage.this, "textValue"));
testfield.add(LengthValidator.max(5));
FormComponentFeedbackIndicator i = new
FormComponentFeedbackIndicator("indicator");
i.setIndicatorFor(testfield);
form.add(i);
...
html:
<input type="text" wicket:id="text"/><div wicked:id="indicator"></div>
What are we doing wrong?
Marco & Ruud
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user