Re: Url parameters: removed onClick + wrong url encoding

2010-09-21 Thread Martin Grigorov
On Mon, Sep 20, 2010 at 8:57 PM, Peter Karich peat...@yahoo.de wrote: Hi Martin! Martin, thanks for the support in the tickets btw :-) We thank you for testing the framework and blogging about it! ;-) ;-) Interesting. How exactly looks the URL for such request? E.g. try

Re: Url parameters: removed onClick + wrong url encoding

2010-09-20 Thread Peter Karich
Martin, thanks for the support in the tickets btw :-) two minor migration questions (when using 1.5-M2.1) 1. When I mount my homepage via: getRootRequestMapperAsCompound().add(new MountedMapper(twittersearch, HomePage.class)); and I am querying webapp/?test I got a directory listing - is this

Re: Url parameters: removed onClick + wrong url encoding

2010-09-20 Thread Martin Grigorov
On Mon, Sep 20, 2010 at 3:12 PM, Peter Karich peat...@yahoo.de wrote: Martin, thanks for the support in the tickets btw :-) We thank you for testing the framework and blogging about it! ;-) two minor migration questions (when using 1.5-M2.1) 1. When I mount my homepage via:

Re: Url parameters: removed onClick + wrong url encoding

2010-09-20 Thread Peter Karich
Hi Martin! Martin, thanks for the support in the tickets btw :-) We thank you for testing the framework and blogging about it! ;-) ;-) Interesting. How exactly looks the URL for such request? E.g. try it with the quickstart at: https://issues.apache.org/jira/browse/WICKET-3053

Url parameters: removed onClick + wrong url encoding

2010-09-16 Thread Peter Karich
Hi, two questions: 1. If I do the following all url parameters will be replaced with ?wicket:interface=:6:1::: e.g. in the main wicket application class I do: mount(new MixedParamUrlCodingStrategy(search, HomePage.class, new String[]{q})); in HomePage.java i do without ajax: add(new

Re: Url parameters: removed onClick + wrong url encoding

2010-09-16 Thread Martin Grigorov
On Thu, Sep 16, 2010 at 11:30 AM, Peter Karich peat...@yahoo.de wrote: Hi, two questions: 1. If I do the following all url parameters will be replaced with ?wicket:interface=:6:1::: e.g. in the main wicket application class I do: mount(new MixedParamUrlCodingStrategy(search,

Re: Url parameters: removed onClick + wrong url encoding

2010-09-16 Thread Peter Karich
Hi Martin! The answer here is to use HybridUCS. It preserves the 'nice' url. Or use Wicket 1.5 (M2.1). There the URL handling is much easier. did you mean this one: http://svn.apache.org/repos/asf/wicket/branches/wicket-1.5-M2/ are there any major problems with that version?

Re: Url parameters: removed onClick + wrong url encoding

2010-09-16 Thread Martin Grigorov
On Thu, Sep 16, 2010 at 4:05 PM, Peter Karich peat...@yahoo.de wrote: Hi Martin! The answer here is to use HybridUCS. It preserves the 'nice' url. Or use Wicket 1.5 (M2.1). There the URL handling is much easier. did you mean this one:

Re: Url parameters: removed onClick + wrong url encoding

2010-09-16 Thread Peter Karich
Thanks Martin for your time and help! The problem with M2.1 is that some functionality is missing/hidden: E.g. I need getWebRequestCycle().getWebRequest() to guess the user language and set some caching stuff to workaround an ajax+backbutton problem in 1.4.9. Is this the correct way to use

Re: Url parameters: removed onClick + wrong url encoding

2010-09-16 Thread Martin Grigorov
On Thu, Sep 16, 2010 at 9:11 PM, Peter Karich peat...@yahoo.de wrote: Thanks Martin for your time and help! The problem with M2.1 is that some functionality is missing/hidden: E.g. I need getWebRequestCycle().getWebRequest() to guess the user language and set some caching stuff to

Re: Url parameters: removed onClick + wrong url encoding

2010-09-16 Thread Peter Karich
Hi Martin! Thanks Martin for your time and help! The problem with M2.1 is that some functionality is missing/hidden: E.g. I need getWebRequestCycle().getWebRequest() to guess the user language and set some caching stuff to workaround an ajax+backbutton problem in 1.4.9. In