cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Romayev <roma...@yahoo.com>
Subject RE: [portal] Linking to portal pages
Date Mon, 26 Jan 2004 12:47:02 GMT
Hi Laurent,

I can probably convert my coplets to be inside a
single match -- I was hoping to awoid rework and stick
with my old model.  By the way, can you explain how
portal-object-model action works?  Also you have
mentioned something about portal history in one of
your previous e-mails, what is it?

Thanks,
-Alex

--- Laurent Trillaud <ltrillaud@jouve.fr> wrote:
> Alex
> IMO it's easier is you put your coplet inside only
> one match, because you
> will not have to use the portal-object-model action.
> Therefore, your match will become
> <!-- <resource>.<style>.coplet -->
> <map:match pattern="*.*.coplet">
>   <map:generate src="{1}.resource">
>   <map:trasform src="{1}2{2}.xsl">
>     <map:parameter name="news-id"
>     value="{coplet:parameters/news-id}"/>
>   <map:trasform src="{2}-links.xsl"/>
>   <map:serialize type="xml"/>
> </map:match>
> Hope that will be useful.
> Laurent



=====
Alex Romayev
Software Architect
http://www.romayev.com
romayev@yahoo.com

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


Mime
View raw message