Thanks a lot Gerolf. Great suggestions.
I have been looking some docs, and nabble forum... but (again) I've got
a problem.
Finally my webpage class looks like this (just the important part :D ):
TextField sfid = new TextField("sfid");
sfid.setRequired(true);
sfid.add(StringValidator.maximumLength(15));
sfid.setLabel(new Model("sfid"));
sfid.setEscapeModelStrings(true);
sfid.setRenderBodyOnly(false);
panelErrorSfid=new
FormComponentFeedbackIndicator("errorsSfid");
panelErrorSfid.setIndicatorFor(sfid);
add(sfid);
add(panelErrorSfid);
And the html code...
<input wicket:id="sfid" type="text"/><span wicket:id="errorsSfid"><img
src="error.png"></span>
The things is that if there is an error, a red "*" is showed, not the
image file I want... what things am I doing wrong?
Thanks again to everybody
-----Mensaje original-----
De: Gerolf Seitz [mailto:[EMAIL PROTECTED]
Enviado el: martes, 11 de marzo de 2008 12:10
Para: [email protected]
Asunto: Re: How can i Customize the style of Feedback Messages ?
>
> My goal is to show an image icon next to each erroneous input field :D
>
see FormComponentFeedbackBorder or FormComponentFeedbackIndicator
Gerolf
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]