I'm using Cocoon 2.1.9

 

  _____  

From: Gary Larsen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 17, 2008 10:52 AM
To: [email protected]
Subject: Change widget label in action listener

 

I'm trying to change the label on an Action widget as part of the action.
There does not seem to be a 'label' member or Widget so I guessed it would
be an attribute, but these do not work:

 

                widget.setAttribute("label", new I18nMessage("text"));

 

                widget.setAttribute("widget-label", new
I18nMessage("text"));

 

Thanks for any suggestions.

 

gary

Reply via email to