AnsweredAssumed Answered

Engine - Proposal - Return enum values odered as in XML

Question asked by f_lombardo on Nov 22, 2012
Latest reply on Nov 23, 2012 by f_lombardo
I noticed that enum values returned by FormProperty.getType().getInformation("values") are in an impredicible order.

What do you think about sorting them in the same way they appear in the XML definition?

To do this I think it would be sufficent to change line 45 of class FormTypes this way:


      Map<String, String> values = new LinkedHashMap<String, String>();

Do you agree?

Thanks.

Bye

Franco

Outcomes