[opencms-dev] need help on News module

Alexander Kandzior alex at opencms.org
Wed May 21 10:07:02 CEST 2003


Marcus,

to integrate the updated news module output in a JSP, first create a
XMLTemplate which just displays the news entry e.g. in a html table
formated as you please. Then, on your JSP template, use cms.include() to
include this element. 

Check out Flex examples set 1 and 2, as they contain demos for this. In
examples set 1 esp. see the inclusion examples.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com


> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Marcus Redeker
> Sent: Wednesday, May 21, 2003 9:36 AM
> To: opencms-dev at opencms.org
> Subject: RE: [opencms-dev] need help on News module
> 
> 
> The problem with the living together is that my master 
> template is a xml template which has only one element and 
> that one element is the JSP template reference. This works 
> quite well and eliminates the need for anymore xml templates. 
> But I did not find a good solution to integrate another xml 
> template into the body which is inserted into the jsp template.
> 
> I found one way which works but I have to modify the control 
> file of a page. Since this is the only solution I found so 
> far I will stick with this. 
> 
> It would be great if the developer of the news module would 
> publish the source or even create JSP tags to retrieve the news.
> 
> Thanks,
> --Marcus
> 
> > -----Original Message-----
> > From: opencms-dev-admin at opencms.org
> > [mailto:opencms-dev-admin at opencms.org] On Behalf Of David Seikel
> > Sent: Wednesday, May 21, 2003 8:06 AM
> > To: opencms-dev at opencms.org
> > Subject: Re: [opencms-dev] need help on News module
> > 
> > 
> > Marcus Redeker wrote:
> > > Does anybody use the news module with JSP templates yet? How do I
> > > integarte the news XML based templates into JSPs?
> > 
> > We are sticking to XMLTEMPLATEs for now, as we started this
> > before the 
> > switch to JSP, so I can't really help you much.
> > 
> > I can point out that it looks like JSP and XMLTEMPLATE can 
> live quite
> > happily together, some of the examples and demos do this.  So 
> > you could 
> > use XMLTEMPLATE for the news pages and JSP for everything else.
> > 
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list,
> > please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> > 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list