Why not just pass in the dob value as client.dateOfBirth instead? And just
let stripes instantiate the LpClient object and set the date of birth on it
for you.
On Fri, Sep 19, 2008 at 3:07 AM, farouk alhassan <[EMAIL PROTECTED]>wrote:
> Is there a way of forcing stripes to instantiate my actionbean instance
> variables even if no property of it populated in the current request.
>
> i have this actionBean
>
> private LpVehicle vehicle;
>
> private String dob;
>
> private LpClient client;
>
> i realised that if only dob is populated by the user,
>
> client.setDateOfBirth( day );
>
> throws a NPE
>
> thanx
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users