You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by shrimpywu <im...@gmail.com> on 2008/08/12 12:17:59 UTC
hi, how to find the path for the page in wicket
i have tried to use wicket for some days,
and got a question.
if i am doing a website, has three page,
index.htm, blog.html and guestbook.html
so we will have three class
index.class, blog.class and guestbook.class
in the java code, when we want to direct from index page to blog page, we
can do setRespone(blog.class) something like that
but when the user try to provide the link of his blog to his friend,
how to know the link direct to the page blog.html????
--
View this message in context: http://www.nabble.com/hi%2C-how-to-find-the-path-for-the-page-in-wicket-tp18941425p18941425.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: hi, how to find the path for the page in wicket
Posted by Uwe Schäfer <sc...@thomas-daily.de>.
shrimpywu schrieb:
> but when the user try to provide the link of his blog to his friend,
> how to know the link direct to the page blog.html????
search for BookmarkablePageLink and mounting of pages.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: hi, how to find the path for the page in wicket
Posted by James Carman <ja...@carmanconsulting.com>.
You need to "mount" the page. This should give you some good examples:
http://cwiki.apache.org/WICKET/url-coding-strategies.html
On Tue, Aug 12, 2008 at 6:17 AM, shrimpywu <im...@gmail.com> wrote:
>
> i have tried to use wicket for some days,
> and got a question.
>
> if i am doing a website, has three page,
> index.htm, blog.html and guestbook.html
> so we will have three class
> index.class, blog.class and guestbook.class
>
> in the java code, when we want to direct from index page to blog page, we
> can do setRespone(blog.class) something like that
>
> but when the user try to provide the link of his blog to his friend,
> how to know the link direct to the page blog.html????
> --
> View this message in context: http://www.nabble.com/hi%2C-how-to-find-the-path-for-the-page-in-wicket-tp18941425p18941425.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org