Summary: | [Chameleon]test template cwcwidget000.html? | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Chris Thorne <cthorne@dmsolutions.ca> |
Component: | Widget | Assignee: | Jeff McKenna <jmckenna@gatewaygeomatics.com> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chameleon-dev@lists.maptools.org |
Priority: | P4 | ||
Version: | 1.99 | ||
Target Milestone: | 1.99 beta 4 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
The tag appears in red because the type="" attribute refers to a widget that cannot be found. If a widget can be found that matches the type, then you will not see the tag in red. CWCWidget is not a valid widget. It is the parent of all other widgets, but it cannot ever itself be created. I think that this widget test can be dropped entirely, at least from this type of testing.
the base Widget class is in the documentation so that we can describe the core attributes. The documentation should reflect that this is not actually a widget that can be created in the template. The appearance of the widget tag in red in the template is as we have designed it. It appears when anything is wrong with the tag, either the widget type or any of the attributes. Changes to how this works should be proposed as an enhancement, but I am unlikely to modify it because I think it is important that the application designer see what tags are not correct when building an application, regardless of why the tag is wrong. Jeff, please update the documentation of CWCWidget appropriately and close this bug.
accepting bug
updated version to 1.99
Changed Target Milestone to 1.99 RC
is this an issue in the new docbuilder?
No, this is not an issue in the latest version of the doc builder because the doc builder only lists widgets it finds based on filename ending in ".widget.php".
What bill is saying is that the Type="cwcwidget" is not documented at all within the widget docs. However the base attribute group (Widget.php) is documented as such which represents the same thing. This has a widget xml doc /htdocs/help/attributegroup/Base_attribute_group.en-ca.doc.xml Setting to fixed.