You could use a ajax link instead....

http://www.wishingline.com/notebook/2006/06/revisitingslidingdoorbuttons/

Either way you would use a attribute modifier to change the class property...

Karen Schaper wrote:
Hi,

I'd like to change the color of a button after clicking it.  The button was
added to the page using AjaxButton.

Is there a way to change the style of a button?  I've change the css style
when using PropertyColumns but I don't see anything for changing the style
of a button.

I could make 2 different buttons and make only one visible at a time but I
don't really want to do this.

Am I missing something?

Thanks

Karen



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to