cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Larsen" <gary.lar...@envisn.com>
Subject Change widget label in action listener
Date Thu, 17 Jul 2008 14:51:51 GMT
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


Mime
View raw message