Author: jonesde
Date: Wed May 28 19:23:55 2008
New Revision: 661182
URL:
http://svn.apache.org/viewvc?rev=661182&view=revLog:
Added type attribute to drop-down element for auto-complete variation; will use a server-side event that gets the form name/location and the field name from the session and then look at the form definition to see the option tags under the drop-down element to see what to query on along with the partial text entered for the results to send back to the client
Modified:
ofbiz/trunk/framework/widget/dtd/widget-form.xsd
Modified: ofbiz/trunk/framework/widget/dtd/widget-form.xsd
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/dtd/widget-form.xsd?rev=661182&r1=661181&r2=661182&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/dtd/widget-form.xsd (original)
+++ ofbiz/trunk/framework/widget/dtd/widget-form.xsd Wed May 28 19:23:55 2008
@@ -601,6 +601,15 @@
</xs:complexType>
</xs:element>
<xs:attributeGroup name="attlist.drop-down">
+ <xs:attribute name="type" default="traditional">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="traditional"/>
+ <xs:enumeration value="auto-complete-server"/>
+ <!-- <xs:enumeration value="auto-complete-client"/> something to consider for the future -->
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
<xs:attribute name="allow-empty" default="false">
<xs:simpleType>
<xs:restriction base="xs:token">