Hi All,

 

I answered my own question. The class Head.java in nuxeo-theme-html will
output the <base href="..." /> html tag with the base url value of
http://localhost:8080/nuxeo/. This prevents the internal linking I was
attempting to do below. The solution is to link via javascript. 

 

I guess this is what I get for posting this message at 12am. Let me know
if these types of questions are inappropriate for this list.

 

Cheers,

Greg

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Greg Jenkins ([email protected])
Sent: Friday, June 26, 2009 12:10 AM
To: [email protected]
Subject: [Ecm] links within a document

 

Hi All,

 

I'm creating a document type that is rather long and contains several
sections. I have a requirement to add links to the top of the document
page that navigate to sections lower in the page to avoid excess
scrolling. After adding anchor tags with href attributes, I noticed that
clicking on these links did not take you to sections within the document
but instead brought you out of the document and to the user's landing
page.

 

I've tried regular html and also jsf tags like this:

 

<h:outputLink value="#section_name">Lower Section</h:outputLink>

 

.....

 

<a name="section_name">Lower Section Title</a>

 

I'm sure there is a way to do this. How is it done?

 

Thanks,

Greg

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to