You're probably getting the wicket:interface URL somewhere such as form
processing, etc. Try setting setRedirect(true) like in this example below:
new Form<Void>("form") {
private static final long serialVersionUID = 1L;
@Override
protected void onSubmit() {
super.onSubmit();
setRedirect(true);
setResponsePage(getApplication().getHomePage());
}
};
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Aug 14, 2008 at 4:58 PM, miro <[EMAIL PROTECTED]> wrote:
>
> I have that in my application.init() method
>
> Ryan Gravener-3 wrote:
> >
> > in your Application.init() do
> > mountBookmarkablePage("/foo", foo.class);
> >
> > On Thu, Aug 14, 2008 at 5:33 PM, miro <[EMAIL PROTECTED]> wrote:
> >
> >>
> >> my application is showing with different urls for the same page , how
> >> can
> >> I
> >> control this ?
> >>
> >> the method setResponsepage(foo.class)
> >>
> >> sometimes this is the mout url sometimes it is
> >> http://localhost/pcr/?wicket:interface=:2:::: and some times it is
> >> package.classname , please help me what I need to override to control
> >> this
> >> behaviour.
> >> --
> >> View this message in context:
> >> http://www.nabble.com/url-controlling-tp18990135p18990135.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]
> >>
> >>
> >
> >
> > --
> > Ryan Gravener
> > http://twitter.com/ryangravener
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/url-controlling-tp18990135p18990503.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]
>
>