Re: Is it possible to hide /?wicket:.. from the URLs
it looks a lot like UrlCompressingWebRequestProcessor On Fri, May 2, 2008 at 4:15 AM, Jonathan Locke [EMAIL PROTECTED] wrote: sorry, i should have cross posted this to the dev list. it's really a feature idea and not something i'd expect user to implement. Ritz123 wrote: I am relatively new to Wicket. So it will take me some time to digest what you just mentioned below. In the meantime, if you have time, little detailed explanation is very welcome. Jonathan Locke wrote: interesting idea: collapse the constant part (component hierarchy path and listener interface) into an interned string list in application shared by all components (application metadata probably). then just encode the wicket listener url as just the index into that list. for degenerate cases where the ui can grow arbitrarily large (not true of most wicket apps), you could limit the size of this string list. this would turn a url like: /wicket/examples/linkomatic/;jsessionid=240331A81323E282FE78E8C8C0DC894F?wicket:interface=:0:actionLink::ILinkListener:: into /wicket/examples/linkomatic/;jsessionid=240331A81323E282FE78E8C8C0DC894Fwicket:url=1 or /wicket/examples/linkomatic/1;jsessionid=240331A81323E282FE78E8C8C0DC894F or whatever... Ritz123 wrote: Hi, Was wondering if its possible to hide wicket name from the URLs (stateless and stateful). One might not want to show their end users that wicket is being used behind the scenes. Also I noticed even if page has bookmarkable links - the links show relative ../../../../mount/params!! Is there anyway to have complete(absolute urls) with the hostname? -- View this message in context: http://www.nabble.com/Is-it-possible-to-hide---wicket%3A..-from-the-URLs-tp16972147p16996466.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it possible to hide /?wicket:.. from the URLs
interesting idea: collapse the constant part (component hierarchy path and listener interface) into an interned string list in application shared by all components (application metadata probably). then just encode the wicket listener url as just the index into that list. for degenerate cases where the ui can grow arbitrarily large (not true of most wicket apps), you could limit the size of this string list. this would turn a url like: /wicket/examples/linkomatic/;jsessionid=240331A81323E282FE78E8C8C0DC894F?wicket:interface=:0:actionLink::ILinkListener:: into /wicket/examples/linkomatic/;jsessionid=240331A81323E282FE78E8C8C0DC894Fwicket:url=1 or /wicket/examples/linkomatic/1;jsessionid=240331A81323E282FE78E8C8C0DC894F or whatever... Ritz123 wrote: Hi, Was wondering if its possible to hide wicket name from the URLs (stateless and stateful). One might not want to show their end users that wicket is being used behind the scenes. Also I noticed even if page has bookmarkable links - the links show relative ../../../../mount/params!! Is there anyway to have complete(absolute urls) with the hostname? -- View this message in context: http://www.nabble.com/Is-it-possible-to-hide---wicket%3A..-from-the-URLs-tp16972147p16996043.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it possible to hide /?wicket:.. from the URLs
Just so that the Page looks cleaner to the crawlers. Not sure if any SEO is affected by this kind of URL scheme since my current website has URLs starting with either /'s or http://hostname/. So just looking to duplicate that and not worry about site ranking going down etc. Johan Compagner wrote: Currently it is not easy to get wicket out of all the urls. This prefix is a static final that is used on many places, i want to make that configurable in a next release. By default wicket will generate relative paths. You can get a absolute one with i believe RequestUtils. But this is still without host/port i think, why do you want that? For generating emails or something like that? On 4/30/08, Ritz123 [EMAIL PROTECTED] wrote: Hi, Was wondering if its possible to hide wicket name from the URLs (stateless and stateful). One might not want to show their end users that wicket is being used behind the scenes. Also I noticed even if page has bookmarkable links - the links show relative ../../../../mount/params!! Is there anyway to have complete(absolute urls) with the hostname? -- View this message in context: http://www.nabble.com/Is-it-possible-to-hide---wicket%3A..-from-the-URLs-tp16972147p16972147.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Is-it-possible-to-hide---wicket%3A..-from-the-URLs-tp16972147p16996440.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it possible to hide /?wicket:.. from the URLs
I am relatively new to Wicket. So it will take me some time to digest what you just mentioned below. In the meantime, if you have time, little detailed explanation is very welcome. Jonathan Locke wrote: interesting idea: collapse the constant part (component hierarchy path and listener interface) into an interned string list in application shared by all components (application metadata probably). then just encode the wicket listener url as just the index into that list. for degenerate cases where the ui can grow arbitrarily large (not true of most wicket apps), you could limit the size of this string list. this would turn a url like: /wicket/examples/linkomatic/;jsessionid=240331A81323E282FE78E8C8C0DC894F?wicket:interface=:0:actionLink::ILinkListener:: into /wicket/examples/linkomatic/;jsessionid=240331A81323E282FE78E8C8C0DC894Fwicket:url=1 or /wicket/examples/linkomatic/1;jsessionid=240331A81323E282FE78E8C8C0DC894F or whatever... Ritz123 wrote: Hi, Was wondering if its possible to hide wicket name from the URLs (stateless and stateful). One might not want to show their end users that wicket is being used behind the scenes. Also I noticed even if page has bookmarkable links - the links show relative ../../../../mount/params!! Is there anyway to have complete(absolute urls) with the hostname? -- View this message in context: http://www.nabble.com/Is-it-possible-to-hide---wicket%3A..-from-the-URLs-tp16972147p16996443.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it possible to hide /?wicket:.. from the URLs
sorry, i should have cross posted this to the dev list. it's really a feature idea and not something i'd expect user to implement. Ritz123 wrote: I am relatively new to Wicket. So it will take me some time to digest what you just mentioned below. In the meantime, if you have time, little detailed explanation is very welcome. Jonathan Locke wrote: interesting idea: collapse the constant part (component hierarchy path and listener interface) into an interned string list in application shared by all components (application metadata probably). then just encode the wicket listener url as just the index into that list. for degenerate cases where the ui can grow arbitrarily large (not true of most wicket apps), you could limit the size of this string list. this would turn a url like: /wicket/examples/linkomatic/;jsessionid=240331A81323E282FE78E8C8C0DC894F?wicket:interface=:0:actionLink::ILinkListener:: into /wicket/examples/linkomatic/;jsessionid=240331A81323E282FE78E8C8C0DC894Fwicket:url=1 or /wicket/examples/linkomatic/1;jsessionid=240331A81323E282FE78E8C8C0DC894F or whatever... Ritz123 wrote: Hi, Was wondering if its possible to hide wicket name from the URLs (stateless and stateful). One might not want to show their end users that wicket is being used behind the scenes. Also I noticed even if page has bookmarkable links - the links show relative ../../../../mount/params!! Is there anyway to have complete(absolute urls) with the hostname? -- View this message in context: http://www.nabble.com/Is-it-possible-to-hide---wicket%3A..-from-the-URLs-tp16972147p16996466.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it possible to hide /?wicket:.. from the URLs
A poor man's solution could be: You could rewrite your URL through e.g. a front-end apache and mod_rewrite. response: convert any occurrence of '?wicket' to '?foobar' in url request: convert '?foobar' to '?wicket' Am 30.04.2008 um 03:57 schrieb Johan Compagner: Currently it is not easy to get wicket out of all the urls. This prefix is a static final that is used on many places, i want to make that configurable in a next release. By default wicket will generate relative paths. You can get a absolute one with i believe RequestUtils. But this is still without host/port i think, why do you want that? For generating emails or something like that? On 4/30/08, Ritz123 [EMAIL PROTECTED] wrote: Hi, Was wondering if its possible to hide wicket name from the URLs (stateless and stateful). One might not want to show their end users that wicket is being used behind the scenes. Also I noticed even if page has bookmarkable links - the links show relative ../../../../mount/params!! Is there anyway to have complete(absolute urls) with the hostname? -- View this message in context: http://www.nabble.com/Is-it-possible-to-hide---wicket%3A..-from-the-URLs-tp16972147p16972147.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it possible to hide /?wicket:.. from the URLs
Are you worried about what is in the html as well? IE: resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js On Wed, Apr 30, 2008 at 3:52 AM, Peter Ertl [EMAIL PROTECTED] wrote: A poor man's solution could be: You could rewrite your URL through e.g. a front-end apache and mod_rewrite. response: convert any occurrence of '?wicket' to '?foobar' in url request: convert '?foobar' to '?wicket' Am 30.04.2008 um 03:57 schrieb Johan Compagner: Currently it is not easy to get wicket out of all the urls. This prefix is a static final that is used on many places, i want to make that configurable in a next release. By default wicket will generate relative paths. You can get a absolute one with i believe RequestUtils. But this is still without host/port i think, why do you want that? For generating emails or something like that? On 4/30/08, Ritz123 [EMAIL PROTECTED] wrote: Hi, Was wondering if its possible to hide wicket name from the URLs (stateless and stateful). One might not want to show their end users that wicket is being used behind the scenes. Also I noticed even if page has bookmarkable links - the links show relative ../../../../mount/params!! Is there anyway to have complete(absolute urls) with the hostname? -- View this message in context: http://www.nabble.com/Is-it-possible-to-hide---wicket%3A..-from-the-URLs-tp16972147p16972147.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ryan Gravener http://wmwm.us/wmwm-date
Is it possible to hide /?wicket:.. from the URLs
Hi, Was wondering if its possible to hide wicket name from the URLs (stateless and stateful). One might not want to show their end users that wicket is being used behind the scenes. Also I noticed even if page has bookmarkable links - the links show relative ../../../../mount/params!! Is there anyway to have complete(absolute urls) with the hostname? -- View this message in context: http://www.nabble.com/Is-it-possible-to-hide---wicket%3A..-from-the-URLs-tp16972147p16972147.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it possible to hide /?wicket:.. from the URLs
Currently it is not easy to get wicket out of all the urls. This prefix is a static final that is used on many places, i want to make that configurable in a next release. By default wicket will generate relative paths. You can get a absolute one with i believe RequestUtils. But this is still without host/port i think, why do you want that? For generating emails or something like that? On 4/30/08, Ritz123 [EMAIL PROTECTED] wrote: Hi, Was wondering if its possible to hide wicket name from the URLs (stateless and stateful). One might not want to show their end users that wicket is being used behind the scenes. Also I noticed even if page has bookmarkable links - the links show relative ../../../../mount/params!! Is there anyway to have complete(absolute urls) with the hostname? -- View this message in context: http://www.nabble.com/Is-it-possible-to-hide---wicket%3A..-from-the-URLs-tp16972147p16972147.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]