<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks Ronald, I think that is what I was looking
for. I still would like to be able to edit (x)html pages directly but that's
another story.</FONT></DIV>
<DIV><FONT face=Arial size=2>/Sverker</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=ronald.lips@atobemobile.com
href="mailto:ronald.lips@atobemobile.com">Ronald Lips</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">The OpenCms mailing list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, March 09, 2005 1:01
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [opencms-dev] Questions
about templates and WYSIWYG editor</DIV>
<DIV><BR></DIV>
<DIV dir=ltr align=left><SPAN class=031045311-09032005><FONT face=Arial
color=#0000ff size=2>Hi Sverker,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=031045311-09032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=031045311-09032005><FONT face=Arial
color=#0000ff size=2>Take a look at the Alkacon documentation that comes with
OpenCms beta 1, section "Template Howto". This should make clear what the
relationship between a template and a page based on a template is. In this
relationship, the XML page (the page you edit in the WYSIWYG editor) contains
the HTML for each 'body' that has been defined in the template. See also the
'default_bodies' folder that is present in the module that contains your
template.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=031045311-09032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=031045311-09032005><FONT face=Arial
color=#0000ff size=2>The job of the JSP template is to inject the HTML
fragments of each body into an HTML page that is defined by the JSP. You can
take a look at these templates by browsing through the modules that are
present in a standard OpenCms installation.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=031045311-09032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=031045311-09032005><FONT face=Arial
color=#0000ff size=2>Hope this helps,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=031045311-09032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=031045311-09032005><FONT face=Arial
color=#0000ff size=2>regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=031045311-09032005><FONT face=Arial
color=#0000ff size=2>Ronald</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=031045311-09032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=031045311-09032005><!-- Converted from text/rtf format -->
<P><B><SPAN lang=en-us><FONT face=Garamond color=#666666>AtoBe Mobile
Solutions</FONT></SPAN></B> <BR><SPAN lang=en-us><FONT face=Garamond
color=#666666>Ronald Lips</FONT></SPAN> </P>
<P><SPAN lang=en-us><FONT face=Garamond color=#666666>tel:
+31 (0)23 750 21 19</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Garamond
color=#666666>fax: +31 (0)23 750 21 11</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Garamond color=#666666>mob:
+31 (0)651 18 35 70</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Garamond
color=#666666>mail:
r<U>onald.lips@atobemobile.com</U></FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Garamond color=#666666>web: </FONT> <FONT
face=Garamond>www.atobemobile.com</FONT></SPAN> </P></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Sverker Abrahamsson
[mailto:sverker@abrahamsson.com] <BR><B>Sent:</B> woensdag 9 maart 2005
12:45<BR><B>To:</B> The OpenCms mailing list<BR><B>Subject:</B> [opencms-dev]
Questions about templates and WYSIWYG editor<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2>I have kind of a newbe question. I'm starting to
learn the workplace and begun with creating a page with empty page template
and edit it in the wysiwyg editor. However, when I switch over to source code
view I see only that fragment of the code. As I understand it this is not a
bug but I'm in fact working with a XML page which use a XML template so that
is why I only see this fragment.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>As I understand it XML templates is the old
way and jsp templates is the new. However, I don't see any way to get wysiwyg
editing of plain html files where I can access all part of the page. Also,
working with JSP pages is limited to administrators so how can normal users
work with the jsp templates?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Sverker</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<P>
<HR>
<P></P><BR><BR>_______________________________________________<BR>This mail is
send to you from the opencms-dev mailing list<BR>To change your list options,
or to unsubscribe from the list, please
visit<BR>http://mail.opencms.org/mailman/listinfo/opencms-dev</BLOCKQUOTE></BODY></HTML>