|
Subject: Re: The element "body" is not for template "xx" Newsgroups: gmane.comp.cms.opencms.devel Date: 2008-07-30 10:57:43 GMT (5 weeks, 3 days, 21 hours and 26 minutes ago) Could you post a short example of the content you try to apply the template to ? ________________________________ Fra: opencms-dev-bounces <at> opencms.org på vegne af Chirouze Olivier Sendt: on 30-07-2008 10:33 Til: The OpenCms mailing list Emne: Re: [opencms-dev] The element "body" is not for template "xx" I had to debug OpenCms (again) and so far, here's what I have found: When trying to "validate" my element value (body or text1), the list of "elements" in my template is always empty. It seems this list is updated when we save the file, I guess, since OpenCms tries to get the list of elements directly from the database (the parsing is not done at that step). So... OpenCms coders/experts, could you please help me: why is there not a single element registered in database for my template jsp file, even if I just copy/paste the content of the example template?? I also tried to export my module, hoping that was the pb. No change. Do I have to set an export point? I would'nt see why, but... Thanks Olivier > -----Original Message----- > From: Chirouze Olivier > Sent: 30 July 2008 09:22 > To: 'The OpenCms mailing list' > Subject: RE: [opencms-dev] The element "body" is not for template "xx" > > No more luck. > > I just copied / pasted the content of "simple JSP template" > from Alakcon documentation to my template. That doesn't work > either, with "body" or "text1". > > Did anything change in 7.0.5? > > Thanks > > Olivier > > Olivier CHIROUZE > I&0 Infrastructure > Volvo Information Technology > > > > -----Original Message----- > > From: opencms-dev-bounces <at> opencms.org > > [mailto:opencms-dev-bounces <at> opencms.org] On Behalf Of Isaac > R. Higgins > > Sent: 29 July 2008 17:38 > > To: The OpenCms mailing list > > Subject: RE: [opencms-dev] The element "body" is not for > template "xx" > > > > > > try "text1" > > > > -----Original Message----- > > From: opencms-dev-bounces <at> opencms.org on behalf of Chirouze Olivier > > Sent: Tue 7/29/2008 11:25 AM > > To: The OpenCms mailing list > > Subject: [opencms-dev] The element "body" is not for template "xx" > > > > Hi list, > > > > It seems I'm not the first to ask, but I'd like someone in > > the list to be the first to answer _______________________________________________ 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 |
|
|