String type = element.getString("type", "field");
if (type.equals("field")) {
next = new LField();
} else
if (type.equals("page")) {
next = new LPage();
load(element,(LComposite) next);
} else
if (type.equals("tabbed")) {
next = new LTabbed();
load(element,(LComposite) next);