[opencms-dev] jsp includes

Tosi, Joel JTosi at cme.com
Thu Feb 16 21:17:30 CET 2006


Christian,
	Thanks a bunch, that works.  I didn't even consider that taglib, I was just going off of how I would usually do the include.  Still kind of strange that it didn't work the original way, but I'll take what I can get.

Thanks again,
Joel

-----Original Message-----
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christian Steinert
Sent: Thursday, February 16, 2006 2:10 PM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] jsp includes

Dear Joel,

Did you try to use the opencms taglib instead for including things?
OPencms contains an own taglib and with it its very simple to include another jsp that is also held in the opencms VFS (virtual filesystem)
In the Alkacon documentation there is also a documentation about the taglib.

You can find it for example under /alkacon-documentation/documentation_taglib/, if you have a full opencms6 installation.
Online, I found it with google unger http://www.iwka-is.de/opencms/opencms/alkacon-documentation/documentation_taglib/ and other addresses.

But I don't know if you can pass on parameters like that. But you could pass parameters by adding them to internal the parameter list of the original JSP Request and then look at these params from your include.

Regards 
Christian



The OpenCms mailing list <opencms-dev at opencms.org> schrieb am 16.02.06 20:59:10:
>  
>  
> 
> We have a jsp page that takes structured content for display.  Inside this jsp, we are trying to do an include to a second jsp to generate the right area of the page.  If we do just an include, the right area is generated fine.  However, if we try passing a parameter, nothing is returned.  The jsp that is included is not even called.  There aren’t any errors in the opencms log or in the tomcat logs. In addition, if we include a jsp that doesn’t even exist, there isn’t any error.  We have tried both jsp:include and include.  With jsp:include, we have tried with the parameter on the url for the include as well as jsp:param, no luck either way. 
> 
>   
> 
> Any ideas? 
> 
>   
> 
> Thanks, 
> 
> Joel  
> -----------------------------------------------------------------
> _______________________________________________
> 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
> http://lists.opencms.org/mailman/listinfo/opencms-dev


______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


_______________________________________________
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
http://lists.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list