cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From padhu <padmanabanvenkate...@yahoo.com>
Subject Re: releashing resources in cocoon
Date Fri, 02 Jul 2004 15:37:15 GMT
Hi

I am trying to read a xml file (amp.xml in the
following code), display it to the users and finally
replace (using java action class) the xml file with
the options that user has selected. I have problem in
accessing the file using the action java class, since
cocoon transformer holds that resources. Is there any
way to make the cocoon to forcefully release a
resource.

<map:match pattern="alternate-priority-selection">
<map:generate type="file" src="content/amp.xml"/>
<map:transform type="xslt" src="style/amp.xsl"/>
<map:serialize type="html"/>
</map:match>

<map:match pattern="submit_selection">
<map:act type="val-region">
<map:parameter name="app_title" value="{app_title}"/>
<map:act type="CreateXML">
</map:act>
<map:redirect-to
uri="cocoon:/alternate-priority-selection?app_title={request-param:app_title}&amp;region=houston&amp;run=yes"/>
</map:act>
</map:match>

Thanks!~
pad.


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message