cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Gianni (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COCOON-1781) Processing phase listener cannot be configured from form definitio
Date Wed, 03 May 2006 14:08:46 GMT
     [ 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


Mime
View raw message