<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Patric,<br>
<br>
if I get you right then the URI of the container page is passed to
your function providing class instead of the URI of your content
type within the container.<br>
<br>
In this case you might want to have a look at the already released
OAMP Webform and / or Survey modules (as an example how to fix
this).<br>
<br>
Perhaps you have to add a new constructor and pass the correct URI
in the formatter JSP.<br>
<br>
<br>
Kind regards,<br>
Peter<br>
<br>
<br>
Am 16.08.2011 14:57, schrieb patric dosch:
<blockquote
cite="mid:5BB0C5BEFECA11468B40FB51F7856E230477EA39@MAIL1.virtual-identity.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="MS Exchange Server version
6.5.7654.12">
<title>access content in main.jsp (container page template)</title>
<!-- Converted from text/rtf format -->
<p dir="LTR"><span lang="de"><font face="Calibri">Hey List!</font></span></p>
<p dir="LTR"><span lang="de"></span><span lang="en"><font
face="Calibri">I</font></span><span lang="de"></span><span
lang="en"></span><span lang="de"></span><span lang="en"> <font
face="Calibri">would like to offer</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">a configurable</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">header</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">for</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">my</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">site</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">(</font></span><span
lang="de"></span><span lang="en"><font face="Calibri">image</font></span><span
lang="de"></span><span lang="en"> <font face="Calibri">and</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">slogan</font></span><span
lang="de"></span><span lang="en"><font face="Calibri">).</font></span><span
lang="de"></span><span lang="en"> <font face="Calibri">Until</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">now I could</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">access all the content</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">in the template</font></span><span
lang="de"></span><span lang="en"><font face="Calibri">.</font></span><span
lang="de"></span><span lang="en"> <font face="Calibri">With
the new</font></span><span lang="de"></span><span lang="en"></span><span
lang="de"></span><span lang="en"> <font face="Calibri">formatter-</font></span><span
lang="de"></span><span lang="en"><font face="Calibri">technique,
I</font></span><span lang="de"></span><span lang="en"></span><span
lang="de"></span><span lang="en"> <font face="Calibri">just
do not know</font></span><span lang="de"></span><span
lang="en"></span><span lang="de"></span><span lang="en"> <font
face="Calibri">how</font></span><span lang="de"></span><span
lang="en"><font face="Calibri">.<br>
<br>
</font></span><span lang="de"></span><span lang="en"><font
face="Calibri">I</font></span><span lang="de"></span><span
lang="en"></span><span lang="de"></span><span lang="en"> <font
face="Calibri">would</font></span><span lang="de"></span><span
lang="en"></span><span lang="de"></span><span lang="en"> <font
face="Calibri">like to</font></span><span lang="de"></span><span
lang="en"></span><span lang="de"></span><span lang="en"> <font
face="Calibri">define these</font></span><span lang="de"></span><span
lang="en"></span><span lang="de"></span><span lang="en"> <font
face="Calibri">fields</font></span><span lang="de"></span><span
lang="en"></span><span lang="de"></span><span lang="en"> <font
face="Calibri">in my</font></span><span lang="de"></span><span
lang="en"></span><span lang="de"></span><span lang="en"> <font
face="Calibri">article-</font></span><span lang="de"></span><span
lang="en"><font face="Calibri">content type</font></span><span
lang="de"></span><span lang="en"><font face="Calibri">,</font></span><span
lang="de"></span><span lang="en"> <font face="Calibri">but</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">read</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">in</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">the container page template (</font></span><span
lang="de"></span><span lang="en"><font face="Calibri">main.jsp</font></span><span
lang="de"></span><span lang="en"><font face="Calibri">)</font></span><span
lang="de"></span><span lang="en"><font face="Calibri">.</font></span><span
lang="de"></span><span lang="en"> <font face="Calibri">Is
there</font></span><span lang="de"></span><span lang="en"></span><span
lang="de"></span><span lang="en"> <font face="Calibri">perhaps</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">another</font></span><span
lang="de"></span><span lang="en"></span><span lang="de"></span><span
lang="en"> <font face="Calibri">possibility</font></span><span
lang="de"></span><span lang="en"><font face="Calibri">?</font></span><span
lang="de"></span><span lang="en"></span></p>
<p dir="LTR"><span lang="de"></span><span lang="en"><font
face="Calibri">Greetings, Patric</font></span><span
lang="de"></span></p>
<br>
<span style="font-size: 8pt; color: rgb(169, 169, 169);"><span
style="font-family: Arial; font-size: 8pt;">_____________________________________________________________________<br>
<br>
<span style="font-size: 8pt; color: rgb(169, 169, 169);">Vorstand:
Ralf Heller, Udo Mobes <br>
Vorsitzende des Aufsichtsrates: Kirsten Heller <br>
Sitz der Gesellschaft: Gruenwaelderstrasse 10-14, D-79098
Freiburg <br>
Amtsgericht Freiburg HRB 6218<br>
<br>
Versand am 16.08.2011 14:57 von dosch patric<br>
Validation-Code: 2256150024141</span><br>
</span></span>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Peter Sreckovic
-------------------
Alkacon Software GmbH - The OpenCms Experts
Peter Sreckovic
An der Wachsfabrik 13
50996 Koeln, DE
Tel: +49 (0)2236 3826-0
Fax: +49 (0)2236 3826-20
Email: <a class="moz-txt-link-abbreviated" href="mailto:p.sreckovic@alkacon.com">p.sreckovic@alkacon.com</a>
<a class="moz-txt-link-freetext" href="http://www.alkacon.com">http://www.alkacon.com</a>
<a class="moz-txt-link-freetext" href="http://www.opencms.org">http://www.opencms.org</a>
Geschäftsführer: Alexander Kandzior, Amtsgericht Köln, HRB 54613 </pre>
</body>
</html>