A last slightly modified patch from James Yong for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
I have uploaded a patch for the simple methods schema. In general, the top level attributes are converted to simpleType, and attributeGroups to complexType. Changed the following attribute name 1. ‘field’ to ‘fieldType’ 2. ‘level’ to ‘levelType' Denormalize the following attributeGroups 1. attlist.compare 2. attlist.compare-field Left attributeGroup ‘typeDefaultString’ unchanged, cos it doesn’t matter. Not in use, it seem. jleroux: we also fixed an issue with <xs:element name="field" type="fieldType"/> to <xs:element ref="field"/> In the patch And I found a small issue (not minilang related) in ExampleCompoundWidgets.xml - <sm:log message="CompoundWidgetsFunc runs" sm:level="info"/> + <sm:log message="CompoundWidgetsFunc runs" level="info"/> git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1750647 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -114,7 +114,7 @@ under the License.
|
||||
|
||||
<sm:simple-methods>
|
||||
<sm:simple-method method-name="CompoundWidgetsFunc">
|
||||
<sm:log message="CompoundWidgetsFunc runs" sm:level="info"/>
|
||||
<sm:log message="CompoundWidgetsFunc runs" level="info"/>
|
||||
</sm:simple-method>
|
||||
</sm:simple-methods>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user