You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Lucas Gonzalez Pearson <lu...@convergia.com.ar> on 2004/10/27 00:00:40 UTC

Problems with nested:form

Hi..

I´m not exactly what the problem is, but I´ll try to explain it to see if
anyone can help me out...

we have this on a jsp:
    <nested:form action="CustomerCrud2" onsubmit="return
validateCustomerCrud2(this)">

and this is the action mapping in struts-config:
    <action path="/CustomerCrud2"

type="com.convergia.laos.customer.struts.action.CustomerCrudAction"
            name="CustomerCrud"
            attribute="CustomerCrud"
            scope="session"
            input="customerCrud2Def">
    </action>

The problem is with the attribute parameter. If it is "CustomerCrud"
validation works properly, but I don´t seem to be able to retrieve the
form-bean in the execute method.
If I change attribute to "CustomerCrud2" then the action finds the form-bean
properly, but validation does not works .

Any ideas of what could this be?

Thanks a ton!
Lucas


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org