Re: How to make the link to a wicket page from an external website?

2013-04-27 Thread Martin Grigorov
Hi, Check http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages/ On Sat, Apr 27, 2013 at 5:57 AM, mike.hua hz...@sohu.com wrote: Oh,I know! The BookmarkablePageLink helped me! If I want to get the wicket page access url,I can use

How to make the link to a wicket page from an external website?

2013-04-26 Thread mike.hua
For example,there is a hyperlink in an ASP page, and I don't know how to set the href property to redirect the target wicket page. What shoud I do? Thanks a lot! -- View this message in context:

Re: How to make the link to a wicket page from an external website?

2013-04-26 Thread Martin Grigorov
Hi, What would you do if you need to redirect from this ASP page to http://www.example.com ? You would hardcode it, I guess. Mount the Wicket page at some path and use: with http://www.your-site.com/mount/path You can create a special Wicket IResource that serves as web service - pass the page

Re: How to make the link to a wicket page from an external website?

2013-04-26 Thread mike.hua
The wicket page is not home page. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-make-the-link-to-a-wicket-page-from-an-external-website-tp4658313p4658314.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How to make the link to a wicket page from an external website?

2013-04-26 Thread mike.hua
Hi Martin, I can set the href property with http://www.website.com/xxx.asp; to redirect the ASP page. But this method is not fit for wicket! The target wicket has several pages: Hello.html,Hello.java---Welcome Page RedirectPage.html,RedirectPage.java .. If I need to set the url in a browser

Re: How to make the link to a wicket page from an external website?

2013-04-26 Thread mike.hua
Oh,I know! The BookmarkablePageLink helped me! If I want to get the wicket page access url,I can use http://website/wicket/bookmarkable/packageName.TargetPageClass;! Thanks! -- View this message in context: