private Container toContainer(String xml) throws Exception {
ByteArrayInputStream is = new ByteArrayInputStream(xml.getBytes());
IBindingFactory bfact = BindingDirectory.getFactory(Container.class);
IUnmarshallingContext uctx = bfact.createUnmarshallingContext();
return (Container) uctx.unmarshalDocument(is, null);
}
public static class SelectCategoryActionListener extends EventListener<UIContainerList> {
public void execute(Event<UIContainerList> event) throws Exception {
String category = event.getRequestContext().getRequestParameter(OBJECTID);