Hi Kent, Accd to http://struts.apache.org/userGuide/building_controller.html#dyna_action_form_classes
"The JSTL EL syntax for referencing a property of an ActionForm goes like this: ${formbean.prop} "The syntax for referencing a property of a DynaActionForm would be: ${dynabean.map.prop} "The map property is a property of DynaActionForm which represents the HashMap containing the DynaActionForm properties." Hubert On 7/21/05, Kent Boogaart <[EMAIL PROTECTED]> wrote: > Hi people, > > I have a simple question for you. I'm trying to use a dynaform bean from > within a <c:if like this: > > <bean:define id="form" name="userform"/> > > <c:if test="${form.displayName == true}"> > ... > </c:if> > > I'm getting an exception telling me "Unable to find a value for > 'displayName' in object of class ...". I understand this is to do with how > dynaforms work. There is indeed no method called getDisplayName() on my form > bean but there definitely is a form-property called "displayName". So how > would I go about using this form-property of the dynaform from a c:if? > > Thanks, > Kent > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]