cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Larsen" <>
Subject RE: Change widget label in action listener
Date Thu, 17 Jul 2008 15:28:24 GMT
I'm using Cocoon 2.1.9



From: Gary Larsen [] 
Sent: Thursday, July 17, 2008 10:52 AM
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


Thanks for any suggestions.



View raw message