Re: Problems with AbsoluteContainerList? - Please help (screenshot)

Richard Gate <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>

Richard Gate wrote:
> Hi everyone,
>
> I am having some issues setting up some absolute container lists for 
> the homepage my site. The container list declaration code is only 
> executed when homepage.jsp is processed. The code can be seen below:
>
> <%-- Homepage definitions --%>
>
> <%-- Header container list. --%>
>
> <content:declareContainerList name='headerLinksList' title='Header 
> Links'>
>    <content:declareContainer>
>        <content:declareField name='headerLink' title='Header Link' 
> type='Page'/>
>    </content:declareContainer>
> </content:declareContainerList>
>
> <%-- Footer container list. --%>
>
> <content:declareContainerList name='footerLinksList' title='Footer 
> Links'>
>    <content:declareContainer>
>        <content:declareField name='footerLink' title='Footer Link' 
> type='Page'/>
>    </content:declareContainer>
> </content:declareContainerList>
>
> <%-- Copyright container list. --%>
>
> <content:declareContainerList name='copyrightList' title='Copyright 
> List'>
>    <content:declareContainer>
>        <content:declareField name='copyright' title='Copyright 
> Information' type='SmallText'/>
>    </content:declareContainer>   </content:declareContainerList>
>
> <%-- Homepage Sections. --%>
>
> <content:declareContainerList name='sectionContainerList' 
> title='Section Container'>
> <content:declareContainer>
>    <content:declareField name='sectionLink' title='Section Link' 
> type='Page'/>
>    <content:declareField name='sectionColour' title='Section Colour' 
> type='Color' value="<jahia_multivalue[Red:Green:Blue]>Red"/>
> </content:declareContainer>
> </content:declareContainerList>
>
> The other pages (none homepage) use these container lists. I get the 
> container list using typical code:
>
> JahiaContainerList footerLinkContainerList = 
> jData.containers().getAbsoluteContainerList ("footerLinksList", 
> homePageID);
>
> Where footLinksList is referenced above and homePageID is equal to 1.
>
> When I go on these pages tomcat outputs the following problems:
>
> 2006-11-30 08:59:54,000: [http-8080-Processor25] JahiaFieldDefinition, 
> WARN, org.jahia.data.fields.JahiaFieldDefinition: Couldn't find sub 
> definition for pagedefID=11 fieldDefID=45 jahiaID=1 name=footerLink 
> isMetadata=false
> 2006-11-30 08:59:54,000: [http-8080-Processor25] JahiaFieldDefinition, 
> WARN, org.jahia.data.fields.JahiaFieldDefinition: Couldn't find sub 
> definition for pagedefID=11 fieldDefID=45 jahiaID=1 name=footerLink 
> isMetadata=false
> 2006-11-30 08:59:54,000: [http-8080-Processor25] JahiaFieldDefinition, 
> WARN, org.jahia.data.fields.JahiaFieldDefinition: Couldn't find sub 
> definition for pagedefID=11 fieldDefID=45 jahiaID=1 name=footerLink 
> isMetadata=false
> 2006-11-30 08:59:54,000: [http-8080-Processor25] JahiaFieldDefinition, 
> WARN, org.jahia.data.fields.JahiaFieldDefinition: Couldn't find sub 
> definition for pagedefID=11 fieldDefID=45 jahiaID=1 name=footerLink 
> isMetadata=false
>
> Tomcat also outputs these similar messages for *all* the other 
> container lists declared on the homepage. I have omitted the messages 
> here.
>
> The data held within all the containers displays ok for all the pages. 
> However when I access the "Update content object" popup from the none 
> homepage templates I get the following problem:
>
>
>
> As the picture demonstrates, the edit box is too small which obscures 
> the options. Also the ID isn't displayed correctly, ID of "" [1]. This 
> problem doesn't happen when I use the popup on the homepage (the page 
> which declares the content). All the pages are in editing stage at 
> this time. Also on the page which has a Color field, the engine simply 
> appears as a smalltextfield, no Color selection bar is displayed.
>
> Hopefully someone can help?
>
> Thanks,
>
> Richard.
>
>
>
> ___________________________________________________________________
>
> Confidentiality: This e-mail and its attachments are intended for the 
> above named only and may be confidential. If they have come to you in 
> error you must take no action based on them, nor must you copy or show 
> them to anyone; please reply to this e-mail and highlight the error.
>
> Security Warning: Please note that this e-mail has been created in the 
> knowledge that Internet e-mail is not a 100% secure communications 
> medium. We advise that you understand and observe this lack of 
> security when e-mailing us.
>
> Viruses: Although we have taken steps to ensure that this e-mail and 
> attachments are free from any virus, we advise that in keeping with 
> good computing practice the recipient should ensure they are actually 
> virus free.
>
>
> ___________________________________________________________________
>
>
>
popup screenshot.jpg (image/jpeg, 58 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.