Thank you Igor for your patience and your code fragments.
Stefan
-Ursprüngliche Nachricht-
Von: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 2. Oktober 2008 23:20
An: users@wicket.apache.org
Betreff: Re: Form submit to bookmarkable page
onsubmit() {
getRequestCycle
The solution, if anybody else should encounter this problem ist to put
the following into the onSubmitMethod
PageParameters p = new PageParameters();
p.add("myParameterName", );
getResponse().redirect(urlFor(MyTargetPage.class,
p).toString());
getRequestCycle().setR
; Stefan
>
> -Ursprüngliche Nachricht-
> Von: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 2. Oktober 2008 22:40
> An: users@wicket.apache.org
> Betreff: Re: Form submit to bookmarkable page
>
> if anything you can change the form.getmethod() to retur
ble method in the requestCyle.
How can I set the URL for the response?
Stefan
-Ursprüngliche Nachricht-
Von: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 2. Oktober 2008 22:40
An: users@wicket.apache.org
Betreff: Re: Form submit to bookmarkable page
if anything you can
ite.com/myapp/TargetPage
>
> Stefan
>
> -Ursprüngliche Nachricht-
> Von: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 2. Oktober 2008 18:06
> An: users@wicket.apache.org
> Betreff: Re: Form submit to bookmarkable page
>
> you can override form
parameter/value
or somethind similar? I have tried several URL encodings but all oft hem led
tot he result
http://mysite.com/myapp/TargetPage
Stefan
-Ursprüngliche Nachricht-
Von: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 2. Oktober 2008 18:06
An: users@wicke
you can override form's oncomponenttag() and call super then
tag.put(action, urlfor(yourpage.class));
i believe that should work
-igor
On Thu, Oct 2, 2008 at 8:41 AM, Stefan Lindner <[EMAIL PROTECTED]> wrote:
> Is it possible to submit a form to a bookmarkable page (with form input
> as page par
Is it possible to submit a form to a bookmarkable page (with form input
as page parameters)?
What I want is a form with a submit button/link that leads to a page
with e.g. URl
http://mysite.com/myapp/targetPage/param1/value1/param2/value2
Of course I mount the submit link#s target page class