But where is the Wicket page? I need a WicketPage somewhere and I can`t cast my PeterPage to a WicketPage. At the moment I have some doubt about the Proxy. Calls from within the proxied object are never run through the proxy. I would rather that the bytecode of the class was enhanced (on the fly) so no proxy was needed.
________________________________ From: [EMAIL PROTECTED] on behalf of Eelco Hillenius Sent: Sun 17-7-2005 10:11 To: [email protected] Subject: Re: [Wicket-user] Why no page interface? Did you try what I suggested? Creating your own base page class (which is a good idea anyway), extract the interface you want to proxy and let your base page implement that. I've tried that (just to be sure), and it worked without problems. Eelco > What I want: > With my current Spring configuration, Spring checks if a new bean > (could be a page) has any annotations, and if it does, it tries to > create a proxy which delegates all calls to true implementation but > enhances some with extra functionality. Like transactions, security > etc. With my objects it is no problem (I have an interface with > annotations and an implementation.. although I only use an interface > (most time) just for the sake of proxying. ------------------------------------------------------- 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_id=7477&alloc_id=16492&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
<<winmail.dat>>
