Hi,
I am trying to submit a form. I have the following
things:
struts-config.xml:
<action
  path="/finishPickActionMulti"
 
type="com.sap.cr.mima.warehouse.struts.actions.FinishPickMultiAction"
  name="warehouseForm"
  scope="session"
  validate="true"
  input="/multi/pick_multi.jsp">
  <forward name="failure" path="/error-pick.jsp"/>
  <forward name="success" path="/multi/box_scan.jsp"/>
</action>


jsp:
<%@ taglib uri="http://java.sun.com/jstl/core";
prefix="c"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld"
prefix="html" %>
<%@ taglib uri="/WEB-INF/mima-xv.tld" prefix="xv" %>

<xv:head title="Warehouse Picker" pageTitle="Order"
onLoadFocus="submit" textPrompt="Picking Process"
onLoadVoicePrompt="" />

<script type="text/javascript" >

  function submitFunction(){
    alert("test");
    document.warehouseForm.submit();
  }
</script>
<html:errors/>
 <html:form action="/finishPickActionMulti"
focus="submit">
    <xv:message inputId="submit" submit="true"
prompt="Done with box." />
 </html:form>
</xv:head>

>From my xv:message tag the JS-function
submitFunction() is being called but the submit is not
being done. I want to submit the 'warehousForm'. This
is the name of the form that appears in the final html
page.
When I call this jsp-page I do not get any error
messages. What is the best place to start to look for
the 'error'?

Thanks,
Matthias

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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

Reply via email to