Sub-menu hint for object actions
Opened this issue · 1 comments
We had a little discussion on the RO.NET forum[1] about contributed actions and we agreed that a sub-menu hint would be all that is needed to support this special grouping.
{
"memberType": "action",
"subMenu":"Orders"
...
}
Typing that out now I wonder if just the more generic "grouping":"Orders" is appropriate?
This would probably not be a per-instance kind of thing so maybe extensions and the formal domain model is where it belongs.
I'd prefer "grouping" or "group" to "subMenu" - because then it could be applied to properties. N.B. It was long the intention that Naked Objects (for Java) would support grouped properties but never implemented, I think. In NO.NET the need was partially obviated by Complex Types, though grouping of properties might still be useful.
Can I suggest that the format of the grouping anticipated sub-grouping, perhaps by being a comma separated list?