Hello Tobias,<br><br>thank you for the information! I will try it out tonight.<br><br>If you hear nothing else it means I got it working :)<br><br>Best regards,<br>Yves<br><br><div class="gmail_quote">On 26 January 2012 09:08, Tobias Herrmann <span dir="ltr"><<a href="mailto:t.herrmann@alkacon.com">t.herrmann@alkacon.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Yves,<br>
<br>
the alias for the CheckboxWidget is 'BooleanWidget'. You can either
use the alias or the qualified class name:<br>
<br>
<layout element="PublishedInBook" widget="BooleanWidget" /><br>
<br>
or<br>
<br>
<layout element="PublishedInBook"
widget="org.opencms.widgets.CmsCheckboxWidget" /><br>
<br>
You can find all available core widgets within the opencms-vfs.xml
configuration file beneath /opencms/xmlcontent/widgets/.<br>
<br>
Greetings, Tobias<br>
<pre cols="300">--
Alkacon Software GmbH - The OpenCms Experts
<a href="http://www.alkacon.com" target="_blank">http://www.alkacon.com</a> -- <a href="http://www.opencms.org" target="_blank">http://www.opencms.org</a>
</pre>
<br>
Am 25.01.2012 22:51, schrieb Yves Glodt:
<blockquote type="cite"><div><div class="h5">Hello,<br>
<br>
I can not get the CheckboxWidget to work...<br>
<br>
(This page states it exists: <a href="http://opencms-wiki.org/Defining_OpenCMS_structured_XML_content" target="_blank">http://opencms-wiki.org/Defining_OpenCMS_structured_XML_content</a>
)<br>
<br>
I tried with OpenCmsString and OpenCmsBoolean (?) as type.<br>
<br>
Here the exception when editing the classic structured content<br>
<br>
Unable to unmarshal XML content definition schema
"opencms://sites/mysite/page2.xsd".<br>
Reason: Invalid custom widget class "CheckboxWidget" for element
"PublishedInBook" in content definition
"opencms://sites/mysite/page2.xsd".<br>
Reason: CheckboxWidget<br>
<br>
And later down then this:<br>
<pre><pre>Caused by: java.lang.ClassNotFoundException: CheckboxWidget</pre></pre>
<br>
Here the config:<br>
<br>
...<br>
<xsd:element name="PublishedInBook" type="OpenCmsString" /><br>
...<br>
<layout element="PublishedInBook" widget="CheckboxWidget" /><br>
...<br>
<br>
I use OpenCms 8.0.3 with PostgreSQL 9.1.<br>
<br>
Thanks for any input,<br>
Yves<br>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
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 href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
</div>
<br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br>