Re: Using COLOR Field

Philippe Vollenweider <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Did you try to add a default value like #ffffff ?

<content:declareField name='<%="color" + id%>' title="Color" titleKey="color"
       bundleKey="<%=resBundleID%>" type="Color" value="#ffffff"
/>

Philippe.

At 26.05.2005 10:44, you wrote:
>Hello
>
>I try to use a "Color" field in a template. But, in the pop-up Edition 
>windows when I add a new container, field "color" is like a SmallText field.
>
>Something missing ?
>
>Exemple (adding field in "main_content.jsp"):
>       <content:declareField name='<%="color" + id%>'
>           title="Color"
>           titleKey="color"
>           bundleKey="<%=resBundleID%>"
>           type="Color"
>       />
>
>Thanks
>Nicolas

-------=[ pvollenweider at jahia dot com ]=---------
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company
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.