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] Created: (COCOON-1781) Processing phase listener cannot be configured from form definitio
Date Mon, 20 Feb 2006 15:16:28 GMT
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