<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Matthias,<br>
<br>
It works fine by this way:<br>
<br>
<xsd:element name="TestBoolean" type="OpenCmsBoolean" />
<br>
...<br>
<defaults><br>
<default element="TestBoolean" value="true"
/><br>
</defaults><br>
<br>
I'm using 8.5.2 OpenCms version.<br>
<br>
Kind Regards<br>
Antonio Cordeddu<br>
<br>
On 27/09/2013 09:56, Matthias Griselle wrote:<br>
</div>
<blockquote
cite="mid:CACA8raBanrXBwUjit0YWeeKe0oOJA9zzU1GPSdVuVdyg1undRg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>Is there a way to check a checkbox by default ?</div>
<div><br>
</div>
<div>In my XSD file, I tried : </div>
<div><xsd:element name="Active" type="OpenCmsBoolean"/><br>
</div>
<div>...</div>
<default element="Active" value="TRUE"/>
<div><default element="Active" value="true"/></div>
<default element="Active" value="1"/><br>
<div><default element="Active" value="checked"/></div>
<div><br>
</div>
<div>but nothing works. When a create a new module, checkbox are
unchecked. </div>
<div>What's the trick ? </div>
<div><br>
</div>
<div>Thx, </div>
<div>Matthias</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
_______________________________________
<br>
Coranto informatica di Antonio Cordeddu
<br>
Via Torricelli, 9 09047 Selargius (CA)
<br>
<a class="moz-txt-link-abbreviated"
href="mailto:antoniocordeddu@coranto.it">antoniocordeddu@coranto.it</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.coranto.it">http://www.coranto.it</a>
<br>
_______________________________________<br>
<br>
<br>
</body>
</html>