you can either override oncomponenttag(ComponentTag tag) { tag.getAttributes().get/put } or add a behavior to the component - namely an (Simple)AttributeModifier.

-Igor


On 9/4/06, David Leangen <[EMAIL PROTECTED]> wrote:

Could somebody please point me to an example or reference on how to
dynamically change tag attributes? I don't recall offhand.

I'm trying to do something like this:

If no error:
<span class="noerr">Righto!</span>

Or if error:
<span class="err">Sorry, try again!</span>


Thanks!



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to