grails

Grails-1.1.1リリース

出たみたいですね。 Wiki - 1.1.1 Release Notes1.1からのマイナーバージョンアップですが、やはりGoogle App Engineへの対応が気になります。 GOOGLE APPENGINE SUPPORTGrails applications can now be deployed to Google AppEngine using Grails 1.1.1 an…

Grails in Action

コレ買ってみました。Grails in Actionposted with amazlet at 09.03.17Glen Smith Peter Ledbrook Manning Pubns Co 売り上げランキング: 91447Amazon.co.jp で詳細を見るといってもまだ発売されていないので、こちらから、MEAP(Manning Early Access Progr…

Grailsのリファレンスを閲覧するツール

Peek in Grails Grailsのリファレンスを閲覧するツールなんてあるのね。。知らなかった。 結構便利です。まだドキュメントが1.0.4だけど。

ドメインクラスにパッケージを指定しようという話

Grails Tip of the Day: Always use packages grails1.1からCategoryというドメインクラスを作ると起動時にエラーになるようです。WindowsXP + groovy-1.6.0 + grails1.1で試したところ確かにエラーに。 Environment set to development [groovyc] Compiling…

独自のユーザードメインを使う方法

ドキュメントによると、Config.groovyに authenticationUserClass = 独自のドメインクラスのように独自のドメインクラスを指定できるとなっているが、どうも期待通りの動きをしない様子。調べたところ、authentication-1.0/grails-app/services/Authenticati…

Run Grails TargetをGoogle Desktopが食ってしまう件

RunGrailsTargetはCtrl+Alt+Gに割り当てられているのが、GoogleDesktopとかぶる。http://desktop.google.com/support/bin/answer.py?hl=jp&answer=37219調べたところ、レジストリいじるしかない模様。

PERSISTENCE OF COLLECTIONS OF BASIC TYPESを試す

grails-1.1の新機能を試す。hasManyにStringとか普通のクラスを指定する。 class Person { static constraints = { name() email() } static hasMany = [nickNames:String] String name String email } このドメインクラスで、以下のテーブルが作られる。 my…

g:actionSubmitの使い方

昨晩ごにょごにょいってた件。ドキュメントに思い切り書いてあるな。。 Creates a submit button that maps to a specific action, which allows you to have multiple submit buttons in a single form. Javascript event handlers can be added using the …

grails-1.1リリース

grails-1.1がリリースされてました。Grails 1.1 リリースノート: http://www.grails.org/1.1+Release+Notes Grails 1.1 ドキュメント : http://grails.org/doc/1.1.x/ さらっと見た感じ、GORMがgrailsから独立して使えるようになったり、 hasManyでStringと…

authenticationプラグインをちょっと触る

サインアップ用のformの作り方がオフィシャルなドキュメントに書いてあったので試したのだが、どうもうまくいかない。 <g:if test="${flash.authenticationFailure}"> Login failed: ${message(code:"authentication.failure."+flash.authenticationFailure.result).encodeAsHTML()} </g:if>

Run Grails TargetをGoogle Desktopが食ってしまう件

RunGrailsTargetはCtrl+Alt+Gに割り当てられているのが、GoogleDesktopとかぶる。http://desktop.google.com/support/bin/answer.py?hl=jp&answer=37219調べたところ、レジストリいじるしかない模様。

PERSISTENCE OF COLLECTIONS OF BASIC TYPESを試す

grails-1.1の新機能を試す。hasManyにStringとか普通のクラスを指定する。 class Person { static constraints = { name() email() } static hasMany = [nickNames:String] String name String email } このドメインクラスで、以下のテーブルが作られる。 my…

grails-1.1リリース

grails-1.1がリリースされてました。Grails 1.1 リリースノート: http://www.grails.org/1.1+Release+Notes Grails 1.1 ドキュメント : http://grails.org/doc/1.1.x/ さらっと見た感じ、GORMがgrailsから独立して使えるようになったり、 hasManyでStringと…