Field already declared error

"ghislain\.cussonneau" <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
Hi !

I've create some templates and had new site settings. My
templates are over the 9000 max lignes of code allow in try {
} statements.

So i use the dynamic call instead of the static call of my
includes : I've create a header_gen.jsp that generate the
header of the page and a footer_gen.jsp that generate the
footer and call them by &lt;jsp:include&gt; tag.

When I run a page using my templates, I've many logs that say
"Field already declared ... ". How can I use site settings
container whithout include site_settings.inc in the 
footer_gen.jsp files ?

Here is a sample of the errors I have :

<pre>
<small>
71684649 [http-8080-Processor15] ERROR - Field
footerLegalMentionLogo was already in container
org.jahia.exceptions.JahiaException:  Field already declared :
footerLegalMentionLogo,  <b>Field already declared :
footerLegalMentionLogo</b>
        at
org.jahia.data.containers.JahiaContainerSet.declareField(JahiaContainerSet.java:333)
        at
org.jahia.taglibs.declarations.DeclareFieldTag.doStartTag(DeclareFieldTag.java:116)
        at
org.apache.jsp.footer_gen_jsp._jspService(<b>footer_gen_jsp.java:3338</b>)
[ ... ]
</small>
</pre>

Thanks !

<b>Ghislain CUSSONNEAU</b>
<i>CRIL Technology
Technoparc de l'Aubinière
44000 Nantes</i>
<b>02 51 89 64 50</b>

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
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.