If you use borders, you can wrap the form components with elements for
which you set the class or style attribute, and you can do this with
CSS, right?

Eelco


On 3/30/07, Carlos Pita <[EMAIL PROTECTED]> wrote:
> Hi all,
> I need to show errors for form fields next to the fields themselves. I have
> tried with FormComponentFeedbackIndicator/Border, which
> just worked fine, but the fact is that I need to affect the background of
> both the field and its error message (for example, turning it to red) while
> these provided markup containers just show/hide some component inside them.
> I could go low-level down to WebMarkupContainer and implement that myself,
> for example changing the style for the entire field+error area. But I think
> it could be done with Variations or with AttributeModifiers too. What do you
> recommend?
> Thank you in advance.
> Cheers,
> Carlos
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to