Seam関連のドキュメント
参考
JBossドキュメント翻訳 - 日本JBossユーザ・グループ
JBoss ドキュメント - redhat
JBoss.org documentation
seamとeclipseとUTF-8と
環境
ポイント
- Eclipse 3.3.2 (europe) で .iniに -Dfile.encoding=utf-8 でutf-8化すると、コンソール出力が文字化けする。3.3.4 (ganymede) なら、おk。
- eclipse.iniに-Dfile.encoding=utf-8とpleiadesでeclipseのutf-8日本語化
- seamプロジェクト seam2.1で作成。pages.xmlにエラーが出るので、該当個所を消して再起動
- jboss-5.0.0.GA\server\default\deploy\jbossweb.sarのserver.xmlのconnecterの設定に 「URIEncoding="UTF-8"」と追加すると、URLパラメータが文字化けせずに受け取れる(参考:http://sourceforge.jp/projects/japan-jbug/wiki/JBossSeam_ja-kit
- Expression @jndiPattern@ evaluated to null. とかでたときは、components.propertiesのjndiPattern=\#{ejbName}/localをjndiPattern=#{ejbName}/localにするか、components.xmlの @jndiPattern@ を jndiPattern=\#{ejbName}/localに置き換えて、再起動。jbossフォルダ内の components.xml を直接いじらないと反映されない時がある ( 参考:[http://lists.jboss.org/pipermail/jboss-user/2008-January/105056.html:title=[jboss-user] [JBoss Seam] - Re: error while reading /WEB-INF/components.xml]
- xhtmlファイルは文字コードを宣言しないと、Shift_JISに自動判定されるので注意