>>>>> "Ali" == Ali Manji <[EMAIL PROTECTED]> writes:
Ali> Hi, Ali> I am using the html:hidden tag inside my html:form tag yet upon submitting my Ali> form this hidden tag doesn't populate the appropriate form bean field as the Ali> other tags do. That is, the appropriate setter method on my form bean class is Ali> not being invoked? Ali> In my jsp I have the following: Ali> ... Ali> <html:form action="dependentAction.action"> Ali> <html:hidden name="dependentType" value="child" property="child"/> Ali> ... Ali> In my form bean I have the following: Ali> public void setDependentType(String dependentType) { Ali> System.out.println("Setting dependentType to: " + dependentType); Ali> this.dependentType = dependentType; Ali> } // end setDependentType Ali> The other setters are being called but not this one? Any ideas? I would guess because your "html:hidden" value is coming from the "dependentType" bean, property "child". It's not setting your "<formbean>.dependentType" property because it's on a different bean. -- =================================================================== David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>