[
https://issues.apache.org/jira/browse/OFBIZ-6667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15244604#comment-15244604 ]
Jacques Le Roux commented on OFBIZ-6667:
----------------------------------------
Don't we lose some information about main and secondary here? I also understand that those values are OOTB (and not even in all themes) so maybe just a sentence about it in the documentation attribute would be cool?
> Remove limitation regarding menu-name in ofbiz-component.xsd
> ------------------------------------------------------------
>
> Key: OFBIZ-6667
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6667> Project: OFBiz
> Issue Type: Sub-task
> Components: framework
> Affects Versions: Trunk
> Reporter: Pierre Smits
> Assignee: Pierre Smits
> Labels: menus
> Attachments: OFBIZ-6667-ofbiz-component.xsd.patch
>
>
> Currently the following is in the ofbiz-component.xsd:
> {code}
> <xs:attribute name="menu-name" default="main">
> <xs:simpleType>
> <xs:restriction base="xs:token">
> <xs:enumeration value="main"/>
> <xs:enumeration value="secondary"/>
> </xs:restriction>
> </xs:simpleType>
> </xs:attribute>
> {code}
> However, this is limiting the options that can be applied generates unnecessary errors when developers opt for another methodology.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)