On Thu, 28 Jul 2011 09:04:31 -0700
"Matt Brictson" <m...@55minutes.com> wrote:

> On Jul 28, 2011, at 3:12 AM, Carl-Eric Menzel wrote:
> 
> > IModel<User> userModel = model(fromService(userEJB.loadUser(42)));
> 
> Not sure if this is a typo in your example, but wouldn't this mean
> that (the real, non-proxied) userEJB.loadUser is invoked when the
> model is constructed? Perhaps this syntax is correct:
> 
> model(fromService(userEJB).loadUser(42));

You are correct on both counts. That was a typo in my example. I fixed
it on the github page now.

Thanks
Carl-Eric
www.wicketbuch.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to