• Listing 10. Passing tests in grails.

    清单10.在Grails中通过测试。

    youdao

  • Accessing a database pool from grails.

    从Grails访问数据库池。

    youdao

  • Then, enter grails generate-controller.

    然后,输入grailsgenerate-controller。

    youdao

  • Type grails stats.

    输入grailsstats。

    youdao

  • Type grails run-app to start the application.

    输入grailsrun-app启动应用程序。

    youdao

  • Take a look at grails-app/views/flight/create.gsp.

    查看一下grails-app/views/flight/create.gsp。

    youdao

  • Type grails stats at the command line to confirm this.

    在命令行输入grailsstats以确认这点。

    youdao

  • USER_HOME/.grails/scripts - user-specific event handlers

    USER_HOME/.grails/scripts——用户特定的事件处理器

    youdao

  • To begin, type grails create-tag-lib Login at the command prompt.

    首先,在命令提示下输入grailscreate-tag-libLogin。

    youdao

  • To begin, open grails-app/controllers/EntryController.groovy in a text editor.

    首先,在一个文本编辑器内打开grails-app/controllers/EntryController.groovy。

    youdao

  • When you type grails clean, the application directory under projects is deleted.

    当键入grailsclean时,projects下的application目录会被删除。

    youdao

  • To prepare a full grails application for deployment, you normally type grails war.

    要准备一个完整的grails应用程序以便部署,通常需要输入grails war。

    youdao

  • To see both the init and destroy events fire, start up grails in interactive mode by typing grails interactive.

    要查看init和destroy事件触发,输入grailsinteractive以交互模式启动grails。

    youdao

  • The script compiles code from the grails-app tree and combines it with code from the base Grails ($GRAILS_HOME) directory.

    该脚本编译grails-app树中的代码并且将其与基本Grails ($GRAILS_HOME)目录中的代码组合在一起。

    youdao

  • If all goes well, you'll have two new files waiting for you: grails-app/domain/Trip.groovy and grails-app/test/integration/TripTests.groovy.

    如果一切顺利,将得到两个新的文件:grails-app/domain/Trip.groovy和 grails-app/test/integration/TripTests.groovy。

    youdao

  • Type grails generate-all Trip to build out a grails-app/controllers/TripController.groovy class and a matching set of Groovy Server Pages (GSPs) in grails-app/views/Trip.

    输入grailsgenerate-all Trip,以构建一个grails-app/controllers/TripController.groovy类,并在 grails-app/views/Trip 中生成一组匹配的GroovyServerPage(GSP)。

    youdao

  • Running a Grails web application.

    运行一个Grailsweb应用程序。

    youdao

  • I'll also talk about Grails services.

    我还会讨论Grails服务。

    youdao

  • Writing your first Grails application.

    编写第一个Grails应用程序。

    youdao

  • Rendering JSON in a Grails controller.

    在Grails控制器中呈现json。

    youdao

  • Restart Grails if it is still running.

    如果Grails仍在运行的话,重新启动它。

    youdao

  • Listing 7. A simple custom Grails tag.

    清单7.简单的自定义grails标记。

    youdao

  • Restart Grails with these new Settings.

    使用这些设置重新启动Grails。

    youdao

  • Grails: Download the latest Grails release.

    Grails:下载最新版本的Grails。

    youdao

  • Life cycle events of Grails domain classes.

    Grails领域类的生命周期事件。

    youdao

  • Start up Grails if it isn't already running.

    如果Grails还没有运行就启动它。

    youdao

  • See Resources for more information on Grails.

    有关Grails的更多信息,请参见参考资料。

    youdao

  • Grails: This article USES Grails Version 1.0.3.

    Grails:这篇文章使用1.0.3版本的Grails。

    youdao

  • Then create a new user for your Grails instance.

    随后为您的Grails实例创建一个新用户。

    youdao

  • Now you are ready to run the Grails war command.

    现在可以运行Grailswar命令了。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定