You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by fadi qutaishat <fa...@yahoo.com> on 2005/05/31 17:16:35 UTC
Dynamic use of filter transformer
HI All,
I posted this quesion a week ago but I did not get any
response, here it is again, it would be appreciated if
anyone has an idea:
I have got a long HTML page generated from a pipeline.
My problem is that I do not want to view all content
at once (because it is too long).
I have used the filter transformer which was great
since it helped in dividing the content into blocks
and then I could choose the appropriate number of
blocks to be displayed.
The page after using the filter transformer looks
similar to something like:
<page>
<block id= �1�>
<block id= �2�>
<block id= �3�>
<block id= �4�>
�
�
</page>
The problem now if I want to display to each block on
a separate page I would need four pipelines. What if
there are 20 blocks, do I need to have 20 pipeline?
I read on the Cocoon documentation that it is possible
to make the values of the count and blocknr properties
as parameters and then pass their values through an
action, but to be honest I do not know how to do it!
Hints, ideas or maybe using different techniques would
be appreciated.
Regards,
Fadi
__________________________________
Discover Yahoo!
Have fun online with music videos, cool games, IM and more. Check it out!
http://discover.yahoo.com/online.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Dynamic use of filter transformer
Posted by Marc Salvetti <ma...@notremanou.net>.
Did you look the paginator transformer, maybe it suits better your need ?
Marc
fadi qutaishat a écrit :
>HI All,
>
>I posted this quesion a week ago but I did not get any
>response, here it is again, it would be appreciated if
>anyone has an idea:
>
>I have got a long HTML page generated from a pipeline.
>My problem is that I do not want to view all content
>at once (because it is too long).
>I have used the filter transformer which was great
>since it helped in dividing the content into blocks
>and then I could choose the appropriate number of
>blocks to be displayed.
>
>The page after using the filter transformer looks
>similar to something like:
>
><page>
><block id= “1”>
><block id= “2”>
><block id= “3”>
><block id= “4”>
>…
>…
> </page>
>
>The problem now if I want to display to each block on
>a separate page I would need four pipelines. What if
>there are 20 blocks, do I need to have 20 pipeline?
>
>I read on the Cocoon documentation that it is possible
>to make the values of the count and blocknr properties
>as parameters and then pass their values through an
>action, but to be honest I do not know how to do it!
>
>Hints, ideas or maybe using different techniques would
>be appreciated.
>
>Regards,
>Fadi
>
>
>
>
>
>__________________________________
>Discover Yahoo!
>Have fun online with music videos, cool games, IM and more. Check it out!
>http://discover.yahoo.com/online.html
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
>
>
>
_____________________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org