Package net.sf.nfp.mini.view

Examples of net.sf.nfp.mini.view.InputView


        return new Navigation("graph", period, null);
      }
    });
    view.addCommand(new ActionCommand("${save}", Command.BACK, 1) {
      public Navigation execute(Displayable d) throws Exception {
        InputView form = (InputView) d;
        Observation observation = form.getObservation();
        Observation existing = getObservationAt(observation.getDate());
        if (existing != null) {
          return new Navigation("confirm-overwrite", existing,
              new Navigation("save-observation", period, observation),
              new Navigation("graph", period, existing));
View Full Code Here


  }

  protected void createNavigation() {
    pages.put("input", new LazyInit() {
      public Page create() {
        return new Page(new InputModel(NFPControler.this), new InputView());
      }
    });
    pages.put("graph", new LazyInit() {
      public Page create() {
        return new Page(new GraphModel(NFPControler.this), new GraphView());
View Full Code Here

TOP

Related Classes of net.sf.nfp.mini.view.InputView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.