public String getApplicationName() {
return "ExampleUlcApplication";
}
public HTMLTransition[] getHTMLTransistions(DataModel homeModel) {
ItemListModel list = (ItemListModel) homeModel;
HTMLState overview = new HTMLState("Overview", list, true, null);
HTMLState drillDown = new HTMLState("DrillDown", null, true, TEMPLATE_DrillDown);
HTMLState newItem = new HTMLState("NewItem", list.getSelected(), true, TEMPLATE_NewItem);
return new HTMLTransition[]{
new HTMLTransition(overview, HTMLFunction.EVENT_POPUP, drillDown),
new HTMLTransition(overview, EVENT_reload, new ReloadCommand(), overview),
new HTMLTransition(overview, "deleteItemCommand", new DeleteCommand(), overview),