Hello,

>   �...@springbean(name="userService")
>    transient private UserService userService;

Do not use injected beans as transient fields, because it will produce
that the field is not serialized and thus the reference will be null
after the page is hydrated.

If you mark fields with @SpringBean, Wicket will automatically inject
a serializable proxy that can be reconstructed after hydratation.

HTH.
Regards.
-- 
Mauro Ciancio

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to