Re: [Wicket-user] Relative URL-s on the page stop working after HTTP POST

2007-02-16 Thread beboris
Just an FYI for those who want to know what the problem was about or solution for it is. We did mount the page, and it didn't help. So, we created a sample and shared it with Igor. He filed a bug and created a patch (see https://issues.apache.org/jira/browse/WICKET-290). I'll keep you posted wheth

Re: [Wicket-user] Relative URL-s on the page stop working after HTTP POST

2007-02-15 Thread Igor Vaynberg
mount the page using querystringcodingstrategy that way the link will be /index.html?wicket:pagemap... -igor On 2/15/07, beboris <[EMAIL PROTECTED]> wrote: Nothing happens. We stay on the same HomePage and display an error. Unfortunately, Wicket changes URL of the page though, so relative lin

Re: [Wicket-user] Relative URL-s on the page stop working after HTTP POST

2007-02-15 Thread beboris
Nothing happens. We stay on the same HomePage and display an error. Unfortunately, Wicket changes URL of the page though, so relative links stop working... (see a code snippet below, please) -bob HomePage extends WebPage ... LoginForm form = new Form() { ... @Override public void onSubmit()

Re: [Wicket-user] Relative URL-s on the page stop working after HTTP POST

2007-02-15 Thread Igor Vaynberg
what happens if there is an error? how does wicket redirect back to that page? how is that back url generated? -igor On 2/15/07, beboris <[EMAIL PROTECTED]> wrote: After 2 months of working with Wicket we almost felt like "profies" but now that we have to [loosely] integrate some pieces wri

[Wicket-user] Relative URL-s on the page stop working after HTTP POST

2007-02-15 Thread beboris
After 2 months of working with Wicket we almost felt like "profies" but now that we have to [loosely] integrate some pieces written by others we've got into one of those Wicket "gotchas" again... So, there is a simple home page with a simple javascript created by others, which we host inside our