On 9/30/05, Borislav Sabev <[EMAIL PROTECTED]> wrote:
> One other problem I see is that value attribute has two purposes: to set
> the label, and on submit to provide value for the request parameter. Is
> there any way they to be different?

No.

> (consider i18n problem: my buton can have German, English, Italian etc
> labels but the parameter value I'd like to recieve always "save",
> "cancel" etc.
> Does somebody know something about this problem?

See LookupDispatchAction, it adds a level of indirection allow you to
use arbitrary caption. Or try my SelectAction:
See bug #30292:
  http://issues.apache.org/bugzilla/show_bug.cgi?id=30292
or download from here:
  http://struts.sourceforge.net/strutsdialogs.
Docs are here:
  http://struts.sourceforge.net/strutsdialogs/selectaction.html
Live demo:
  http://www.superinterface.com/strutsdialog/selectaction.html

Michael.

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

Reply via email to