EVENT LISTENER : CONTAINERADDED + FORMHANDLERTAG

"Merouane AMRAOUI" <[email protected]> Wed, 30 Jan 2008 11:18:21 -0000
Newsgroups gmane.comp.cms.jahia.french,gmane.comp.cms.jahia.template
Message-ID <[email protected]>
Hello,

 

I want to catch containerAdded event. So I use the eventlistener.jsp for
that.

 

<%

if ("containerAdded".equals(eventName)) {

 

      if ("rencontreContainerList".equals(
((JahiaContainer)jahiaEvent.getObject()).getDefinition().getName() )) {

      

 
ServicesRegistry.getInstance().getWorkflowService().setWorkflowMode(

 
((JahiaContainer)jahiaEvent.getObject()).getContentContainer(),

                                         WorkflowService.INHERITED, null,
null,

                                         jParams);

      }

}

%>

 

It work only whene i add content from jahia Engine Add. But whene I use the
FormHandlerTag it does'nt work !!!!

 

thx

_______________________________________________
french_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/french_list