Hi
The page templates are obtained from the registry already as an unordered list
and then their availability is checked one after the other.
You can define a comparatorClass on the SelectFieldDefinition under
'modules/pages/dialogs/createPage/form/tabs/tabPage/fields/template' and order
the templates the way you want as a work-around.
Here's a snippet:
class MyComparator implements java.util.Comparator<SelectFieldDefinition> {
@Inject
MyComparator(Whatever whatever) {}
..
}
Hope this helps!
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=d212f191-cda7-443e-b8ca-ae6083558aa8
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------