cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fadi qutaishat <>
Subject How can a resource be called automatically in cocoon
Date Mon, 04 Apr 2005 13:43:30 GMT

Hi all,

I am a bit embraced from sending many questions today!!!, anyway here is my question:


I have the following pipeline: 



<map:match pattern="login">

<map:generate src="project/login.xml"/>

<map:transform src="project/login.xsl"> 

<map:parameter name="use-request-parameters" value="true"/> 


<map:transform type="sql">

<map:parameter name="use-connection" value="newdb"/>


     <map:serialize type="xml"/>



<map:match pattern="dosession">

<map:generate src="project/buildusersession.xml"/>

<map:transform type="session"/>

<map:serialize type="xml"/>





How can I tell cocoon to execute the second match pattern "dosession" automatically, because
I want the session to be created as soon as the user logs into the system (i.e. when the first
match patternl "login" is executed). 


Many thanks in advance for your help



Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
View raw message