Hi,

maybe an intercept page is what you're looking for:
https://cwiki.apache.org/WICKET/using-intercept-pages.html

Another good way to do this is using a custom implementation of 
IAuthorizationStrategy:
http://spatula.net/blog/2006/11/adding-generic-authorization-to-wicket.html

Regards
Matthias


-----Ursprüngliche Nachricht-----
Von: ridaa [mailto:[email protected]] 
Gesendet: Mittwoch, 23. November 2011 16:51
An: [email protected]
Betreff: Bookmark link

Hiiiiiii all,
Please help me out.

I have got struck with a scenario where i need to open a link(on 1st page)
in a new window(2nd page) where say a label is displayed.I will add this
link to my browser favorites and close that window.
Now if i open browser and click the link in favorites my 2nd page should
appear.
For this i have used the below code:

html:
<form wicket:id="form">
     # 
</form>

java:
Form form=new Form("form");
add(form);
form.add(new BookmarkablePageLink("link",NewPage.class));
here NewPage.class would contain a label.

Here comes the twist..I wana use a login page ,which after entry would show
2 links say linkA & lnkB.I click on linkA and add this to favourites.
Now as usual the LinkA page would open if i go from favorites....but i wana
route this page through the login page..To be more clear when i go to
favorites and clik on the LinkA it should show login page fst and then the
LinkA page.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Bookmark-link-tp4100123p4100123.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to