Hi all,

On a jsp page, I am trying to retrieve a bean from a DynaActionForm like so:

<bean:define id="policy" property="policy" name="policyForm" type="xx.xx.xx.patricia.database.om.Policy"/>

In my ActionForm, I set this bean to null, because I am testing the "requested policy not found" functionality, to be trapped by logic:empty tags:

form.set("policy", null);

When I do this however, the bean:define tag throws a ServletException with message "null".

Is it possible to add a null value to a DynaActionForm property? Are there any known bugs that would stop you doing this?

Regards,
Graham
--
-----------------------------------------
[EMAIL PROTECTED]               "There's a moon
                                        over Bourbon Street
                                                tonight..."


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to