> > > > Is there now some possibility to "mount" an page class on a string? > >
Yes. You can mount request targets, which can be PageClassRequestTargets (which are bookmarkable page references) to paths. I think that should be the use case we want to support. For further url mangling, users can provide their own implementation of IRequestEncoder (they can extend the web version, as that has some convenience methods). > It would also help a lot when urlrewriting the beautiful urls if the > parameters would be always in same order. Alphabetical or something > else, but something predictable. This could be achieved by using TreeMap > instead of HashMap in PageParameters (=ValueMap). Good idea. I'm +1. > > But could the parameters of the bookmarkablePage be something smarter > (and more beautiful?) > I was not quite done with that part actually. You can now mount PageClassRequestTargets, including any PageParameters object to a path, but of course you don't want to do that for every combination of Page/Parameters you come up with. We should end up with a mechanism that /efficiently/ determines things like this: ..<server>/<context>/<servletname>/my/nice/url/parameter1=a/parameter2=b where /my/nice/url would be the path that is regconized as a mounted one, and the parameters (maybe like parameter1/a/parameter2/b) would be digisted seperately. If we can come up with something that does this easily - you should be able to just mount /my/nice/url, and the mechanism would match that, and there would be some easy to configure parameter digesting part - I think our prettyurl support is very decent indeed. Eelco ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
