Yes this is correct.<br><br><div><span class="gmail_quote">On 2/21/06, <b class="gmail_sendername">Thierry Collogne</b> <<a href="mailto:tcollogne@hotmail.com">tcollogne@hotmail.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;">
<br>That looks like a nice solution, but the way I understand it, I have to put<br>all my code for the dynamic rendering in my template. Am i correct?<br><br><br>>From: "Corsin Camichel" <<a href="mailto:cocaman@gmail.com">
cocaman@gmail.com</a>><br>>Reply-To: The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>><br>>To: "The OpenCms mailing list" <<a href="mailto:opencms-dev@opencms.org">
opencms-dev@opencms.org</a>><br>>Subject: Re: [opencms-dev] How to edit text on a jsp page<br>>Date: Tue, 21 Feb 2006 08:09:24 +0100<br>><br>>Hi Thierry<br>><br>>I've done it this way:<br>>* create a "dummy" template jsp, for example in
<br>>modules/MODNAME/resources/jsptemplates/mypage.jsp<br>>* this mypage.jsp has some<br>><% cms.template("pageBody", "body", true);<br>> cms.include(cms.getRequestContext().getUri().toString(), "body", true);
<br>>%><br>><br>>* on mypage.jsp, set the properties template to your css and the<br>>template-elements to all the editable parts in mypage.jsp (in this case,<br>>body*|Body)<br>>* now you create a new page (
mypage.html) and set the template property to<br>>/system/modules/MODNAME/resources/jsptemplates/mypage.jsp<br>>* your user can now edit this page as he wants and does not affect your jsp<br>>code<br>>* the lucene search indexes
mypage.html and you can search for that and if<br>>you open it, the page is rendered with mypage.jsp<br>><br>>Hope that helps<br>><br>>Regards<br>>Corsin<br>><br>>On 2/21/06, Thierry Collogne <<a href="mailto:tcollogne@hotmail.com">
tcollogne@hotmail.com</a>> wrote:<br>> ><br>> > Hi all,<br>> ><br>> > I am using opencms 6.0.4. I have some jsp pages which consist of dynamic<br>> > rendered content, but also some static text.
<br>> ><br>> > I now want the static text to be editable. Currently I have made an<br>> > xmlpage<br>> > which I include into the jsp with cms:include editable="true". This way<br>>it<br>
> > is possible to edit the text.<br>> ><br>> > But now when I search the page with lucene, I get the xmlpage as result,<br>> > not<br>> > the jsp page.<br>> ><br>> > My question is now: Is it possible to make text editable on a jsp, but
<br>> > without the include? Perhaps by adding a div tag around the text you<br>>want<br>> > to<br>> > be editable?<br>> ><br>> > Or is it possible to return the jsp page in the search results instead
<br>>of<br>> > the xmlpage?<br>> ><br>> > Does anyone know about this?<br>> ><br>> > Thank you,<br>> ><br>> > Thierry<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<br>>visit<br>> > <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">
http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>> ><br>><br>><br>><br>>--<br>>Corsin Camichel<br>><a href="mailto:cocaman@gmail.com">cocaman@gmail.com</a><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<br>><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev
</a><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<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">
http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Corsin Camichel<br><a href="mailto:cocaman@gmail.com">cocaman@gmail.com</a>