On Thu, 14 Feb 2002, giacomo wrote:

> > > So, what will the end user see on his screen in this case? Buttons with ugly
> > > names and what will you do in a multilanguage web application? You'll get
> > > multilanguage method names ;)
>
> Oops, this is a very ugly bug in the concept of actions/action-sets.

:)

<snip/>

> This could be a way to go but I propose to slightly change it into:
>
>   <input type="submit" name="cocoon-action[-actionname[/parameter]]" 
>value="Hinzufuegen">
>
> This will maintain backward compatability at the produced HTML level.

Of course :)

...just about do commit it. Just want to check it first

> > The /[parameter] could be optional and be translated into an action
> > parameter named "cocoon-action-parameter". What do you think?
>
> We could also add a new ParametrizedAction interface extending the original one and 
>add that parameter to the method sinature.

Hm... sounds good. I'll look into that :)
--
Torsten


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

Reply via email to