Re: URL Encoding strategy

2010-04-09 Thread Erik van Oosten

Hi Alex,

I am not sure it is a good idea to include this code in Wicket core (or 
extension). It will make Wicket's URL handling even more nontransparent 
then it already is. For well tested applications you can use the 
workaround, but I'd hate to maintain this code for each and every corner 
case, especially knowing that Wicket 1.5 will thoroughly improve URL 
handling.


Regards,
   Erik.


Alex Objelean wrote:

Hi Eric!
I've noticed that you have already posted the solution on your blog
(http://blog.jteam.nl/2010/02/24/wicket-root-mounts/). Thank you for sharing
it with us. 


One question, why BookmarkablePageRequestTargetUrlCodingStrategy#encode
method is still final even in wicket-1.4.7 if there is a good use-case for
extending it?

Also, maybe you could add this contribution to wicket core or at least
wicket-extension?

Thank you!
Alex Objelean
 


Erik van Oosten wrote:
  

Hi Nishant,

This is tricky stuff.

Here is some information: 
http://old.nabble.com/How-to-catch-unknown-%28not-mounted%29-URLs--td14949092.html

Another approach is to do redirects from a servlet filter.

If you have a couple of days of patience I'll have finished a blog 
article on it, with example code to make it a lot easier from within

Wicket.

Regards,
 Erik.

Op 20-02-10 11:07, Nishant Neeraj wrote:


Hi,

I wanted to apply URL encoding strategy to application context root but I
cant mount empty string because it throws exception at start-up.
Is there a work around to this?

Regards
Nishant
   
  


--
Sent from my SMTP compliant software
Erik van Oosten
http://day-to-day-stuff.blogspot.com/



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: URL Encoding strategy

2010-04-09 Thread Alex Objelean

I see. But at least could you make the encode method non-final? This would
ensure that there is no need for a patch. I just would reuse your code for
root mounting. 

Until wicket-1.5 will be released and adopted, we still have to have a
solution for root mounting in wicket-1.4.

Thanks!
Alex


Erik van Oosten wrote:
 
 Hi Alex,
 
 I am not sure it is a good idea to include this code in Wicket core (or 
 extension). It will make Wicket's URL handling even more nontransparent 
 then it already is. For well tested applications you can use the 
 workaround, but I'd hate to maintain this code for each and every corner 
 case, especially knowing that Wicket 1.5 will thoroughly improve URL 
 handling.
 
 Regards,
 Erik.
 
 
 Alex Objelean wrote:
 Hi Eric!
 I've noticed that you have already posted the solution on your blog
 (http://blog.jteam.nl/2010/02/24/wicket-root-mounts/). Thank you for
 sharing
 it with us. 

 One question, why BookmarkablePageRequestTargetUrlCodingStrategy#encode
 method is still final even in wicket-1.4.7 if there is a good use-case
 for
 extending it?

 Also, maybe you could add this contribution to wicket core or at least
 wicket-extension?

 Thank you!
 Alex Objelean
  

 Erik van Oosten wrote:
   
 Hi Nishant,

 This is tricky stuff.

 Here is some information: 
 http://old.nabble.com/How-to-catch-unknown-%28not-mounted%29-URLs--td14949092.html
 Another approach is to do redirects from a servlet filter.

 If you have a couple of days of patience I'll have finished a blog 
 article on it, with example code to make it a lot easier from within
 Wicket.

 Regards,
  Erik.

 Op 20-02-10 11:07, Nishant Neeraj wrote:
 
 Hi,

 I wanted to apply URL encoding strategy to application context root but
 I
 cant mount empty string because it throws exception at start-up.
 Is there a work around to this?

 Regards
 Nishant

   
 
 -- 
 Sent from my SMTP compliant software
 Erik van Oosten
 http://day-to-day-stuff.blogspot.com/
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/URL-Encoding-strategy-tp27664942p28189285.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: URL Encoding strategy

2010-04-09 Thread Erik van Oosten
Only Wicket comitters can do that. Please make a jira issue that refers 
to this discussion, for example with a nabble URL.


Regards,
   Erik.


Alex Objelean wrote:

I see. But at least could you make the encode method non-final? This would
ensure that there is no need for a patch. I just would reuse your code for
root mounting. 


Until wicket-1.5 will be released and adopted, we still have to have a
solution for root mounting in wicket-1.4.

Thanks!
Alex


Erik van Oosten wrote:
  

Hi Alex,

I am not sure it is a good idea to include this code in Wicket core (or 
extension). It will make Wicket's URL handling even more nontransparent 
then it already is. For well tested applications you can use the 
workaround, but I'd hate to maintain this code for each and every corner 
case, especially knowing that Wicket 1.5 will thoroughly improve URL 
handling.


Regards,
Erik.


Alex Objelean wrote:


Hi Eric!
I've noticed that you have already posted the solution on your blog
(http://blog.jteam.nl/2010/02/24/wicket-root-mounts/). Thank you for
sharing
it with us. 


One question, why BookmarkablePageRequestTargetUrlCodingStrategy#encode
method is still final even in wicket-1.4.7 if there is a good use-case
for
extending it?

Also, maybe you could add this contribution to wicket core or at least
wicket-extension?

Thank you!
Alex Objelean
 


Erik van Oosten wrote:
  
  

Hi Nishant,

This is tricky stuff.

Here is some information: 
http://old.nabble.com/How-to-catch-unknown-%28not-mounted%29-URLs--td14949092.html

Another approach is to do redirects from a servlet filter.

If you have a couple of days of patience I'll have finished a blog 
article on it, with example code to make it a lot easier from within

Wicket.

Regards,
 Erik.

Op 20-02-10 11:07, Nishant Neeraj wrote:



Hi,

I wanted to apply URL encoding strategy to application context root but
I
cant mount empty string because it throws exception at start-up.
Is there a work around to this?

Regards
Nishant
  


--
Sent from my SMTP compliant software
Erik van Oosten
http://day-to-day-stuff.blogspot.com/



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: URL Encoding strategy

2010-04-09 Thread Alex Objelean

Issue created: https://issues.apache.org/jira/browse/WICKET-2830

Alex 


Erik van Oosten wrote:
 
 Only Wicket comitters can do that. Please make a jira issue that refers 
 to this discussion, for example with a nabble URL.
 
 Regards,
 Erik.
 
 
 Alex Objelean wrote:
 I see. But at least could you make the encode method non-final? This
 would
 ensure that there is no need for a patch. I just would reuse your code
 for
 root mounting. 

 Until wicket-1.5 will be released and adopted, we still have to have a
 solution for root mounting in wicket-1.4.

 Thanks!
 Alex


 Erik van Oosten wrote:
   
 Hi Alex,

 I am not sure it is a good idea to include this code in Wicket core (or 
 extension). It will make Wicket's URL handling even more nontransparent 
 then it already is. For well tested applications you can use the 
 workaround, but I'd hate to maintain this code for each and every corner 
 case, especially knowing that Wicket 1.5 will thoroughly improve URL 
 handling.

 Regards,
 Erik.


 Alex Objelean wrote:
 
 Hi Eric!
 I've noticed that you have already posted the solution on your blog
 (http://blog.jteam.nl/2010/02/24/wicket-root-mounts/). Thank you for
 sharing
 it with us. 

 One question, why BookmarkablePageRequestTargetUrlCodingStrategy#encode
 method is still final even in wicket-1.4.7 if there is a good use-case
 for
 extending it?

 Also, maybe you could add this contribution to wicket core or at least
 wicket-extension?

 Thank you!
 Alex Objelean
  

 Erik van Oosten wrote:
   
   
 Hi Nishant,

 This is tricky stuff.

 Here is some information: 
 http://old.nabble.com/How-to-catch-unknown-%28not-mounted%29-URLs--td14949092.html
 Another approach is to do redirects from a servlet filter.

 If you have a couple of days of patience I'll have finished a blog 
 article on it, with example code to make it a lot easier from within
 Wicket.

 Regards,
  Erik.

 Op 20-02-10 11:07, Nishant Neeraj wrote:
 
 
 Hi,

 I wanted to apply URL encoding strategy to application context root
 but
 I
 cant mount empty string because it throws exception at start-up.
 Is there a work around to this?

 Regards
 Nishant
   
 
 -- 
 Sent from my SMTP compliant software
 Erik van Oosten
 http://day-to-day-stuff.blogspot.com/
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/URL-Encoding-strategy-tp27664942p28190842.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: URL Encoding strategy

2010-04-07 Thread Alex Objelean

Hi Eric!
I've noticed that you have already posted the solution on your blog
(http://blog.jteam.nl/2010/02/24/wicket-root-mounts/). Thank you for sharing
it with us. 

One question, why BookmarkablePageRequestTargetUrlCodingStrategy#encode
method is still final even in wicket-1.4.7 if there is a good use-case for
extending it?

Also, maybe you could add this contribution to wicket core or at least
wicket-extension?

Thank you!
Alex Objelean
 

Erik van Oosten wrote:
 
 Hi Nishant,
 
 This is tricky stuff.
 
 Here is some information: 
 http://old.nabble.com/How-to-catch-unknown-%28not-mounted%29-URLs--td14949092.html
 Another approach is to do redirects from a servlet filter.
 
 If you have a couple of days of patience I'll have finished a blog 
 article on it, with example code to make it a lot easier from within
 Wicket.
 
 Regards,
  Erik.
 
 Op 20-02-10 11:07, Nishant Neeraj wrote:
 Hi,

 I wanted to apply URL encoding strategy to application context root but I
 cant mount empty string because it throws exception at start-up.
 Is there a work around to this?

 Regards
 Nishant

 
 -- 
 Posted from my SMTP compliant software.
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/URL-Encoding-strategy-tp27664942p28169418.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



WIcket mounting on root (Was: URL Encoding strategy)

2010-02-25 Thread Erik van Oosten

Hi Nishant,

Its live: http://blog.jteam.nl/2010/02/24/wicket-root-mounts/

Regards,
   Erik.


Nishant Neeraj schreef:

Thanks Erik. I guess, I'll go with sevlet filter approach for now.

However, I'll be looking for your blog post. If possible, post the link to
the article in this thread when you're done.

Thanks again.
Nishant

On Sat, Feb 20, 2010 at 6:40 PM, Erik van Oosten e.vanoos...@grons.nlwrote:

  

Hi Nishant,

This is tricky stuff.

Here is some information:
http://old.nabble.com/How-to-catch-unknown-%28not-mounted%29-URLs--td14949092.html
Another approach is to do redirects from a servlet filter.

If you have a couple of days of patience I'll have finished a blog article
on it, with example code to make it a lot easier from within Wicket.

Regards,
   Erik.


Op 20-02-10 11:07, Nishant Neeraj wrote:



Hi,

I wanted to apply URL encoding strategy to application context root but I
cant mount empty string because it throws exception at start-up.
Is there a work around to this?

Regards
Nishant
  


--
Send from my SMTP compliant software
Erik van Oosten
http://day-to-day-stuff.blogspot.com/



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



URL Encoding strategy

2010-02-20 Thread Nishant Neeraj
Hi,

I wanted to apply URL encoding strategy to application context root but I
cant mount empty string because it throws exception at start-up.
Is there a work around to this?

Regards
Nishant


Re: URL Encoding strategy

2010-02-20 Thread Erik van Oosten

Hi Nishant,

This is tricky stuff.

Here is some information: 
http://old.nabble.com/How-to-catch-unknown-%28not-mounted%29-URLs--td14949092.html

Another approach is to do redirects from a servlet filter.

If you have a couple of days of patience I'll have finished a blog 
article on it, with example code to make it a lot easier from within Wicket.


Regards,
Erik.

Op 20-02-10 11:07, Nishant Neeraj wrote:

Hi,

I wanted to apply URL encoding strategy to application context root but I
cant mount empty string because it throws exception at start-up.
Is there a work around to this?

Regards
Nishant
   


--
Posted from my SMTP compliant software.
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: URL Encoding strategy

2010-02-20 Thread Nishant Neeraj
Thanks Erik. I guess, I'll go with sevlet filter approach for now.

However, I'll be looking for your blog post. If possible, post the link to
the article in this thread when you're done.

Thanks again.
Nishant

On Sat, Feb 20, 2010 at 6:40 PM, Erik van Oosten e.vanoos...@grons.nlwrote:

 Hi Nishant,

 This is tricky stuff.

 Here is some information:
 http://old.nabble.com/How-to-catch-unknown-%28not-mounted%29-URLs--td14949092.html
 Another approach is to do redirects from a servlet filter.

 If you have a couple of days of patience I'll have finished a blog article
 on it, with example code to make it a lot easier from within Wicket.

 Regards,
Erik.


 Op 20-02-10 11:07, Nishant Neeraj wrote:

 Hi,

 I wanted to apply URL encoding strategy to application context root but I
 cant mount empty string because it throws exception at start-up.
 Is there a work around to this?

 Regards
 Nishant



 --
 Posted from my SMTP compliant software.
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org