cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Varalakshmi Kollipara <Varalakshmi.Kollip...@DigitalInsight.com>
Subject RE: Paginate Transformer
Date Tue, 13 Jan 2004 16:24:35 GMT


Hello every one... I have a problem with Paginate Transformer. I am using
the Paginate transformer in two pipelines in the following way.

<map:match pattern="page*.xml">

	......doing some generation over here....

	<map:transform type="paginate" src="page.xml">
		<map:parameter name="page" value="{1}"/>
	</map:transform>
	<map:serialize type="xml"/>
</map:match>

<map:match pattern="sort*.xml">

	......doing some generation over here....

	<map:transform type="paginate" src="page.xml">
		<map:parameter name="sort" value="{1}"/>
	</map:transform>
	<map:serialize type="xml"/>
</map:match>

What do the parameters 'page', 'sort' indicate...?

And my page.xml is:
<pagesheet xmlns="http://apache.org/cocoon/paginate/1.0">
	<rules>
		<count type="element" name="Item" num="8"/>
		<link type="unit" num="1"/>
	</rules>
</pagesheet>

When I access the second pipeline the generated xml code shows the first
pipeline page1.xml as the current URI in the XML part that corresponds to
the Paginate transformer.

Thanks in advance,
Lakshmi.
 

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


Mime
View raw message