You need to log in before you can comment on or make changes to this bug.
The 'ENABLED' attribute in widget tags is not having an effect on widgets.
Changed target to 1.99 beta 3.
taking this one
working on it now ...
ENABLED now works, setting enabled="false" will essentially remove the widget from all processing including getting drawn. Disabled widgets will be output into the template as an html comment, as in: <!--<cwc2 enabled="true" type="Title" label="Chameleon Sample - Base Widgets" labelclass="title"/>--> It also removes all javascript and html form vars associated with the widget. Use with caution. fix is in cvs.
* I set the query widget in nav_basic.html enable="false" * loaded: http://localhost/chameleon/samples/sample_enhanced.phtml The Identify tool no longer works and when viewing source the widget tag Query is commented out. verified on windows using beta3 20041022 set to verified
It is not working as expected on Fedora Core 2 and Chameleon beta 3 20041022. I followed Chris procedure (comment #5) but the query widget is still working. See widget attributes settings below. ------------------------ Attribute settings: <!-- QUERY --> <td><cwc2 type="Query" visible="true" enable="false" imagetip="Identify Feature" PopupWidth="500" PopupHeight="600" Toolbar="false" Status="false" Menubar="false" RADIUS="3" MAXFEATURES="5" image="icons/icon_query.png" toolset="Navigation" styleresource="NavButtons" popupstyleresource="TextButtons" highlightresults="false" popupresults="true" allowrectangle="true" persistentresults="true" submitpage="false"> <image state="normal"/> <image state="hover"/> <image state="selected"/> </cwc2></td>
see summary. Attribute name is ENABLED, not ENABLE.
Verified on Fedora Core 2. I need to ready more carefully.