cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Larsen" <gary.lar...@envisn.com>
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 [mailto:gary.larsen@envisn.com] 
Sent: Thursday, July 17, 2008 10:52 AM
To: users@cocoon.apache.org
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


Mime
View raw message