Well, first off, I assume you mean Spring MVC, since that would be the only competitor with Wicket. And you're right, Spring MVC is nice, but it's still a model 2 framework. It was just added to the project as a kind of default web tier framework. I use Spring with Wicket for the web tier; they are a great pair that way.
1. Check out the border and panel components. They do exactly what you're looking for. The examples use them extensively. 2. This one I don't know about since I hate webpages that do that. If there is a way to do this, I would like to know about it though. 3. Just extend a common Page class that does whatever you need in the constructor. Alternatively, you could create a custom IPageFactory implementation that would execute whatever code you wanted before a page was created. Take a look at Page.checkAccess for your specific requirement. It makes security a breeze. On 6/16/05, Gustavo Hexsel <[EMAIL PROTECTED]> wrote: > Hi folks, > > I'm evaluating Wicket as a replacement for some of our web code. I've > checked out Spring and found out that besides the learning curve being very > high for anything but trivial tasks, it didn't save as much coding as I > expected... > > So I've realized that some things that frameworks don't show you in > tutorials are usually the hard ones. I've been trying to find out how to do > some things in Wicket, but couldn't find anywhere in the docs or examples (I > wonder if I looked in the right places) > > - what's the preferred way of nesting web pages? Like adding a default menu, > a header, etc. Would you <@page import> it? > - how do you provide per-field feedback? The feedback-panel component just > accumulates all fields in a single component. > - is there a way of forcing a filter before all pages (for instance, to check > if a login is present in the session) without having to edit all pages? Or > should I use a filter as in the Servlet API? > > Thanks a lot! > > []s Gus > > > __________________________________________________________________________ > UOL Fone: Fale com o Brasil e o Mundo com até 90% de economia. > http://www.uol.com.br/fone > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
