i have a form with an indexed property. i wasn't able to get any data out of the form. i could see the data in the request parameters, but the data wasn't in the form bean.


in an effort to diagnose, i made an action to populate data into the form. not only was i able to populate data into the form, but suddenly data started showing up in the form bean after the submit.

now i can't take the action away! when i do, all the properties of all the beans in the indexed property of the form bean are null.

help! what's going on?!

-- mike

FROM STRUTS-CONFIG.XML:

<form-bean name="shipmentFormBean"
  type="org.apache.struts.action.DynaActionForm">
<form-property name="action" type="java.lang.String" />
<form-property name="shipments"
  type="com.interactivate.cachandler.ShipmentFormBean[]" size="12" />
</form-bean>

<action path="/data-upload/Shipments"
  forward="shipments.page"
  validate="false"
  roles="data-upl" />

<!--
<action path="/data-upload/Shipments"
  type="com.interactivate.cachandler.Foo"
  name="shipmentFormBean"
  scope="session"
  validate="false"
  roles="data-upl">
<forward name="success" path="shipments.page" />
</action>
-->

<action path="/data-upload/SubmitShipments"
  type="com.interactivate.cachandler.SubmitShipmentsAction"
  name="shipmentFormBean"
  scope="session"
  validate="false"
  roles="data-upl" />




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



Reply via email to