Package models

Examples of models.DataModel


// in your application.conf file, and "play eclipsify"
// if you notice the JapidController is not found.

public class Perf extends JapidController {
  public static void perf() {
    DataModel model = DataModel.dataModel;
    DataModel.User loggedInUser = model.getLoggedInUser();

//    renderArgs.put("title", "Entries");
//    renderArgs.put("loggedInUser", loggedInUser);
//    renderArgs.put("entries", model.getEntries());

    renderJapid("Entries", loggedInUser, model.getEntries());
  }
View Full Code Here


// in your application.conf file, and "play eclipsify"
// if you notice the JapidController is not found.

public class Perf extends JapidController2 {
  public static void perf() {
    DataModel model = DataModel.dataModel;
    DataModel.User loggedInUser = model.getLoggedInUser();

//    renderArgs.put("title", "Entries");
//    renderArgs.put("loggedInUser", loggedInUser);
//    renderArgs.put("entries", model.getEntries());

    renderJapid("Entries", loggedInUser, model.getEntries());
  }
View Full Code Here

TOP

Related Classes of models.DataModel

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.