and of course there is an example that shows params in action

see wicket-examples / niceurls example

-Igor


On 2/1/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
if you use mounted/bookmarkable pages you can pass in any parameter you want on the url.

when you build a url for a page using page.urlFor(Page page, PageParameters params) you can add the params and they will be encoded into the url.

then all you have to do is implement a constructor in our page that takes PageParameters as an argument and you will have access to them.

teh default encoded scheme for mounted pages is

/mount-path/param-name1/param-value1/param-name2/param-value2 etc

dont know if we have any docs about this since mounting is new to 1.2

if you are using bookmarkable unmounted pages instead then url params are encoded in a standard way.

-Igor





On 2/1/06, Scooter Willis <[EMAIL PROTECTED]> wrote:

Can anyone point me to the discussion or docs on the best way to enable
external linking to a page generated by wicket. Not an issue with the
URL to the beginning state of an page but more interested in being able
to pass parameters via the URL so that the link to the page will pull up
the correct view based on the parameters.

For example, the stock page example
http://www.wicket-library.com/wicket-examples/stock takes the user to
the application. For an advanced application that shows stock data over
the last year having the ability to pass IBM as a parameter so that the
IBM stock page is shown when an external user clicks on a link is important.

If you take the time to build a web site that creates value for external
users then you want the ability for the external user by copying the URL
in the current browser and letting others know about it.

Am I missing something or is this feature or ability lost with the way
Wicket tracks sessions and builds web pages.

Thanks

Scooter


-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop


Reply via email to