Thanks, that was exactly what I was looking for.
--
View this message in context:
http://www.nabble.com/%40SpringBean-with-page-creation-patterns-tp20845794p20854804.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---
I assume the getCheese method in your code below is declared public static to
keep the example simple and to the point; you wouldn't normally expect to
get your cheeses from a Page class.
If you're comfortable with your page being coupled to the DAO interface
(without, for instance, a service laye
I would recommend using a custom model for this. The advantage is that it
can be used anywhere. Something like:
// bookmarkable constructor
public CheeseDetailsPage(PageParameters parameters) { #1
this(new CheeseByIDModel(getIDFromParams(parameters)));
}
// non-bookmarkable c
Hi Everyone,
I'm just getting started with wicket and am learning by playing around with
building an ecommerce application on top of wicket, spring and hibernate.
I've been (Ha!) using @SpringBean to inject my spring dependencies and am
very impressed with it.
One thing I'm wondering about is ho