<div>HI</div>
<div>May set the Listener to null and may call the garbageCollector.<br>Build a loop which sets it to null if nothing is checked.</div>
<div>But i don't know if there are some bugs...but for my expirience the opencms source is very structured and doesn't provides code which will not work, maybe a few methods should be set to pulbic ;)<br>Andy<br><br> </div>

<div><span class="gmail_quote">2006/10/2, peter felkel <<a href="mailto:peter_hamburg@fastmail.fm">peter_hamburg@fastmail.fm</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello *,<br><br>i´m experiencing the following problem:<br><br>I have created my own widget containing some checkboxes.
<br>after editing a resource containing this widget the checkbox values are<br>set via<br>I_CmsWidgetParameter.setStringValue. (merged String of all active<br>checkboxes)<br><br><br>Here is the setEditorValue method of my Widget:
<br><br>   public void setEditorValue(CmsObject cms, Map formParameters,<br>   I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) {<br>       LOG.error("executed: setEditorValue");<br>       String[] values = (String[]) 
formParameters.get(param.getId());<br>       if (values != null) {<br>           param.setStringValue(cms, createParamValue(values));<br>       }<br>       else {<br>           param.setStringValue(cms, null);<br>       }
<br>   }<br><br>In addition i have implemented the Cms Event Listener, which reads the<br>property of an edited Resource.<br><br><br>Everything works fine. Selected checkboxes are set after editing a<br>resource, and the property, read at the eventlistener contains the right
<br>value.<br>But if i uncheck all checkboxes (expecting to get a nullproperty at the<br>listener), i get the "old" propertyvalue containing the string of the<br>pre-edit status.<br><br><br>Is there any known bug ?
<br>I´m looking at my sourcecode now for a while but can´t find any semantic<br>errors.<br><br><br>Any hint/help appreciated<br><br>regards Peter F.<br><br><br><br>--<br>peter felkel<br><a href="mailto:peter_hamburg@fastmail.fm">
peter_hamburg@fastmail.fm</a><br><br>--<br><a href="http://www.fastmail.fm">http://www.fastmail.fm</a> - The way an email service should be<br><br><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/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div>
<br>