PB with boolean in containerList

"ghislain\.cussonneau" <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
I've modify the contentContainer declaration to had some boolean fields : isNewSection and displayTitle. My declaration structure is like this :

<content:declareContainerList name='contentContainer' ...
  <content:declareContainer>
    ...
    <content:declareField name="isInNewSection" type="Boolean" ...
    <content:declareField name="displaySubTitle" type="Boolean" ...
    <content:declareField name="subTitlePicture" type="File" ...
    ...
  </content:declareContainer>
</content:declarecontainerList>

The two boolean fields are in the same panel in the editor engine, I can't desactivate isNewSection if displaySubTitle is not desactivate too (same problem with activation). But if I use this definition 

<content:declareContainerList name='contentContainer' ...
  <content:declareContainer>
    ...
    <content:declareField name="isInNewSection" type="Boolean" ...
    <content:declareField name="subTitlePicture" type="File" ...
    <content:declareField name="displaySubTitle" type="Boolean" ...
    ...
  </content:declareContainer>
</content:declarecontainerList>

the two boolean fields are not in the same panel in the editor engine and I can activate/desactivate the two boolean fields has I wan't !

I think it's a bug... no ?



Ghislain CUSSONNEAU

DIRR/DPIL/CIS

CAP 44, Rue Marcel Sembat

44000 Nantes

02 51 84 48 80

CRIL Technology

Technoparc de l'Aubinière

44000 Nantes

02 51 89 64 50

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.