<br><font size=2 face="sans-serif">I'm trying to import a "Page with
free text". In the OpenCms structure it is listed as xml. </font>
<br>
<br><font size=2 face="sans-serif">It really isn't navigation, the site
I am creating is a simple 10 page or so site, our user's want to have a
section on each page that will remain same on all pages, but will be editable
by them. It will contain links to other pages within the site as
well as external links, so it's not navigation, but it is navigation, kinda
multipurpose section. They also want to be able to put advertisements
in it and event notices etc. It also will need to contain images,
so I'm not sure text will do. I've been playing around with the <cms:include
tag, but not getting anywhere.</font>
<br>
<br><font size=2 face="sans-serif">Nick DeSteffen<br>
Fiserv Health - Wausau Benefits <br>
Web Development Group<br>
nick.desteffen@wausaubenefits.com<br>
(715) 841-6036</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Keith Davey"
<keith.davey@gmail.com></b> </font>
<br><font size=1 face="sans-serif">Sent by: opencms-dev-bounces@opencms.org</font>
<p><font size=1 face="sans-serif">05/11/2006 03:07 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
The OpenCms mailing list <opencms-dev@opencms.org></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"The OpenCms mailing list"
<opencms-dev@opencms.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [opencms-dev] Jsp Template import
VFS page</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3>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>
</font>
<br><font size=3>On 5/11/06, <b>Nick DeSteffen</b> <</font><a href=mailto:Nick.DeSteffen@wausaubenefits.com><font size=3 color=blue><u>Nick.DeSteffen@wausaubenefits.com</u></font></a><font size=3>>
wrote:</font>
<br><font size=2 face="sans-serif"><br>
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><font size=3> <br>
</font><font size=3><tt><br>
<?xml version="1.0" encoding="UTF-8"?><br>
<br>
<pages xmlns:xsi="</tt></font><a href="http://www.w3.org/2001/XMLSchema-instance" target=_blank><font size=3 color=blue><tt><u>http://www.w3.org/2001/XMLSchema-instance</u></tt></font></a><font size=3><tt>"
xsi:noNamespaceSchemaLocation="</tt></font><a href=http://www.opencms.org/dtd/6.0/xmlpage.xsd target=_blank><font size=3 color=blue><tt><u>http://www.opencms.org/dtd/6.0/xmlpage.xsd</u></tt></font></a><font size=3><tt>"><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></tt></font>
<br><font size=2 face="sans-serif"><br>
Nick DeSteffen<br>
Fiserv Health - Wausau Benefits <br>
Web Development Group</font><font size=2 color=blue face="sans-serif"><u><br>
</u></font><a href=mailto:nick.desteffen@wausaubenefits.com target=_blank><font size=2 color=blue face="sans-serif"><u>nick.desteffen@wausaubenefits.com</u></font></a><font size=2 face="sans-serif"><br>
(715) 841-6036</font><font size=3> <br>
<br>
</font>
<p>
<table width=100%>
<tr valign=top>
<td width=46%><font size=1 face="sans-serif"><b>"Keith Davey"
<</b></font><a href=mailto:keith.davey@gmail.com target=_blank><font size=1 color=blue face="sans-serif"><b><u>keith.davey@gmail.com</u></b></font></a><font size=1 face="sans-serif"><b>></b>
<br>
Sent by: </font><a href="mailto:opencms-dev-bounces@opencms.org" target=_blank><font size=1 color=blue face="sans-serif"><u>opencms-dev-bounces@opencms.org</u></font></a><font size=3>
</font>
<p><font size=1 face="sans-serif">05/11/2006 02:33 PM</font><font size=3>
</font>
<p>
<br>
<table border=4 width=100%>
<tr valign=top>
<td width=100% bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
The OpenCms mailing list <</font><a href="mailto:opencms-dev@opencms.org" target=_blank><font size=1 color=blue face="sans-serif"><u>opencms-dev@opencms.org</u></font></a><font size=1 face="sans-serif">></font></div></table>
<br>
<td width=53%>
<table width=100%>
<tr valign=top>
<td width=11%>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td width=88%><font size=1 face="sans-serif">"The OpenCms mailing
list" <</font><a href="mailto:opencms-dev@opencms.org" target=_blank><font size=1 color=blue face="sans-serif"><u>opencms-dev@opencms.org</u></font></a><font size=1 face="sans-serif">></font><font size=3>
</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [opencms-dev] Jsp Template import
VFS page</font></table>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=50%>
<td width=50%></table>
<br></table>
<br><font size=3><br>
<br>
<br>
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>
<br>
On 5/11/06, <b>Nick DeSteffen</b> <</font><a href=mailto:Nick.DeSteffen@wausaubenefits.com target=_blank><font size=3 color=blue><u>Nick.DeSteffen@wausaubenefits.com
</u></font></a><font size=3>> wrote: <br>
<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? <br>
</font><font size=2 face="sans-serif"><br>
<br>
Nick DeSteffen<br>
Fiserv Health - Wausau Benefits <br>
Web Development Group</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:nick.desteffen@wausaubenefits.com target=_blank><font size=2 color=blue face="sans-serif"><u>nick.desteffen@wausaubenefits.com</u></font><font size=3 color=blue><u>
</u></font></a><font size=2 face="sans-serif"><br>
(715) 841-6036</font><font size=3> <br>
</font>
<table width=100%>
<tr valign=top>
<td width=46%><font size=1 face="sans-serif"><b>"Keith Davey"
<</b></font><a href=mailto:keith.davey@gmail.com target=_blank><font size=1 color=blue face="sans-serif"><b><u>keith.davey@gmail.com</u></b></font></a><font size=1 face="sans-serif">
<b>></b> <br>
Sent by: </font><a href="mailto:opencms-dev-bounces@opencms.org" target=_blank><font size=1 color=blue face="sans-serif"><u>opencms-dev-bounces@opencms.org
</u></font></a>
<p><font size=1 face="sans-serif">05/10/2006 04:45 PM</font><font size=3>
</font>
<br>
<table border=4 width=100%>
<tr valign=top>
<td width=100% bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
The OpenCms mailing list <</font><a href="mailto:opencms-dev@opencms.org" target=_blank><font size=1 color=blue face="sans-serif"><u>opencms-dev@opencms.org
</u></font></a><font size=1 face="sans-serif">></font></div></table>
<br>
<td width=53%>
<br>
<table width=100%>
<tr valign=top>
<td width=11%>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td width=88%><font size=1 face="sans-serif">"The OpenCms mailing
list" <</font><a href="mailto:opencms-dev@opencms.org" target=_blank><font size=1 color=blue face="sans-serif"><u>opencms-dev@opencms.org</u></font></a><font size=3>
</font><font size=1 face="sans-serif">></font><font size=3> </font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [opencms-dev] Jsp Template import
VFS page</font></table>
<br><font size=3><br>
</font>
<br>
<table width=100%>
<tr valign=top>
<td width=50%>
<td width=50%></table>
<br></table>
<br><font size=3><br>
<br>
</font><font size=2><tt><br>
<br>
Hi Nick,<br>
<br>
There is nothing to stop you using a normal jsp include. We recently built</tt></font><font size=3 color=blue><u><br>
</u></font><a href=http://www.shannonairport.com/ target=_blank><font size=2 color=blue><tt><u>www.shannonairport.com</u></tt></font></a><font size=2>
</font><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><font size=2 color=blue><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><font size=2 color=blue><tt><u>nick.desteffen@wausaubenefits.com</u></tt></font><font size=3 color=blue><u>
</u></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><font size=2 color=blue><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 size=3 color=blue><u><br>
</u></font><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target=_blank><font size=2 color=blue><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. <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</font><font size=3 color=blue><u><br>
</u></font><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target=_blank><font size=3 color=blue><u>http://lists.opencms.org/mailman/listinfo/opencms-dev
</u></font></a><font size=3><br>
</font><font size=2><tt><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 size=2 color=blue><tt><u><br>
</u></tt></font><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target=_blank><font size=2 color=blue><tt><u>http://lists.opencms.org/mailman/listinfo/opencms-dev</u></tt></font></a><font size=3>
<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 size=3 color=blue><u><br>
</u></font><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target=_blank><font size=3 color=blue><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>
http://lists.opencms.org/mailman/listinfo/opencms-dev</tt></font>
<br>
<font face="Helv" size=3 color=#000000 ></font><br><font face="Helv" size=3 color=#000000 ></font><br><font face="Helv" size=3 color=#000000 >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>