[opencms-dev] Checkbox checked

Antonio Cordeddu antoniocordeddu at coranto.it
Fri Sep 27 11:05:35 CEST 2013


Hi Matthias,

It works fine by this way:

<xsd:element name="TestBoolean" type="OpenCmsBoolean" />
         ...
             <defaults>
                 <default element="TestBoolean" value="true" />
             </defaults>

I'm using 8.5.2 OpenCms version.

Kind Regards
Antonio Cordeddu

On 27/09/2013 09:56, Matthias Griselle wrote:
> Hi,
>
> Is there a way to check a checkbox by default ?
>
> In my XSD file, I tried :
> <xsd:element name="Active" type="OpenCmsBoolean"/>
> ...
> <default element="Active" value="TRUE"/>
> <default element="Active" value="true"/>
> <default element="Active" value="1"/>
> <default element="Active" value="checked"/>
>
> but nothing works. When a create a new module, checkbox are unchecked.
> What's the trick ?
>
> Thx,
> Matthias
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
_______________________________________
Coranto informatica di Antonio Cordeddu
Via Torricelli, 9 09047 Selargius (CA)
antoniocordeddu at coranto.it
http://www.coranto.it
_______________________________________


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130927/31cf6436/attachment.htm>


More information about the opencms-dev mailing list