Oops, too quick.

            <font wicket:id="colorcomp"> Red </font>


Label l = new Label("colorcomp", "Blue")
add(l);
l.add(new SimpleAttribyteModifier("color", "blue"));

     Erik.

Shams Mahmood schreef:
> Say I have something like this :
>
>             <font color="red"> Red </font>
>             <span wicket:id="Label">[Wicket Contents]</span>
>             <a wicket:id="wicketLink"> Click here </a>
>
> I want to chane this to:
>
>             <font color="blue"> Blue </font>
>             <a wicket:id="wicketLink"> Click here </a>
>             <span wicket:id="wicketVariable">[Wicket Contents]</span>
>
>
> Dynamically.
>
> Anyone have idea how this can be done programmatically.
>
> I guess it has something to do with updating the markup cache of the
> application.
>
> But I am not sure how I can update it.
>
> Thanx in advance.
>
>
> Shams
>             
>             
>
>
> -------------------------------------------------------------------------
> 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
>
>   

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-------------------------------------------------------------------------
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