view.setKeyListener(this);
view.setExceptionListener(controler);
view.addCommand(new ActionCommand("${view}", Command.SCREEN, 1) {
public Navigation execute(Displayable d) throws Exception {
HistoryView history = (HistoryView) d;
Period period = history.getSelectedPeriod();
return new Navigation("graph", period, null);
}
});
view.addCommand(new NavigationCommand("graph", "${back}", Command.BACK, 1));
}