page.setResourceBundleName(bundle);
}
List<Element> moreChildElements = element.elements("in");
for (Element child: moreChildElements)
{
Input input = new Input();
input.setName( child.attributeValue("name") );
input.setValue( Expressions.instance().createValueBinding( child.attributeValue("value") ) );
String scopeName = child.attributeValue("scope");
if (scopeName!=null)
{
input.setScope( ScopeType.valueOf( scopeName.toUpperCase() ) );
}
page.getInputs().add(input);
}
return page;