Re: [Wicket-user] Accessing Path Info

2005-11-23 Thread Dorel Vaida

Igor Vaynberg wrote:


or use a url rewriting filter to change the url to a bookmarkable page ie
rewrite all www.example.com/shortcut/(expr) 
http://www.example.com/shortcut/%28expr%29
to www.example.com/app?bookmarkablePage=Shortcutparam=expr 
http://www.example.com/app?bookmarkablePage=Shortcutparam=expr

-Igor

I wonder if we could make wicket urls to look completely REST-full :-D 
except that we'd still use the session cookie in the headers (which is 
not REST)




On 11/22/05, *Eelco Hillenius*  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


I think you can do stuff like that now, at least partially. I'm just
now starting to work on further improving this (or at least exploring
some ideas).

Eelco

On 11/22/05, Nick Heudecker [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
 Hi,

 I would like to create a URL that looks like:
 http://www.example.com/app/1F83C6D3A

 or even:
 http://www.example.com/app/annual_shareholder_meeting

 Is there a way to easily access the /1F83C6D3A portion of that URL
 within Wicket and use it as a page parameter?  I suppose the other
 option could be to do:
 http://www.example.com/app/?1F83C6D3A

 Wait.  None of these will work because I still need the page
that I'm
 submitting to.  I think I've asked this question before, but I
need to
 revisit it because I need a short, yet non-scary URL for public
 consumption.  What I'd like is:

 http://www.example.com/register/[some
http://www.example.com/register/%5Bsome event-specific token]/[some
 user-specific token]

 If Wicket can't support this directly, I can map a servlet to
 /register and have it forward to the Wicket page.  Any thoughts
on how
 to do this more elegantly?


 ---
 This SF.Net email is sponsored by the JBoss Inc.  Get Certified
Today
 Register for a JBoss Training Course.  Free Certification Exam
 for All Training Attendees Through End of 2005. For more info visit:
 http://ads.osdn.com/?ad_idv28alloc_id845opclick
http://ads.osdn.com/?ad_idv28alloc_id%16845opclick
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28alloc_id845opclick
http://ads.osdn.com/?ad_idv28alloc_id%16845opclick
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user






---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Accessing Path Info

2005-11-23 Thread Nick Heudecker
Thanks for the suggestions.  I think I'm going to use a servlet or a
filter to forward to the Wicket BookmarkablePage.


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28alloc_id845op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Accessing Path Info

2005-11-23 Thread Eelco Hillenius
What I'm - kind of offline - am working on right now is something that
at least partially acomplishes that. It's a big refactor (luckily as
we always made sure not to expose too much without breaking public
API's so far) and I'm combining it with other things like improved
state management and stuff like browser detection. I hope to report
back on this early next week.

Eelco

 I wonder if we could make wicket urls to look completely REST-full :-D
 except that we'd still use the session cookie in the headers (which is
 not REST)



---
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_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Accessing Path Info

2005-11-23 Thread Nick Heudecker
Let me know if you need/want a hand with it.

On 11/23/05, Eelco Hillenius [EMAIL PROTECTED] wrote:
 What I'm - kind of offline - am working on right now is something that
 at least partially acomplishes that. It's a big refactor (luckily as
 we always made sure not to expose too much without breaking public
 API's so far) and I'm combining it with other things like improved
 state management and stuff like browser detection. I hope to report
 back on this early next week.

 Eelco

  I wonder if we could make wicket urls to look completely REST-full :-D
  except that we'd still use the session cookie in the headers (which is
  not REST)
 


 ---
 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_idv37alloc_id865opclick
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
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_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Accessing Path Info

2005-11-22 Thread Nick Heudecker
Hi,

I would like to create a URL that looks like:
http://www.example.com/app/1F83C6D3A

or even:
http://www.example.com/app/annual_shareholder_meeting

Is there a way to easily access the /1F83C6D3A portion of that URL
within Wicket and use it as a page parameter?  I suppose the other
option could be to do:
http://www.example.com/app/?1F83C6D3A

Wait.  None of these will work because I still need the page that I'm
submitting to.  I think I've asked this question before, but I need to
revisit it because I need a short, yet non-scary URL for public
consumption.  What I'd like is:

http://www.example.com/register/[some event-specific token]/[some
user-specific token]

If Wicket can't support this directly, I can map a servlet to
/register and have it forward to the Wicket page.  Any thoughts on how
to do this more elegantly?


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28alloc_id845op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Accessing Path Info

