Hi!

I try to send bean from one form to another form.
the form1 js is
sendpage("form2.xml",{"bean":bean});

the sitemap for form2 is
     <map:match pattern="Form2.xml">
       <map:call function="handleForm">
         <map:parameter name="function" value="form2"/>
         <map:parameter name="form-definition" value="forms/form2.xml"/>
         <map:parameter name="bindingURI" value="forms/form2_bind.xml"/>
         <map:parameter name="bean" value="{request-param:bean}"/>
       </map:call>
 <map:transform type="i18n">
               <map:parameter name="locale" value="{request:locale}"/>
          </map:transform>
         <map:serialize/>
     </map:match>

the form2 js is
bean=cocoon.request.getParameter("bean");

it don't work,what's wrong!

Beat regards

Johnson Hsu

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

Reply via email to