Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 6th, 2012  |  syntax: None  |  size: 0.40 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Playframework - Eclipse can't detect a new template [closed]
  2. package controllers;
  3.  
  4. import play.*;
  5. import play.mvc.*;
  6.  
  7.  
  8. import views.html.*;;
  9.  
  10. public class Application extends Controller {
  11.  
  12.  
  13.  
  14. public static Result index() {
  15.     return ok(sometest.render("test"));  // this line is marked red
  16.   }
  17.  
  18. }
  19.        
  20. app
  21. --views
  22. ----index.scala.html
  23. ----main.scala.html
  24. ----sometest.scala.html
  25.        
  26. $ cd myapp
  27. $ play
  28. $ run