Re: [1.5] new wicket URL-related questions

2010-08-28 Thread Antoine van Wel
Q2: (a little n00b question) how can I find out which component makes my page stateful? Check the wicket-devutils and StatelessChecker. It allows you to use an annotation to validate the component is really stateless. Antoine

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Major Péter
Hi, see inline Usually it is a component that returns false in isStateless or generates a stateful listener interface URL. okay, but how did the 1.4 have nice url in browser bar and Ajax working without this tweak? I mean this new ?number style urls are a bit ugly IMHO, and I have many

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
2010/8/24 Major Péter majorpe...@sch.bme.hu: Hi, see inline Usually it is a component that returns false in isStateless or generates a stateful listener interface URL. okay, but how did the 1.4 have nice url in browser bar and Ajax working without this tweak? I mean this new ?number style

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Peter Ertl
matej: So the new convention is that named parameters are always query string parameters? Am 24.08.2010 um 02:13 schrieb Matej Knopp: Hi, see the replies below 2010/8/23 Major Péter majorpe...@sch.bme.hu: Hi! As I'm testing wicket 1.5-SNAPSHOT, I'm seeing some strange behaviors:

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Major Péter
okay, but how did the 1.4 have nice url in browser bar and Ajax working without this tweak? I mean this new ?number style urls are a bit ugly IMHO, and I have many ajaxified pages, so I don't know how to deal with this right now.. If you use regular bookmarkable pages in 1.4 with Ajax and

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
On Tue, Aug 24, 2010 at 11:47 AM, Peter Ertl pe...@gmx.org wrote: matej: So the new convention is that named parameters are always query string parameters? It depends on the mapper. It is true for the standard mappers, unless the mapping looks like /mount/path/{name1}/{name2} where name1 and

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
2010/8/24 Major Péter majorpe...@sch.bme.hu: okay, but how did the 1.4 have nice url in browser bar and Ajax working without this tweak? I mean this new ?number style urls are a bit ugly IMHO, and I have many ajaxified pages, so I don't know how to deal with this right now.. If you use

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Major Péter
I don't think there is simple way to do that (unless you tweak the mapper). Why would you want to do that though? All bookmarkable URLs are generated without the page Id, The redirect is temporary (so google indexes the original URL). URL is still bookmarkable so users can copy and paste it,

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
2010/8/24 Major Péter majorpe...@sch.bme.hu: I don't think there is simple way to do that (unless you tweak the mapper). Why would you want to do that though? All bookmarkable URLs are generated without the page Id, The redirect is temporary (so google indexes the original URL). URL is still

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Igor Vaynberg
2010/8/24 Major Péter majorpe...@sch.bme.hu: well, I've tried this with this quickstart: http://aldaris.sch.bme.hu/quick.tar.gz , but this really didn't worked. Also on my bigger project I was seeing weird redirections: * the app is on / contextroot * the homepage could have parameters, but

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
Sorry, my bad. -Matej On Tue, Aug 24, 2010 at 5:08 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: 2010/8/24 Major Péter majorpe...@sch.bme.hu: well, I've tried this with this quickstart: http://aldaris.sch.bme.hu/quick.tar.gz , but this really didn't worked. Also on my bigger project I was

[1.5] new wicket URL-related questions

2010-08-23 Thread Major Péter
Hi! As I'm testing wicket 1.5-SNAPSHOT, I'm seeing some strange behaviors: With 1.4 I've used to have url's like: showuser/id/1234 now when I open simply the page without params, I will see the following URL: showuser?[0-9]+ When I looked at the JavaDoc of the new MountMapper (which is the

Re: [1.5] new wicket URL-related questions

2010-08-23 Thread bht
Hi, A2: http://blog.armstrongconsulting.com/?p=14 A4: I will look at this in 1.5 myself at some stage as well, so please keep in touch. Meanwhile, have you seen http://day-to-day-stuff.blogspot.com/2008/10/wicket-extreme-consistent-urls.html I have a special use case for this where I don't

Re: [1.5] new wicket URL-related questions

2010-08-23 Thread Matej Knopp
Hi, see the replies below 2010/8/23 Major Péter majorpe...@sch.bme.hu: Hi! As I'm testing wicket 1.5-SNAPSHOT, I'm seeing some strange behaviors: With 1.4 I've used to have url's like: showuser/id/1234 now when I open simply the page without params, I will see the following URL: