On 15 Jan 2005, at 12:16, Alexander Zirl wrote:

<x-tad-bigger>So how did you accomplish the task in the end. Via the zip method?
</x-tad-bigger>

Hi Alexander,
yes I used the Zip method which was very easy to implement.

I call a jx file from my flowscript which wraps up all the tracks associated with an Order.

<zip:archive
xmlns:zip="http://apache.org/cocoon/zip-archive/1.0"
xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"
>
<zip:entry name="legalnote.txt" src="legalnote.txt"/>
<jx:forEach var="orderitem" items="${order.getOrderItems()}">
<zip:entry name="${orderitem.getStock().getItemFinal()}.mp3" src="${orderitem.getStock().getItemFinal()}.mp3"/>
</jx:forEach>


</zip:archive>


Very nice ;-)

Reply via email to