[
https://issues.apache.org/jira/browse/OFBIZ-4090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978686#action_12978686
]
Adrian Crum commented on OFBIZ-4090:
------------------------------------
Here is the root schema I tried:
{code}
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xs:element name="root">
<xs:complexType>
<xs:all minOccurs="0" maxOccurs="1">
<xs:element name="site-conf"/>
<xs:element name="simple-methods"/>
<xs:element name="forms"/>
<xs:element name="menus"/>
<xs:element name="trees"/>
<xs:element name="screens"/>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>
{code}
In Eclipse, you can right-click on an XML element and a popup menu appears with
valid selections for that element - based on the schema. I can't provide a
screen shot because now the popup menu doesn't show any suggestions from the
schema. I'm almost certain it's a bug in Eclipse's XML editor.
> Add Support For Compound Screen Widget XML Files
> ------------------------------------------------
>
> Key: OFBIZ-4090
> URL: https://issues.apache.org/jira/browse/OFBIZ-4090
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Adrian Crum
> Priority: Minor
> Attachments: CompoundWidgetFiles.patch, CompoundWidgetFiles.patch
>
>
> Add the ability to include screen widgets, form widgets, menu widgets, and
> simple methods in a single XML file. This approach could be used in
> situations where the widgets share a logical grouping - so they can be kept
> in one place.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.