Hi Juergen,

you're right, checkAccess does exactly what I want in this case. I think the name just threw me and it didn't occur to me to use it for anything but authentication (as per the example), but really you can put whatever you want in there! And it's probably the logical spot for what I want to do anyway.

cheers

Chris,

To add to Chris' (Turner) information. Wicket makes it very easy to
implementation feature common for each Page ("..at the start of each
request.."). Features such as authentication check or common site layouts.
Please have a look at the signin example (Home.java and its base class
AuthenticateHtmlPage) and the library example (Home.java and its base class
AuthenticateHtmlPage).

Juergen

-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Chris Tuck
Gesendet: Donnerstag, 14. Oktober 2004 15:42
An: [EMAIL PROTECTED]
Betreff: [Wicket-user] input type hidden, and request initialisation


A couple of questions.

How would you implement a hidden field form component in wicket: eg. <input type=hidden/>. I couldn't find this in the examples (although I might
have missed it).


Where is the best place to insert code that needs to be run at the start of
each request? For example in struts you could extend the ActionServlet
class.

Thanks,

Chris






------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Wicket-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to