cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 許議中 <john...@erp.tw>
Subject how to call form object in form definition
Date Mon, 26 Feb 2007 01:24:57 GMT
Hi!

<map:match pattern="*.form">
       <map:call function="handleForm">
         <map:parameter name="function" value="{1}"/>
         <map:parameter name="definitionURI" value="forms/{1}_model.xml"/>
         <map:parameter name="bindingURI" value="forms/{1}_bind_bean.xml"/>
       </map:call>
</map:match>

in flow:

function content1(form){
form.xxx
....
}

how to use the object of form in flow to form definotion fd:javascript.

the  var form = event.source.form; seem not the same to it.

Best Regards

johnson

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message