cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Larsen" <>
Subject RE: Navigate to anchor in generated page?
Date Thu, 27 Oct 2005 12:27:07 GMT
Thanks Andrew.  I'm not describing the problem well.

- The url with #bookmark gets picked up in the sitemap and runs some

- The flowscript prepares data, usually creating a document in eXist if it
needs to. When done, the flowscript does a SendPage to an internal pipeline

- The matcher then does an aggregation (including the eXist data), a couple
of transforms to create the html and then runs the html serializer.

Do I just need to add the #bookmark to the SendPage uri, or maybe append it
in the uri pipeline somewhere?  

I'll try some things out this AM.

> -----Original Message-----
> From: Andrew Stevens [] 
> Sent: Wednesday, October 26, 2005 8:19 PM
> To:
> Subject: RE: Navigate to anchor in generated page?
> >From: "Gary Larsen" <>
> >Date: Wed, 26 Oct 2005 19:41:44 -0400
> >
> >I'm still new with Cocoon and not sure if this is possible.
> >
> >I would like to navigate to a location in the generated page 
> directly 
> >from a link in another page.  (In HTML this would be
> >http://server/myfile.html#bookmark)  Is this possible when 
> generating a 
> >page from the sitemap?
> Unless I'm missing something, you've already answered your 
> own question - "In HTML this would be 
> http://server/myfile.html#bookmark".  So all you have to do 
> is make the pipeline for your first page include the fragment 
> identifier #bookmark when it generates the link, while the 
> pipeline for your second page should include the 
> corresponding named anchor (<A>) element.  It doesn't matter 
> whether it's generated by Cocoon, JSPs, Struts or a bunch of 
> static text files, it's still HTML...
> Andrew.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message