hello Sylvain
I have a question about the function process(FormContext) in Form.
at first, I don�t use the standard woody2.js, also I mean I use my way to
build a form(maybe here is the problem?), it runs correctly by older woody
which using formhandler pattern.
now I use actionlistener pattern and in my party.xml(for example) like this:
<wd:submit id="submit" action-command="submit" validate="true">
<wd:label><i18n:text>submit</i18n:text></wd:label>
<wd:on-action>
<java
class="com.imkenberg.cocoon.forms.woodyimpl.DefaultActionListener"/>
</wd:on-action>
</wd:submit>
and the DefaultActionListener will do something with database.
and in js(flow script) file I done like this:
cocoon.sendPageAndWait("party-display-pipeline",{},0);
iform.process( converter.FomToEnviroment(cocoon) );
iform.process means form.process which by woody form class.
So now I have the problem, before validate the DefaultActionListener has
reflected with the submit action and communicates with database.
Do you know how about the problem, is it a bug, or I must use the standard
and then resolve the problem, or I have other way to deal with it?
Regards
Jianyu
please send me to [EMAIL PROTECTED] when allright.