class myform extends form {
  protected void onsubmit() {
       // do something
       string url=....
        getrequestcycle().setrequesttarget(new redirectrequesttarget(url));
    }
}

-igor

On Sat, Nov 21, 2009 at 8:23 AM, chocba <cho...@gmail.com> wrote:
>
> No. Right now, I tried exactly the way you mentioned. I created a form
> element in javascript and add hidden fields to post the form. THe hidden
> fields are populated after extracting the values from wicket input elements.
> I'm concerned about the security since anyone could view source and  see the
> action url and try to post the form. Please let me know if any other
> alternative. Thanks.
>
>
> Edward Zarecor-2 wrote:
>>
>> Is there a requirement to process the data in any way before
>> submitting to the remote application?  Why wouldn't you just use an
>> HTML form with the appropriate action pointing to the remote host?
>> Wicket may not need to know about this form.
>>
>> Ed.
>>
>>
>> On Fri, Nov 20, 2009 at 12:14 PM, Balaji C <cho...@gmail.com> wrote:
>>> I've a wicket form with input elements. I would like to post this form to
>>> a
>>> non-wicket url. Is it possible to post this form from submit event of
>>> wicket
>>> button? I google and couldn't find any clear solution. Any help is
>>> appreciated. If any other alternative, please let me know. Thanks.
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/Posting-A-Form-To-NonWicket-tp26447615p26458059.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to