Hi there.
I have the following problem with reloading the same page that is currently
loaded.
I'm working on a blog application. Normally the URL in the browser for a
specific blog entry is like this:
http://<host>/blog/id/<someblogid>
where /blog is mounted as bookmarkable in Application to Blog WebPage subclass
which has a constructor with PageParameters which accepts "id=<someblogid>"
which then is translated to /blog/id/<someblogid> by Wicket.
Now there is an add comment panel on the page that, when a user submits it,
should load the Blog page for the same <someblogid>.
In onSubmit I tried with: setResponsePage(Blog.class, new
PageParameters("id="+<someblogid>) which ends up that a page with this URL is
loaded /blog/id/blog/id/<someblogid> which of course doesn't work.
Reloading the same page using setResponsePage(getWebPage) doesn't work either.
I'm probably missing the obvious but I'd appreciate if someone could help me
here.
Manfred
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]