[opencms-dev] I need scroll bar on an editable page

Vikas Jain vikas.jain at daffodildb.com
Thu Jul 20 09:17:42 CEST 2006


 

 

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Vikas Jain
Sent: Thursday, July 20, 2006 12:39 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] I need scroll bar on an editable page

 

Hi List,

I want to use a simple editable page on which I can use scroll bar.For that
I can not use tepmplate because as I think we can not make a template
editable by using include tag.As I know we can include a file and make that
editable.

For this i create a jsp page (rightText.jsp) on which I am using
<cms:include file="right_text" element="body" editable="true"/>

This right.text is a simple html page.And I am using this jsp page on my
index page like <iframe src="rightText" name="myiframe2" style="width:542px;
height:390px; position:static;"  scrolling="yes"  frameborder="0"></iframe>

I am using iframe for using scrolling, which is my need.

But when I run index.jsp and click on editable then the editable window is
opened but when I click on save and exit button then it will not come back
on my index page,it comes on the rightText.jsp page while I need to come
back it on my index page.

If I am using

<iframe name="myiframe2" style="width:542px; height:390px; position:static;"
scrolling="yes"  frameborder="0"></iframe>

<cms:include file="right_text" element="body" editable="true"/>

On my index.jsp then it will create some space problem and also not gives
the scroller.

 

Is it possible that while  using <cms:include property="template"
element="head"  /> we can make this head template element editable?

If yes then how?

 

Any help would be highly appreciated.

 

 

Regards,

Vikas

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060720/ab48ffcd/attachment.htm>


More information about the opencms-dev mailing list