fixed: sort-order (field) not works in CompoundWidgets file
In a form, when <sort-order tag is used, the children analyze not works
because, getTagName() is used not the getLocalName(). getTagName()
return "wf:sort-field" when getLocalName return "sort-field".
So change getTagName() to getLocalName() for sort-order children
@@ -646,7 +646,7 @@ public abstract class ModelForm extends ModelWidget {
fieldGroupList.add(lastFieldGroup);
// read in sort-field
for (Element sortFieldElement : UtilXml.childElementList(sortOrderElement)) {
- String tagName = sortFieldElement.getTagName();
+ String tagName = sortFieldElement.getLocalName();
if ("sort-field".equals(tagName)) {
String fieldName = sortFieldElement.getAttribute("name");
String position = sortFieldElement.getAttribute("position");
