Ok, I see.

I will use a submit button to trigger the event.

Thanks again.

2008/5/28 Ben Gunter <[EMAIL PROTECTED]>:
> Hi, Rasmus. Since the beta, it has been changed so that the $event
> parameters are never embedded in the URI to which a form submits. The reason
> is forms submit their event names via buttons or other inputs, and that
> conflicts with the event name in the URI.
>
> http://www.stripesframework.org/jira/browse/STS-504
>
> On Sat, May 24, 2008 at 6:37 AM, Rasmus Monnerup <[EMAIL PROTECTED]> wrote:
>>
>> Hi Ben,
>>
>> Thanks for the RC.
>>
>> After updating from beta1 I ran into a issue with the form / param tag.
>>
>> Consider the following code:
>>
>> @UrlBinding("/example/{$event}.html")
>> public class ExampleAction implements ActionBean{
>>  ...
>> }
>>
>> <stripes:form action="/example.html">
>>  <stripes:param name="$event" value="dostuf" />
>>  ...
>> </stripes:form>
>>
>> beta1 generate this:
>>
>> <form action="/example/dostuf.html">
>>  ...
>> </form>
>>
>> and the dostuf event is called when the form is submitted.
>>
>> but rc1 generate this:
>>
>> <form action="/example.html?%24event=dostuf">
>>  ...
>> </form>
>>
>> and the event dostuf is not called when the form is submitted.
>>
>> Have something changed regarding the use of $event in the param tag
>> since beta1 ?
>>
>> /Rasmus
>
> --
> Ben Gunter
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Stripes-development mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-development
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to