Giter Club home page Giter Club logo

Comments (6)

amitjindal avatar amitjindal commented on August 27, 2024

I kind of have the similar problem.
I am a newbie myself so forgive if this is something stupid.

I am trying something different. I copied the sources in my play project (2.3.1) hoping I can fix the issues and see if I can get this directly integrated.

[error] /workroot/app/play/utils/crud/views/edit.scala.html:13: value RouterCrudController is not a member of object play.utils.crud.routes
[error] @Form(if(key != null) { play.utils.crud.routes.RouterCrudController.update(model.getName, key + "") }
[error] ^
[error] /workroot/app/play/utils/crud/views/index.scala.html:23: value RouterCrudController is not a member of object play.utils.crud.routes
[error] @Messages(item)
[error] ^
[error] /workroot/app/play/utils/crud/views/list.scala.html:16: value RouterCrudController is not a member of object play.utils.crud.routes
[error]

@Messages("crud.createNew")


[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:13: value Assets is not a member of object play.utils.crud.routes
[error]
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:14: value Assets is not a member of object play.utils.crud.routes
[error]
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:15: value Assets is not a member of object play.utils.crud.routes
[error]
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:16: value Assets is not a member of object play.utils.crud.routes
[error]
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:17: value Assets is not a member of object play.utils.crud.routes
[error]
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:46: value Assets is not a member of object play.utils.crud.routes
[error] <script src='@play.utils.crud.routes.Assets.at("javascripts/json2.js")' type="text/javascript"></script>
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:47: value Assets is not a member of object play.utils.crud.routes
[error] <script src='@play.utils.crud.routes.Assets.at("javascripts/jquery-1.7.1.min.js")' type="text/javascript"></script>
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:48: value Assets is not a member of object play.utils.crud.routes
[error] <script src='@play.utils.crud.routes.Assets.at("javascripts/bootstrap.min.js")' type="text/javascript"></script>
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:49: value Assets is not a member of object play.utils.crud.routes
[error] <script src='@play.utils.crud.routes.Assets.at("javascripts/jasny-bootstrap.min.js")' type="text/javascript"></script>
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:50: value Assets is not a member of object play.utils.crud.routes
[error] <script src='@play.utils.crud.routes.Assets.at("javascripts/play2-crud.js")' type="text/javascript"></script>

I even tried to change this by removing routes in this but it didn't help (obviously).

So I am confused. Why does this code has routes in it when there does not seems to be any such package. If this is referring to the "routes" file then that also does not have the same naming/package. So how will this resolve?

Please help.

from play2-crud.

hakandilek avatar hakandilek commented on August 27, 2024

How do you compile? Which play version on which platform? Which version of play2-crud?

If you can provide some details, I can try to help.

from play2-crud.

amitjindal avatar amitjindal commented on August 27, 2024

Hi, I was using 2.3.x version. To compile: activator compile

from play2-crud.

jaroinz avatar jaroinz commented on August 27, 2024

hi there, at the end I gave up on that example. I´ve started following a
book instead in my spare time, decided to learn scala and use it for a
small project.

On 18 September 2014 13:15, Amit Jindal [email protected] wrote:

Hi, I was using 2.3.x version. To compile: activator compile

Reply to this email directly or view it on GitHub
#39 (comment)
.

from play2-crud.

hakandilek avatar hakandilek commented on August 27, 2024

@amitjindal integration is quite straightforward. please upgrade to the latest play2-crud version and use one of the sample projects as your starting point.

from play2-crud.

hakandilek avatar hakandilek commented on August 27, 2024

@jaroinz i wish you luck on your journey. 👍

from play2-crud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.