Using Container outside a containerList ??
Guillaume Kuhmel <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.template |
|---|---|
| Message-ID | <[email protected]> |
Hello everybody,
Is it possible to declare and use a container outside a container list ?
It can be interesting because only one edition pop-up will open for the
content of the container (it's better than 3 pop-up for instance, one
for each field...)
I've tried taglib with something like that:
<content:declareContainer name='mainContentContainer' title='Conteneur
principal'>
<content:declareField name='title'
title='Title' type='SmallText'/>
</content:declareContainer>
<content:container id='mainContentContainer'>
<jahiaHtml:actionMenu
name="mainContentContainer" namePostFix=""
resourceBundle="jahiatemplates.Corporate_portal_templates">
<content:textField name='title'
display="false" valueId="title"
defaultValue=""
diffActive="true"/>
</jahiaHtml:actionMenu>
</content:container>
but it doesn't work...(Error:
Attribute name invalid according to the specified TLD..
)
Any idea? Is it possible with jahia API instead of taglib?
Best regards,
Guillaume.
--
------------------------------------------------------------------------
*Guillaume Kuhmel*
*Ingénieur Concepteur Développeur*
*[email protected] <mailto:[email protected]>*
*Tél. : +33 (0)6.88.33.36.16*
*http://www.sqli.com* <http://www.sqli.fr>
*Groupe SQLI**
**75 rue Marcelin Berthelot
13848 Aix en Provence Cedex 3*