Wicket pages as actions

2009-08-06 Thread Andrew Easter
Would it be considered bad practice to use a Wicket page as an action? i.e. it doesn't do anything but perform some particular action (e.g. logout) and then forward onto another page. I'm coming up, again, against my biggest annoyance with Wicket - URLs. I want to create a logout function in my

Pretty Session URLs

2009-08-05 Thread Andrew Easter
Sorry everyone if this question has been posted before (I've searched the mailing list and not found a definitive answer)... With the help of this list, I now have a good grasp of URL mounting/encoding - at least for bookmarkable pages. My issue is how to ensure that session based URLs don't give

Spring Security (method-level)

2009-08-05 Thread Andrew Easter
I'm trying to get Wicket working with the method-level security support in Spring (Acegi) Security. I've got the integration working up to a point having followed these articles: - http://forum.springsource.org/showthread.php?t=67974 -

Custom URL mapping (wild cards)

2009-07-31 Thread Andrew Easter
Hi everyone, I've got a interesting requirement and, being only a complete newbie to Wicket, I'm not 100% sure I can achieve it. Basically, assume you have the following URL to display a product: app/products/1234 I know I can use bookmarkable links and URL mounting in Wicket to allow such