[
https://issues.apache.org/jira/browse/OFBIZ-4090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15226499#comment-15226499 ]
james yong commented on OFBIZ-4090:
-----------------------------------
I found that it is ok to use the original xsd files. So the template can be something like
{code:xml}
<root xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<site-conf xmlns="
http://ofbiz.apache.org/Site-Conf"
xsi:schemaLocation="
http://ofbiz.apache.org/Site-Conf http://ofbiz.apache.org/dtds/site-conf.xsd">
<!-- Insert controller entries here -->
</site-conf>
<simple-methods xmlns="
http://ofbiz.apache.org/Simple-Method"
xsi:schemaLocation="
http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
<!-- Insert simple methods here -->
</simple-methods>
<menus xmlns="
http://ofbiz.apache.org/Widget-Menu"
xsi:schemaLocation="
http://ofbiz.apache.org/Widget-Menu http://ofbiz.apache.org/dtds/widget-menu.xsd">
<!-- Insert menu widgets here -->
</menus>
<forms xmlns="
http://ofbiz.apache.org/Widget-Form"
xsi:schemaLocation="
http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
<!-- Insert form widgets here -->
</forms>
<screens xmlns="
http://ofbiz.apache.org/Widget-Screen"
xsi:schemaLocation="
http://ofbiz.apache.org/Widget-Screen http://ofbiz.apache.org/dtds/widget-screen.xsd">
<!-- Insert screen widgets here -->
</screens>
</root>
{code}
> 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: Trunk
> Reporter: Adrian Crum
> Assignee: Jacques Le Roux
> Priority: Minor
> Attachments: CompoundWidgetFiles.patch, CompoundWidgetFiles.patch, OFBIZ-4090.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 was sent by Atlassian JIRA
(v6.3.4#6332)