Feb 15th, 2011, 01:05 PM
Order of entities in ApplicationEntityTypesProcessor
Is there any way to control the order of the entities that appear in GWT's left hand menu (proxy places list)?
Tracing through code, I found ScaffoldApp.java's getTopPlaces() calls ApplicationEntityTypesProcessor.getAll(). However, the order of the entities in getAll() seems arbitrary -- it may be reverse of order in which entities were added. Worse, these methods return HashSet which does not guarantee iterator order will be the same over time.
GUI design principles encourage consistent and logical arrangement of menus.
Is there any way (perhaps an annotation) that I could use to customize the entity order?
Unfortunately, ApplicationEntityTypesProcessor.java is one of those "DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO." files in ROO 1.1.1.
Feb 15th, 2011, 01:38 PM
Duplicate Post - please delete
My apologies, I inadvertently re-started this thread.
Tags for this Thread