Summary: | [Chameleon-Autodoc]Missing attribute value dependency section | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Normand Savard <nsavard@mapgears.com> |
Component: | AutoDoc | Assignee: | Chris Thorne <cthorne@dmsolutions.ca> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chameleon-dev@lists.maptools.org |
Priority: | P2 | ||
Version: | 1.99 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
URL: | http://dev1.dmsolutions.ca/gommap/docs/gommap_widget_reference.html#mapsize | ||
Whiteboard: |
Another alternative will be to write this dependancy ("ALLOWRESIZE") in the "Dependencies" section.
The current structure of the xsd allows this flexability. What has been added to the xsd was a new restriction dependancytype value 'attribute'. <!-- Widget Dependancy Definitions: Widget Dependancies --> <xs:simpleType name="widgetdependancytype"> <xs:restriction base="xs:string"> <xs:enumeration value="none"/> <xs:enumeration value="widget"/> <xs:enumeration value="sharedresource"/> <xs:enumeration value="attribute"/> <xs:enumeration value="data"/> </xs:restriction> </xs:simpleType> Fixed in CVS. Also I have updated the MapSize en-ca doc with the new dependancy. <cham:widgetdependancies> <cham:widgetdependancy> <cham:type>attribute</cham:type> <cham:name>MapDHTML's ALLOWRESIZE Attribute</cham:name> <cham:description> MapDHTML widget must have ALLOWRESIZE attribute set to "true" to allow the MapSize widget to change the map view area within the application. </cham:description> </cham:widgetdependancy> <cham:description>In order for the widget to function, the following Chameleon features may be required.</cham:description> </cham:widgetdependancies>