2005-11-22 Thread Juergen Donnerstag
Two options (may be 3):
- see WebRequest/ResponseWithCryptedUrl for an example
- subclass WebRequestCycle.doParseRequest (a user hook)
- wait until we defined and implemented a revised URL strategy

Juergen

On 11/22/05, Nick Heudecker [EMAIL PROTECTED] wrote:
 Hi,

 I would like to create a URL that looks like:
 http://www.example.com/app/1F83C6D3A

 or even:
 http://www.example.com/app/annual_shareholder_meeting

 Is there a way to easily access the /1F83C6D3A portion of that URL
 within Wicket and use it as a page parameter?  I suppose the other
 option could be to do:
 http://www.example.com/app/?1F83C6D3A

 Wait.  None of these will work because I still need the page that I'm
 submitting to.  I think I've asked this question before, but I need to
 revisit it because I need a short, yet non-scary URL for public
 consumption.  What I'd like is:

 http://www.example.com/register/[some event-specific token]/[some
 user-specific token]

 If Wicket can't support this directly, I can map a servlet to
 /register and have it forward to the Wicket page.  Any thoughts on how
 to do this more elegantly?


 ---
 This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
 Register for a JBoss Training Course.  Free Certification Exam
 for All Training Attendees Through End of 2005. For more info visit:
 http://ads.osdn.com/?ad_idv28alloc_id845opclick
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28alloc_id845op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Accessing Path Info

2005-11-22 Thread Eelco Hillenius
I think you can do stuff like that now, at least partially. I'm just
now starting to work on further improving this (or at least exploring
some ideas).

Eelco

On 11/22/05, Nick Heudecker [EMAIL PROTECTED] wrote:
 Hi,

 I would like to create a URL that looks like:
 http://www.example.com/app/1F83C6D3A

 or even:
 http://www.example.com/app/annual_shareholder_meeting

 Is there a way to easily access the /1F83C6D3A portion of that URL
 within Wicket and use it as a page parameter?  I suppose the other
 option could be to do:
 http://www.example.com/app/?1F83C6D3A

 Wait.  None of these will work because I still need the page that I'm
 submitting to.  I think I've asked this question before, but I need to
 revisit it because I need a short, yet non-scary URL for public
 consumption.  What I'd like is:

 http://www.example.com/register/[some event-specific token]/[some
 user-specific token]

 If Wicket can't support this directly, I can map a servlet to
 /register and have it forward to the Wicket page.  Any thoughts on how
 to do this more elegantly?


 ---
 This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
 Register for a JBoss Training Course.  Free Certification Exam
 for All Training Attendees Through End of 2005. For more info visit:
 http://ads.osdn.com/?ad_idv28alloc_id845opclick
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28alloc_id845op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Accessing Path Info

2005-11-22 Thread Igor Vaynberg
or use a url rewriting filter to change the url to a bookmarkable page ierewrite all www.example.com/shortcut/(expr)to 
www.example.com/app?bookmarkablePage=Shortcutparam=expr-IgorOn 11/22/05, Eelco Hillenius 
[EMAIL PROTECTED] wrote:I think you can do stuff like that now, at least partially. I'm just
now starting to work on further improving this (or at least exploringsome ideas).EelcoOn 11/22/05, Nick Heudecker [EMAIL PROTECTED] wrote: Hi,
 I would like to create a URL that looks like: http://www.example.com/app/1F83C6D3A or even: 
http://www.example.com/app/annual_shareholder_meeting Is there a way to easily access the /1F83C6D3A portion of that URL within Wicket and use it as a page parameter?I suppose the other
 option could be to do: http://www.example.com/app/?1F83C6D3A Wait.None of these will work because I still need the page that I'm submitting to.I think I've asked this question before, but I need to
 revisit it because I need a short, yet non-scary URL for public consumption.What I'd like is: http://www.example.com/register/[some event-specific token]/[some
 user-specific token] If Wicket can't support this directly, I can map a servlet to /register and have it forward to the Wicket page.Any thoughts on how to do this more elegantly?
 --- This SF.Net email is sponsored by the JBoss Inc.Get Certified Today Register for a JBoss Training Course.Free Certification Exam
 for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28alloc_id845opclick
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user---This SF.Net email is sponsored by the JBoss Inc.Get Certified TodayRegister for a JBoss Training Course.Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:http://ads.osdn.com/?ad_idv28alloc_id845opclick___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user