Try the loadPage tag this should work  

-----Original Message-----
From: Remco Slotboom [mailto:[EMAIL PROTECTED] 
Sent: 07 July 2005 17:00
To: [email protected]
Subject: Re: [magnolia-user] Problem with using frames

I think you have to refer to the page in the frame as something like

src="home/home.html" 

to get tomcat to run the page through the magnolia engine. 

(I'm guessing your code doesn't work because there is no 'current node' for
the magnolia content node iterator tag to work with . )

of course, the page I defined above (home/home) should exist in your
magnolia repository.

Remco.

On 7/7/05, vijaya sagar <[email protected]> wrote:
> 
> -------- Original Message --------
> Subject: [magnolia-user]
> From: "vijaya sagar" <[email protected]>
> Date: Thu, July 7, 2005 10:51 am
> To: <[email protected]>
> 
> 
> hi,
> 
> When I tried to used frames in "Main.jsp" in one of the templates all 
> my respective jsps are loading correctly but the paragraphs which I 
> created in magnolia are not loading. Can anybody please help me to 
> solve this problem this is an urgent task.The code in main.jsp:
> <%@ page import="org.apache.log4j.Logger"%>
> <%@ taglib uri="cms-taglib" prefix="cms" %> <%@ taglib 
> uri="cms-util-taglib" prefix="cmsu" %> <%@ taglib uri="JSTL" 
> prefix="c" %> <%@ page import="com.srik.JDBCConnector"%> <%@ page 
> import="java.util.*"%> <head> <title>Rashmie Electronics </title> 
> </head> <frameset framespacing="0" rows="5%,*" frameborder="no">
>   <frame marginwidth="0"  marginheight="0"  style=" margin-top:0;
>   margin-bottom:1;background-color:#EEEEEE;" name="menu"
>   src="/docroot/rashmie/files/html_menu.html" scrolling="no" noresize>
>   <frame bordercolor="#EEEEEE" marginwidth="0"  marginheight="-1"
>  style=" margin-top:-2; margin-bottom:0;" name="main"
>  src="/templates/jsp/samples/templateThreeColumns/home.jsp"
>  scrolling="yes"> <noframes>
>             <body>
>                 <p>This page uses frames, but your browser doesn't
>                 support them.</p>            </body>
>         </noframes>
> 
>         </frameset>
> </html>
> 
> where home.jsp will contain the statements of <c:import 
> url="/templates/jsp/samples/global/columnMain.jsp"/>
>  <c:import url="/templates/jsp/samples/global/columnMainNewBar.jsp"/>
> --------------------------------------------------
> 
> It is giving the following error:
> 
> 2005-07-07 10:21:29 ApplicationDispatcher[] Servlet.service() for 
> servlet jsp threw exceptionjava.lang.NullPointerException
>         at
>
info.magnolia.cms.taglibs.ContentNodeIterator.doStartTag(ContentNodeIterator
.java:81)   at
org.apache.jsp.templates.jsp.samples.global.columnMain_jsp._jspx_meth_cms_co
ntentNodeIterator_0(org.apache.jsp.templates.jsp.samples.global.columnMain_j
sp:130) at
org.apache.jsp.templates.jsp.samples.global.columnMain_jsp._jspService(org.a
pache.jsp.templates.jsp.samples.global.columnMain_jsp:104)  at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
22) at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>         at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)       at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:704)   at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:590)        at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:510)  at
org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(Impo
rtSupport.java:314) at
org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSup
port.java:179)      at
org.apache.jsp.templates.jsp.samples.templateThreeColumns.home_jsp._jspx_met
h_c_import_2(org.apache.jsp.templates.jsp.samples.templateThreeColumns.home_
jsp:947)        at
org.apache.jsp.templates.jsp.samples.templateThreeColumns.home_jsp._jspServi
ce(org.apache.jsp.templates.jsp.samples.templateThreeColumns.home_jsp:839)
at      org.apache.j!
>  asper.runtime.HttpJspBase.service(HttpJspBase.java:97) at
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
22) at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>         at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)       at
info.magnolia.cms.Filter.MultipartRequestFilter.doFilter(MultipartRequestFil
ter.java:76)        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)       at
info.magnolia.cms.Filter.ContentTypeFilter.doFilter(ContentTypeFilter.java:5
2)  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)     at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104) at      org.apache.catalina.core.StandardPipeline.invoke(Stand!
>  ardPipeline.java:520)  at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)     at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)     at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)   at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
)   at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102) at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:417)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at      org.apache.catali!
>  na.core.StandardEngineValve.invoke(StandardEngineValve.java:109)       at
or
>
g.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.
java:104)   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at
>
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>         at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)      at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)      at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80) at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)      at      java.lang.Thread.run(Thread.java:595)
> 
> regards,
> sagar
> 
> vijaya sagar
> 
> 
> 
> ----------------------------------------------------------------
> for list details see
> http://www.magnolia.info/en/magnolia/developer.html
> ----------------------------------------------------------------
> 
> 
> vijaya sagar
> 
> 
> 
> ----------------------------------------------------------------
> for list details see
> http://www.magnolia.info/en/magnolia/developer.html
> ----------------------------------------------------------------
>

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------


______________________________________________________________________

"This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error, please notify the system manager ([EMAIL 
PROTECTED]) and delete the message and any attached files from your system. 
The confidentiality and integrity of this message cannot be guaranteed on the 
Internet and the sender does not accept liability for its content"
______________________________________________________________________


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to