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.