Doh - thought this thread was the one to do with changing the Nuxeo web
context!
Sean Radford wrote:
Don't believe that will completely solve your problems.
Think you'll still run into problems with the Theme Editor and also
features that depends on the GWT (there are some references to the
context that are built on the server and sent back in the payload and
used to retrieve the SerializationPolicy)
Sean
[email protected] wrote:
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
--
Dr. Sean Radford, MBBS, MSc
http://www.tacola.com/
t: +44 (0) 8700 671 490
m: +44 (0) 7802 24 24 86
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm