Hi,<br>
<br>
What is the page type? For the one I am trying to import its just text. So you select 'new' within the <br>
workplace you need to select 'text' as the type.<br>
<br>
However, are you sure you should be doing this? If thats navigation you are building should you not be building it<br>
dynamically with a jsp anyway.<br>
<br>
Keith<br>
<br><br><div><span class="gmail_quote">On 5/11/06, <b class="gmail_sendername">Nick DeSteffen</b> <<a href="mailto:Nick.DeSteffen@wausaubenefits.com">Nick.DeSteffen@wausaubenefits.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<br><font face="sans-serif" size="2">Ok, that works, however nothing is being
displayed on the screen, when I view source I can read this, it looks like
it's comming through as XML. I created the page as Page with free
text.</font>
<br>
<br><font size="3"><tt> <?xml version="1.0" encoding="UTF-8"?><br>
<br>
<pages xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.w3.org/2001/XMLSchema-instance</a>"
xsi:noNamespaceSchemaLocation="<a href="http://www.opencms.org/dtd/6.0/xmlpage.xsd" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.opencms.org/dtd/6.0/xmlpage.xsd</a>"><br>
<page language="en"><br>
<element name="NavigationLinks"><br>
<links/><br>
<content><![CDATA[<h2>Our Services</h2>Health
Plan<br>
<br />Pharmacy<br>
<br />Workers Comp<br>
<br /> <br>
<h2>General Links</h2>News Room<br>
<br />Careers<br>
<br />Contact Us]]></content><br>
</element><br>
</page><br>
</pages><br>
</tt></font></div><div><span class="q">
<br><font face="sans-serif" size="2">Nick DeSteffen<br>
Fiserv Health - Wausau Benefits <br>
Web Development Group<br>
<a href="mailto:nick.desteffen@wausaubenefits.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nick.desteffen@wausaubenefits.com</a><br>
(715) 841-6036</font>
<br>
<br>
<br>
</span></div><div><div></div><p></p><table width="100%">
<tbody><tr valign="top">
<td width="40%"><div><span class="q"><font face="sans-serif" size="1"><b>"Keith Davey"
<<a href="mailto:keith.davey@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">keith.davey@gmail.com</a>></b> </font>
<br><font face="sans-serif" size="1">Sent by: <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev-bounces@opencms.org</a></font>
</span></div><div><p><font face="sans-serif" size="1">05/11/2006 02:33 PM</font>
</p></div><div><span class="e" id="q_10b2500b06c20894_5"><table border="1">
<tbody><tr valign="top">
<td bgcolor="white">
<div align="center"><font face="sans-serif" size="1">Please respond to<br>
The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev@opencms.org</a>></font></div></td></tr></tbody></table>
<br>
</span></div></td><td width="59%">
<table width="100%">
<tbody><tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">To</font></div>
</td><td><font face="sans-serif" size="1">"The OpenCms mailing list"
<<a href="mailto:opencms-dev@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev@opencms.org</a>></font>
</td></tr><tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">cc</font></div>
</td><td>
<br>
</td></tr><tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">Subject</font></div>
</td><td><font face="sans-serif" size="1">Re: [opencms-dev] Jsp Template import
VFS page</font></td></tr></tbody></table>
<br>
<table>
<tbody><tr valign="top">
<td>
<br>
</td><td><br>
</td></tr></tbody></table>
<br></td></tr></tbody></table></div><div><span class="e" id="q_10b2500b06c20894_7">
<br>
<br>
<br><font size="3">Hi Nick,<br>
<br>
You are including the file as a url, the /opencms/opencms/ start is for
http urls.<br>
<br>
You need to get the path to the file in the VFS, which would start with
/sites/default/ if you have<br>
your workplace set up as per normal.<br>
<br>
So I would guess you want something like:<br>
<%@ include file="/sites/default/FiservHealth/FiservHealthNavigationLinks.html"
%><br>
<br>
Keith<br>
<br>
</font>
<br><font size="3">On 5/11/06, <b>Nick DeSteffen</b> <</font><a href="mailto:Nick.DeSteffen@wausaubenefits.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="blue" size="3"><u>Nick.DeSteffen@wausaubenefits.com
</u></font></a><font size="3">>
wrote:</font>
<br><font size="3"><br>
Hi Keith, thanks for the quick response. <br>
<br>
In my jsp template I added this line, just like yours. <br>
<%@ include file="/opencms/opencms/FiservHealth/FiservHealthNavigationLinks.html"
%> <br>
<br>
When I goto a page I created using the template I get this.... <br>
/WEB-INF/jsp/offline/system/modules/com.fiservhealth.contentmanagement.templates/templates/FiservHealthHomePage.jsp(28,3)
File "/opencms/opencms/FiservHealth/FiservHealthNavigationLinks.html"
not found <br>
<br>
Any more ideas? </font>
<br><font size="3"><br>
</font><font face="sans-serif" size="2"><br>
Nick DeSteffen<br>
Fiserv Health - Wausau Benefits <br>
Web Development Group</font><font color="blue" face="sans-serif" size="2"><u><br>
</u></font><a href="mailto:nick.desteffen@wausaubenefits.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="blue" face="sans-serif" size="2"><u>nick.desteffen@wausaubenefits.com</u></font>
</a><font face="sans-serif" size="2"><br>
(715) 841-6036</font><font size="3"> <br>
<br>
</font>
<table width="100%">
<tbody><tr valign="top">
<td width="46%"><font face="sans-serif" size="1"><b>"Keith Davey"
<</b></font><a href="mailto:keith.davey@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="blue" face="sans-serif" size="1"><b><u>keith.davey@gmail.com</u></b></font></a><font face="sans-serif" size="1">
<b>></b>
<br>
Sent by: </font><a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="blue" face="sans-serif" size="1"><u>opencms-dev-bounces@opencms.org</u>
</font></a><font size="3">
</font>
<p><font face="sans-serif" size="1">05/10/2006 04:45 PM</font><font size="3">
</font>
<br>
<table border="4" width="100%">
<tbody><tr valign="top">
<td bgcolor="white" width="100%">
<div align="center"><font face="sans-serif" size="1">Please respond to<br>
The OpenCms mailing list <</font><a href="mailto:opencms-dev@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="blue" face="sans-serif" size="1"><u>opencms-dev@opencms.org
</u></font></a><font face="sans-serif" size="1">></font></div></td></tr></tbody></table>
</p><p>
</p></td><td width="53%">
<br>
<table width="100%">
<tbody><tr valign="top">
<td width="11%">
<div align="right"><font face="sans-serif" size="1">To</font></div>
</td><td width="88%"><font face="sans-serif" size="1">"The OpenCms mailing
list" <</font><a href="mailto:opencms-dev@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="blue" face="sans-serif" size="1"><u>opencms-dev@opencms.org</u></font></a>
<font face="sans-serif" size="1">></font><font size="3">
</font>
</td></tr><tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">cc</font></div>
</td><td>
<br>
</td></tr><tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">Subject</font></div>
</td><td><font face="sans-serif" size="1">Re: [opencms-dev] Jsp Template import
VFS page</font></td></tr></tbody></table>
<br>
<br>
<table width="100%">
<tbody><tr valign="top">
<td width="50%">
<br>
</td><td width="50%"><br>
</td></tr></tbody></table>
<br></td></tr></tbody></table>
<br><font size="3"><br>
<br>
</font><font size="2"><tt><br>
Hi Nick,<br>
<br>
There is nothing to stop you using a normal jsp include. We recently built</tt></font><font color="blue" size="2"><tt><u><br>
</u></tt></font><a href="http://www.shannonairport.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="blue" size="2"><tt><u>www.shannonairport.com</u></tt></font></a><font size="2">
<tt>.<br>
<br>
The dropdown in the middle of the page is created by:<br>
<%@ include file="/sites/default/shannonairport/interested.txt"
%><br>
<br>
This line is in the jsp template for the site.<br>
<br>
Keith<br>
<br>
On 5/10/06, Nick DeSteffen <</tt></font><a href="mailto:Nick.DeSteffen@wausaubenefits.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="blue" size="2"><tt><u>Nick.DeSteffen@wausaubenefits.com
</u></tt></font></a><font size="2"><tt>>
wrote:<br>
><br>
> Hi,<br>
> I want to create a JSP template for our users to use when creating
pages. I<br>
> want this template to always import another page from the VFS that
our users<br>
> will also maintain. Any ideas on how to go about doing this?<br>
><br>
> Your help is greatly appreciated.<br>
><br>
> Nick DeSteffen<br>
> Fiserv Health - Wausau Benefits<br>
> Web Development Group<br>
> </tt></font><a href="mailto:nick.desteffen@wausaubenefits.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="blue" size="2"><tt><u>nick.desteffen@wausaubenefits.com</u></tt></font>
</a><font size="2"><tt><br>
> (715) 841-6036<br>
><br>
> This communication is intended only for the recipient(s) named above;
may be<br>
> confidential and/or legally privileged; and, must be treated as such
in<br>
> accordance with state and federal laws. If you are not the intended<br>
> recipient, you are hereby notified that any use of this communication,
or<br>
> any of its contents, is prohibited. If you have received this communication<br>
> in error, please return it to Nick DeSteffen and delete the message
from<br>
> your computer system.<br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please
visit<br>
> </tt></font><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="blue" size="2"><tt><u>http://lists.opencms.org/mailman/listinfo/opencms-dev
</u></tt></font></a><font size="2"><tt><br>
><br>
><br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit</tt></font><font color="blue" size="2"><tt><u><br>
</u></tt></font><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="blue" size="2"><tt><u>http://lists.opencms.org/mailman/listinfo/opencms-dev
</u></tt></font></a><font size="3"><br>
<br>
<br>
<br>
This communication is intended only for the recipient(s) named above; may
be confidential and/or legally privileged; and, must be treated as such
in accordance with state and federal laws. If you are not the intended
recipient, you are hereby notified that any use of this communication,
or any of its contents, is prohibited. If you have received this communication
in error, please return it to Nick DeSteffen and delete the message from
your computer system.</font>
<br><font size="3"><br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit</font><font color="blue" size="3"><u><br>
</u></font><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="blue" size="3"><u>http://lists.opencms.org/mailman/listinfo/opencms-dev
</u></font></a><font size="3"><br>
</font>
<br><font size="2"><tt><br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></tt></font>
<br>
<font color="#000000" face="Helv" size="3"></font><br><font color="#000000" face="Helv" size="3"></font><br><font color="#000000" face="Helv" size="3">This
communication is intended only for the recipient(s) named above; may be
confidential and/or legally privileged; and, must be treated as such in
accordance with state and federal laws. If you are not the intended
recipient, you are hereby notified that any use of this communication,
or any of its contents, is prohibited. If you have received this
communication in error, please return it to Nick DeSteffen and delete
the message from your computer system.</font><br>
</span></div><br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">
http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br><br></blockquote></div><br>