Hi fellow Wicketeers,

We are in the process of upgrading a 1.4.X application to 1.5.X

We had 2 different URL 'contexts' within the same Wicket 1.4 Application.

/protected/*
  All pages annotated with security.  [In order to use J2EE security, LTPA,
Kerberos etc]
/*
  All unprotected pages

Moving to Wicket 1.5 I would like to obtain the following URL schemes based
on either an annotation on the class OR extending an interface..
Protected Pages:
/protected/wicket/page?1
Unprotected Pages:
/wicket/page?1

1-  I have explored the mountedmapper but I don't want to specify each &
every class, nor do I want bookmarkable URLs.

2-  I am currentl exploring creating a version of pageinstancemapped
prepending /protected which actually generates nice urls.
However, I am currently getting a page expired.  (I am still trying to dig
through the cause etc)

My question:
Is there a different recommended way to generate these "custom" URLs in a
generic way much like PageInstanceMapper based on either an annotation on a
class or interface the class would implement OR am I going down the right
path with extending PageInstanceMapper?

Cheers,
Eric Gulatee

Reply via email to