[ http://issues.apache.org/jira/browse/COCOON-1781?page=all ]
Simone Gianni closed COCOON-1781:
---------------------------------
Resolution: Fixed
Committed the patch
> Processing phase listener cannot be configured from form definitio
> ------------------------------------------------------------------
>
> Key: COCOON-1781
> URL: http://issues.apache.org/jira/browse/COCOON-1781
> Project: Cocoon
> Type: Improvement
> Components: Blocks: Forms
> Reporter: Simone Gianni
> Attachments: phase_listener.diff
>
> It's not currently possible to specify a ProcessingPhaseListener from the
> form definition.
> The patch makes it possible to specify a <fd:on-processing-phase> and specify
> a listener in it. Also patched the javascript listener to support this kind
> of events, so that <fd:javascript> can be used. For example :
> <fd:form ....>
> <fd:on-processing-phase>
> <fd:javascript>
> Packages.java.lang.System.out.println('Processing phase : ' +
> event.getPhase());
> </fd:javascript>
> </fd:on-processing-phase>
> <fd:widgets ....
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira