are you using a StatelessForm? because in your example you showed a regular form

-igor

On Sun, Oct 5, 2008 at 9:04 AM, eyalbenamram <[EMAIL PROTECTED]> wrote:
>
> JIRA:
> https://issues.apache.org/jira/browse/WICKET-1580
>
>
> igor.vaynberg wrote:
>>
>> where is the bug report?
>>
>> -igor
>>
>> On Sun, Oct 5, 2008 at 6:56 AM, eyalbenamram <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> Hi
>>> There is a bug in wicket of a form that uses the GET method
>>> never calls the onSubmit method.
>>> I am now using wicket 1.4 m3, and the bug (already reported long time
>>> ago)
>>> is still not fixed, though it is said it was fixed. here is my code:
>>>
>>>        Button backBtn = new Button("back_button", new
>>> Model(getString("back")));
>>>
>>>        Form form = new Form("form") {
>>>                public void onSubmit() {
>>>                        setResponsePage(prevPage);
>>>                }
>>>
>>>                protected String getMethod() {
>>>                               return "get";
>>>                }
>>>        };
>>>        form.add(backBtn);
>>>
>>>        add(form);
>>>
>>> What am I doing wrong???
>>>
>>> thanks, Eyal.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/form-GET-calling-onSubmit-tp19824816p19824816.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/form-GET-calling-onSubmit-tp19824816p19826029.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to