Hello this problem is now solved
i talk with Ivanger at ##wicket and he change code in
AbstractRequestTargetUrlCodingStrategy to make that params well
correct encoded
but with only this you can use '/' as part of param name or value you
need to changue the separator that nice url use. To do this actualy
you must extend AbstractRequestTargetUrlCodingStrategy and override
this two methods to work with your separrator
protected PageParameters decodePageParameters(String urlFragment);
protected void appendPageParameters(StringBuffer url, PageParameters
parameters);
later when yout mount a page you need to assing your UrlCodingStrategy
example:
mount("/home",Home.class,new MyCustomUrlCodingStrategy());
I think that add a setSeparator method in the default
UrlCodingStragtegy can be of help and relative simple
On 1/19/06, pepone pepone <[EMAIL PROTECTED]> wrote:
> Hello i observer the next problem using wicket and nice url
>
> I have a bookmarkable link like:
>
> add(linkHome=new BookmarkablePageLink("linkHome",Home.class));
> linkHome.setParameter("page","Home");
> linkHome.setParameter("action","view");
> linkHome.setParameter("node","/homeDocument.html");
>
> wicket render next url for this link when Home.class is mounted at '/home'
>
> http://localhost:8080/oz-portal/app/home/action/view/node//homeDocument.html/page/Home
>
> I see the next exception whe click in it
>
> wicket.WicketRuntimeException: Can't instantiate page using
> constructor public oz.web.html.portal.Home(wicket.PageParameters) and
> argument homeDocument.html = "page" action = "view" node = ""
>
>
> any ideas for work around this and continue using nice URL
>
> thanks in advantage
> --
> play tetris http://pepone.on-rez.com/tetris
>
--
play tetris http://pepone.on-rez.com/tetris
-------------------------------------------------------
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&kid3432&bid#0486&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user