On Wed, Jun 30, 2010 at 1:14 PM, Branislav Kalas <bka...@gmail.com> wrote:

> and i forgot this in the onclick handler :
> @Override
> protected void onClick() {
>         setResponsePage(new HomePage(parameters));
>
>         System.out.println("clicked on link");
> }
>
>
The whole point of a constructor that takes PageParameters is to use it with
a bookmarkable URL, which you've avoided by creating an instance of a page
that must be redirected to.  Your code should say:

setResponsePage(getApplication().getHomePage(), parameters);


-- 
Jeremy Thomerson
http://www.wickettraining.com

Reply via email to