RE: Form submit to bookmarkable page

2008-10-02 Thread Stefan Lindner
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

RE: Form submit to bookmarkable page

2008-10-02 Thread Stefan Lindner
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

Re: Form submit to bookmarkable page

2008-10-02 Thread Igor Vaynberg
; 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

RE: Form submit to bookmarkable page

2008-10-02 Thread Stefan Lindner
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

Re: Form submit to bookmarkable page

2008-10-02 Thread Igor Vaynberg
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&#

RE: Form submit to bookmarkable page

2008-10-02 Thread Stefan Lindner
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

Re: Form submit to bookmarkable page

2008-10-02 Thread Igor Vaynberg
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

Form submit to bookmarkable page

2008-10-02 Thread Stefan Lindner
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