gvm から名前が変わって、sdkになっていたので、それに応じてページを変更しました。 sdkツールのインストール
gvm から名前が変わって、sdkになっていたので、それに応じてページを変更しました。 sdkツールのインストール
Grailsのドメインクラスにおいて、いくつかの候補の数値のいずれか、というフィールドを作成し、scaffoldで生成した画面からCRUD操作したいとします。 簡単なのは、こうですね。 class Domain { Integer something static constraints = { something inList:[1,2,3] } } しかし数値フィールドに量としてではなく個々の値にそれぞれの意味がある場合、たとえば、腹の状態を表すフィールドの値として、 1: はらぺこ 2:まんぷく 3:こばらがへった を表現するようなものだったとします。このとき、すくなくとも、Scaffoldの画面上では数値ではなく意味のわかる文字列で表示したり選択入力させたいわけです。しかしデータそのものを文字列にするのもDB上の表現をそうしたくないのでいやだとします*1。 ということでenumの出
There are tons of websites or web applications live in today’s date which might have been made using certain “Java framework”. You might have even heard that these frameworks are available on different technology platforms like .NET and JAVA and are becoming quite popular these days because of the increasing demand of developing websites and web applications. Top 5 Java Frameworks However, many of
Welcome the Bear! Bear is a lightweight remote automation tool for Groovy/Java/JVM. Bear allows your to deploy projects, setup your cluster and install software to your remote machines. Bear differs from other existing tools in that it's using programmatic approach. In Bear your deployment is a regular Java class which may have it's main(). Bear loves static type safety, chained method calls, FP a
The day two at GGX ’13, London continued to be spell binding and fun filled. The sessions, again, were really nice and proved to be valueable and insightful. Here are some of the highlights: Road To Grails 3.0 – By Graeme Rocher The session started with overview of the new features of Grails 2.3 and then moved to Grails 3.0. The session covered features like dependency resolution with Aether, Fork
Error 522 -- Event ID: 4b15108f4a829390 如果您是网站管理员,点击查看。如需网站监控,可以使用百度安全指数。
Grails 1.2から実装された、i18nでのクラス名プロパティ名対応は、スカッフォルド時の強い味方です。 おさらい。 i18nの messages.propertieに以下のように記述できるようになりました。これらの設定をおこなうとデフォルトのエラーメッセージにも定義した内容で表示されます。i18m-templateプラグインとほぼ同等です。 book.label = ラベル book.title.label = ラベルの名称※ついでですが、まだ報告をあげていない、最新版の messages_ja.propertie は、以下に置いてあります。 http://gist.github.com/258601 Grails 1.3.0でしか、テストしていませんが、ドメインクラスのコメント情報から、i18nのmessages_xx.propertiesに、ラベルを追記するスクリプトを書いてみま
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く