You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by I-Lin Kuo <ik...@hotmail.com> on 2003/05/15 16:17:22 UTC
[ANN] Debugging Cocoon with views
Hi,
I just made my first cocoonwiki page at
http://wiki.cocoondev.org/Wiki.jsp?page=DebuggingWithViews
I'd appreciate any comments on this debugging technique.
I-Lin Kuo, Ann Arbor, MI
Macromedia Certified ColdFusion 5.0 Advanced Developer
Sun Certified Java 2 Programmer
Ann Arbor Java Users Group (http://www.aajug.org)
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: [ANN] Debugging Cocoon with views
Posted by Geoff Howard <co...@leverageweb.com>.
At 10:59 AM 5/16/2003, you wrote:
>Thanks for these tips.
>I have tried to use views on pipelines elements called after an action, it
>doesn't seem to work...
...
><map:match pattern="*.xsp" >
> <map:generate src="{1}.aml"/>
> <map:transform src="aml2xsp.xsl" label="alex" />
> <map:serialize type="xml"/>
></map:match>
this label will cause your view to pick up after the transform. Move the
label to
the generator.
HTH,
Geoff Howard
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: [ANN] Debugging Cocoon with views
Posted by Alexandre Victoor <al...@fr.adp.com>.
Thanks for these tips.
I have tried to use views on pipelines elements called after an action, it
doesn't seem to work...
<map:views>
<map:view from-label="alex" name="alex">
<map:serialize type="xml"/>
</map:view>
</map:views>
.
.
.
<map:match pattern="*.xsp" >
<map:generate src="{1}.aml"/>
<map:transform src="aml2xsp.xsl" label="alex" />
<map:serialize type="xml"/>
</map:match>
<map:match pattern="*.html">
<map:act type="protoAction">
<map:generate type="serverpages" src="cocoon:/{aml}.xsp"/>
</map:act>
<map:transform src="xsp2html.xsl"/>
<map:serialize type="html"/>
/map:match>
Have a nice week-end
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org