From svnnotify @ sourceforge.jp Mon Dec 3 11:29:59 2007
From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp)
Date: Mon, 03 Dec 2007 11:29:59 +0900
Subject: [Jetspeed-japan-trans] [24] contribution from N2SM, Inc.
Message-ID: <1196648999.078752.1519.nullmailer@users.sourceforge.jp>
Revision: 24
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=jetspeed-japan&view=rev&rev=24
Author: shinsuke
Date: 2007-12-03 11:29:58 +0900 (Mon, 03 Dec 2007)
Log Message:
-----------
contribution from N2SM, Inc.
Modified Paths:
--------------
jetspeed-2-trans/trunk/ja/xdocs/guides/guide-demo.xml
jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml
jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-velocity-portlet.xml
jetspeed-2-trans/trunk/ja/xdocs/guides/guide-tomcat-sso-cross-context-j2-realm.xml
jetspeed-2-trans/trunk/xdocs/assignment.xml
-------------- next part --------------
Modified: jetspeed-2-trans/trunk/ja/xdocs/guides/guide-demo.xml
===================================================================
--- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-demo.xml 2007-11-26 10:55:51 UTC (rev 23)
+++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-demo.xml 2007-12-03 02:29:58 UTC (rev 24)
@@ -23,17 +23,28 @@
To get a quick look at the Jetspeed decorators, themes,
+
Jetspeedデコレータのクイックルック、テーマ、機能、そして管理者インターフェースを確認するために
+ 標準のポータルデモ、または
+ web2.0デスクトップデモ
+ をブラウザ上で動かすことが出来ます。
+ ユーザ名「admin」、パスワード「j2」で接続して下さい。
+ 注意:誰かによってパスワードが変えられる可能性もあるのでサイトは定期的に更新する予定です。
+
+
+ このガイドはportlet視点モードの1個のテンプレートで簡単にJSF portletを + 作成するチュートリアルを提供します。 +
++
+ jsf-simplest/WEB-INF ディレクトリでportlet.xmlを作成してください。 + +
++
+ コマンドを使用して、jsf-simplest/WEB-INF/classes ディレクトリで + クラスをコンパイルしてください。 + +
+
+ jsf-simplest/WEB-INF ディレクトリでportlet.xmlを作成してください。 + +
+
+ jsf-simplest/WEB-INF ディレクトリでweb.xmlを作成してください。 + +
+
+ jsf-simplest/WEB-INF/view ディレクトリでview.jspを作成してください。 + +
+
+ jsf-simplest/WEB-INF ディレクトリでfaces-config.xmlを作成してください。 + + +
+
+ WEB-INF/lib ディレクトリへ依存するJARをコピーしてください。 + これらのjarが Maven リポジトリになければなりません。 + lib ディレクトリにてこれらのコマンドを実行するとセットアップされます。 + +
+
+ コマンドを使用することでjsf-simplest ディレクトリはWARファイル化されます。 + +
+
$CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy
.
Jetspeed-2 will deploy the webapp.
+
+ $CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy
へWARファイルをコピーします。
+ Jetspeed-2はwebappを配備します。
+
+ admin
password
admin
has permission to edit all pages.
+
+ Jetspeed portlet chooser を使用して、PSMLページを作成してください。
+ ログイン後に編集ページアイコンをクリックしてください。
+ クリックでportletアイコンを加えてください。
+ チェックボックスでJSFSimplestPortletをページに追加してください。
+ あなたのユーザにはページを編集する許可がなければなりません。
+ ユーザ admin
パスワード admin
には、すべてのページを編集する許可があります。
+
This guide provides a tutorial for creating a very simple Velocity portlet with one template in the portlet view mode.
-+ このガイドは、portlet閲覧モードで1つのテンプレートを使用し、 + 非常に単純なVelocityポートレットをつくるためのチュートリアルを提供します。 +
+Create the file VelocitySimplest.java in a directory called velocity-simplest/WEB-INF/classes: @@ -46,14 +56,38 @@ }
++ velocity-simplest/WEB-INF/classesディレクトリで、VelocitySimplest.javaファイルを作成しください。 + +
+Compile the class in the velocity-simplest/WEB-INF/classes directory using the command,
++ 下記のコマンドを使用して、velocity-simplest/WEB-INF/classesディレクトリでそのクラスをコンパイルしてください。 + +
Create the file portlet.xml in the velocity-simplest/WEB-INF directory.
++ velocity-simplest/WEB-INFディレクトリでportlet.xmlファイルを作成してください。 + +
Create the file web.xml in the velocity-simplest/WEB-INF directory.
++ velocity-simplest/WEB-INFディレクトリでweb.xmlファイルを作成してください。 + +
Create the world.vm file in the velocity-simplest/WEB-INF/view directory. Put whatever content @@ -126,8 +214,25 @@ $renderResponse.namespace
++ velocity-simplest/WEB-INF/viewディレクトリでworld.vmファイルを作成してください。 + その中で、あなたが希望するどのような内容でも置いてください。 + テンプレートファイルがポートレットinitパラメータであるViewPageで定義されることに注意してください。 + PortletConfig,RenderRequest,そしてRenderResponseオブジェクトは、Velocityテンプレートを使用するために、Velocity前後関係に自動的に置かれます。 + これらmethodsとpropertiesの2、3を示すサンプルテンプレートは、ここにあります。 + +
+Copy the commons-beanutils-1.7.0.jar, commons-collections-3.1.jar, commons-digester-1.7.jar, portals-bridges-velocity-1.0.jar, @@ -146,22 +251,55 @@ ln -s ~/.maven/repository/velocity-tools/jars/velocity-tools-1.1.jar
++ commons-beanutils-1.7.0.jar, commons-collections-3.1.jar, + commons-digester-1.7.jar, portals-bridges-velocity-1.0.jar, + velocity-1.4.jar, そしてvelocity-tools-1.1.jarをvelocity-simplest/WEB-INF/libディレクトリへコピーしてください。 + 重要: + warファイル内にはportlet-api-1.0.jarを配置しないでください。 + あなたがJetspeedをすでにビルドしたのであれば、これらのjarはあなたのMavenリポジトリになければなりません。 + もし、libディレクトリにおいてこれらのコマンドを実行するならば、依存がセットアップされます。 + +
From the directory velocity-simplest combine the files above into a war file using the command,
++ velocity-simplestディレクトリから、下記コマンドを使用し、warファイル上にファイルを結合してください。 + +
Copy the war file to $CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy
.
Jetspeed-2 will deploy the webapp.
+ warファイルを$CATALINA_HOME/webapps/jetspeed/WEB-INF/deployへコピーしてください。 + Jetspeed-2がWeb アプリケーションへ配備されます。 +
Create the PSML page using the Jetspeed portlet chooser. Login and click on the
edit page icon.
@@ -169,6 +307,13 @@
password
admin
has permission to edit all pages.
+ Jetspeed portlet選択を利用し、PSMLページを作成してください。 + ログイン後、編集ページアイコンをクリックしてください。 + あなたのユーザーは、ページを編集する許可がなければなりません。 + admin(ユーザ)/admin(パスワード)は、すべてのページを編集する許可があります。 +
This guide provides a tutorial for creating a shared authentication Realm between multiple webapps running in the same Tomcat(>=5.5) container.
-+ このガイドは、同じTomcat(v5.5以上)コンテナ上の複数のWeb アプリケーションの間で、 + 共有された認証レルムを作成するためのチュートリアルを提供します。 +
+Realms are configured in the Engine element of $CATALINA_HOME/conf/server.xml. Move the Jetspeed Realm element from $CATALINA_HOME/conf/Catalina/localhost/jetspeed.xml to $CATALINA_HOME/conf/server.xml replacng or commenting out the UserDatabase Realm.
++ レルムは$CATALINA_HOME/conf/server.xmlのEngine要素で構成されます。 Jetspeedレルム要素を$CATALINA_HOME/conf/Catalina/localhost/jetspeed.xmlから、UserDatabaseレルムを置き換えもしくはコメントアウトした$CATALINA_HOME/conf/server.xmlへ移動してください。 + +
Uncomment the Tomcat single sign on Valve in $CATALINA_HOME/conf/server.xml.
++ $CATALINA_HOME/conf/server.xml内のTomcatのシングルサインオンバルブのコメントを外してください。 + +
Create a security-constraint in each webapp web.xml descriptor.
++ それぞれのWeb アプリケーションのweb.xml記述でセキュリティ規制を作成してください。 + +
1. The default Tomcat Realm must be replaced, removed, or commented out. A known side effect of this prevents the Tomcat manager application from working. It can be resolved by using the Jetspeed realm in $CATALINA_HOME/server/webapps/manager/manager.xml.
++ 1. デフォルトTomcat レルムは置き換えられなければならないか、取り除かれなければならないか、コメントアウトされなければなりません。この既知の副作用は、Tomcatマネージャアプリケーションが働くのを防ぎます。それは、$CATALINA_HOME/server/webapps/manager/manager.xmlのJetspeedレルムを用いて解決することができます。 + +
+2. Authentication must be made in Jetspeed before accessing other webapps.
++ 2. 他のwebappsにアクセスする前に、Jetspeedで認証を作成しなければなりません。 +
This guide provides a tutorial for creating a very simple JSF portlet with one template in the portlet view mode. -
このガイドはportlet視点モードの1個のテンプレートで簡単にJSF portletを 作成するチュートリアルを提供します。
-
jsf-simplest/WEB-INF ディレクトリでportlet.xmlを作成してください。 +
++ Compile the class in the jsf-simplest/WEB-INF/classes directory using the command,
-+
コマンドを使用して、jsf-simplest/WEB-INF/classes ディレクトリで クラスをコンパイルしてください。 +
-+ Create the file portlet.xml in the jsf-simplest/WEB-INF directory. +
+jsf-simplest/WEB-INF ディレクトリでportlet.xmlを作成してください。 +
-+ Create the file web.xml in the jsf-simplest/WEB-INF directory. +
+jsf-simplest/WEB-INF ディレクトリでweb.xmlを作成してください。 +
--
jsf-simplest/WEB-INF/view ディレクトリでview.jspを作成してください。 +
--
jsf-simplest/WEB-INF ディレクトリでfaces-config.xmlを作成してください。 -
-
WEB-INF/lib ディレクトリへ依存するJARをコピーしてください。 これらのjarが Maven リポジトリになければなりません。 lib ディレクトリにてこれらのコマンドを実行するとセットアップされます。 +
-+ From the directory jsf-simplest combine the files above into a war file using the command, +
+コマンドを使用することでjsf-simplest ディレクトリはWARファイル化されます。 +
--
$CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy
.
Jetspeed-2 will deploy the webapp.
+
$CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy
へWARファイルをコピーします。
Jetspeed-2はwebappを配備します。
Create the PSML page using the Jetspeed portlet chooser. Login and click on the
edit page icon. Click on the add portlet icon.
Checkbox and add the JSFSimplestPortlet to your page.
Your user must have the permission to edit pages. The user admin
password
admin
has permission to edit all pages.
+
Jetspeed portlet chooser を使用して、PSMLページを作成してください。 ログイン後に編集ページアイコンをクリックしてください。 From karma @ jazz.email.ne.jp Wed Dec 5 14:58:48 2007 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Wed, 05 Dec 2007 14:58:48 +0900 Subject: [Jetspeed-japan-trans] guides/guide-simple-jsf-portlet.xml In-Reply-To: <1196831974.173989.31713.nullmailer@users.sourceforge.jp> References: <1196831974.173989.31713.nullmailer@users.sourceforge.jp> Message-ID: <87tzmxbs2v.wl%karma@jazz.email.ne.jp> 加藤泰文です. >>> On Wed, 05 Dec 2007 14:19:34 +0900 in message "[Jetspeed-japan-trans] [25] fix how to use html tag valid" -san wrote: > Modified Paths: > -------------- > jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml 差分ご覧いただければ分かると思いますが,N2SM さん翻訳の文書の修正を行 いました.とは言っても,訳そのものは全く触ってませんので,初稿のままと してます. 翻訳作業で加えられた部分に対する修正と,原文の構造そのものがおかしいの で修正している部分があります.どちらも原因は同じで 「
タグはインライン要素しか含むことが出来ない」 に反していたと言うところです. ○翻訳部分 全体的に
... ...
という部分が多いですが,これは,HTML に変換されると...
... となります.
はブロック要素ですので,HTML 的に invalid になりま す.そこで,...
...
という風にしています. 意味的には段落が切れると変という気がする部分もなくはないですが,こうい う場合 HTML 的にどうするのが良いかまでは分かりませんので,HTML 的に正 しいようにしました. 必要であれば,Jetspeed 本体の方も修正ください. -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://www.ne.jp/asahi/ka/to/ ============================================== From karma @ jazz.email.ne.jp Wed Dec 5 15:04:18 2007 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Wed, 05 Dec 2007 15:04:18 +0900 Subject: [Jetspeed-japan-trans] guides/guide-simple-jsf-portlet.xml In-Reply-To: <87tzmxbs2v.wl%karma@jazz.email.ne.jp> References: <1196831974.173989.31713.nullmailer@users.sourceforge.jp> <87tzmxbs2v.wl%karma@jazz.email.ne.jp> Message-ID: <87sl2hbrtp.wl%karma@jazz.email.ne.jp> 加藤泰文です. この文書,文章部分がほとんどないので,つっこみようもないような気がしま すが... (^_^;) 唯一,"portlet view mode" という部分.「portlet視点モード」とあります が,ここは,単純に「ポートレット view モード」もしくは「ポートレットの ビューモード」で良いような気がしますが,どうでしょ? 日本語だと「表示モード」かな? -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://www.ne.jp/asahi/ka/to/ ============================================== From shinsuke @ yahoo.co.jp Thu Dec 6 01:21:03 2007 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Thu, 06 Dec 2007 01:21:03 +0900 Subject: [Jetspeed-japan-trans] guides/guide-simple-jsf-portlet.xml In-Reply-To: <87tzmxbs2v.wl%karma@jazz.email.ne.jp> References: <1196831974.173989.31713.nullmailer@users.sourceforge.jp> <87tzmxbs2v.wl%karma@jazz.email.ne.jp> Message-ID: <4756CFEF.7060604@yahoo.co.jp> 菅谷です。 ありがとうございます。 > 必要であれば,Jetspeed 本体の方も修正ください. 了解です(ちょっとすぐには時間がとれませんが、 なんとかします・・・)。 shinsuke KATOH Yasufumi wrote: > 加藤泰文です. > >>>> On Wed, 05 Dec 2007 14:19:34 +0900 > in message "[Jetspeed-japan-trans] [25] fix how to use html tag valid" > -san wrote: > >> Modified Paths: >> -------------- >> jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml > > 差分ご覧いただければ分かると思いますが,N2SM さん翻訳の文書の修正を行 > いました.とは言っても,訳そのものは全く触ってませんので,初稿のままと > してます. > > 翻訳作業で加えられた部分に対する修正と,原文の構造そのものがおかしいの > で修正している部分があります.どちらも原因は同じで > > 「タグはインライン要素しか含むことが出来ない」 > > に反していたと言うところです. > > ○翻訳部分 > > 全体的に
...となっていたので, >という順にいじってます. > > ○原文部分 > >> ... > > ... >
> > という部分が多いですが,これは,HTML に変換されると > >> ... >
>> ... > > > となります.はブロック要素ですので,HTML 的に invalid になりま > す.そこで, > >> ... >
>>>> ... >
> > という風にしています. > > 意味的には段落が切れると変という気がする部分もなくはないですが,こうい > う場合 HTML 的にどうするのが良いかまでは分かりませんので,HTML 的に正 > しいようにしました. > > 必要であれば,Jetspeed 本体の方も修正ください. > -------------------------------------- New Design Yahoo! JAPAN 2008/01/01 http://pr.mail.yahoo.co.jp/newdesign/ From shinsuke @ yahoo.co.jp Thu Dec 6 01:22:26 2007 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Thu, 06 Dec 2007 01:22:26 +0900 Subject: [Jetspeed-japan-trans] guides/guide-simple-jsf-portlet.xml In-Reply-To: <87sl2hbrtp.wl%karma@jazz.email.ne.jp> References: <1196831974.173989.31713.nullmailer@users.sourceforge.jp> <87tzmxbs2v.wl%karma@jazz.email.ne.jp> <87sl2hbrtp.wl%karma@jazz.email.ne.jp> Message-ID: <4756D042.9010505@yahoo.co.jp> 菅谷です。 確認していただきありがとうございます。 > 日本語だと「表示モード」かな? 翻訳するときには、これにしてます。 shinsuke KATOH Yasufumi wrote: > 加藤泰文です. > > この文書,文章部分がほとんどないので,つっこみようもないような気がしま > すが... (^_^;) > > 唯一,"portlet view mode" という部分.「portlet視点モード」とあります > が,ここは,単純に「ポートレット view モード」もしくは「ポートレットの > ビューモード」で良いような気がしますが,どうでしょ? > > 日本語だと「表示モード」かな? > -------------------------------------- New Design Yahoo! JAPAN 2008/01/01 http://pr.mail.yahoo.co.jp/newdesign/ From svnnotify @ sourceforge.jp Thu Dec 6 10:58:28 2007 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 06 Dec 2007 10:58:28 +0900 Subject: [Jetspeed-japan-trans] [26] fix translate Message-ID: <1196906308.174306.17019.nullmailer@users.sourceforge.jp> Revision: 26 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=jetspeed-japan&view=rev&rev=26 Author: karma Date: 2007-12-06 10:58:27 +0900 (Thu, 06 Dec 2007) Log Message: ----------- fix translate Modified Paths: -------------- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml -------------- next part -------------- Modified: jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml =================================================================== --- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml 2007-12-05 05:19:33 UTC (rev 25) +++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml 2007-12-06 01:58:27 UTC (rev 26) @@ -36,8 +36,8 @@
- このガイドはportlet視点モードの1個のテンプレートで簡単にJSF portletを - 作成するチュートリアルを提供します。 + このガイドは、ポートレット表示モードの 1 個のテンプレートで、簡単に JSF + portlet を作成するチュートリアルを提供します。
Create the view.jsp file in the jsf-simplest/WEB-INF/view directory. From svnnotify @ sourceforge.jp Thu Dec 6 12:13:57 2007 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 06 Dec 2007 12:13:57 +0900 Subject: [Jetspeed-japan-trans] [27] fix translate Message-ID: <1196910837.093673.31007.nullmailer@users.sourceforge.jp> Revision: 27 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=jetspeed-japan&view=rev&rev=27 Author: karma Date: 2007-12-06 12:13:56 +0900 (Thu, 06 Dec 2007) Log Message: ----------- fix translate Modified Paths: -------------- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml -------------- next part -------------- Modified: jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml =================================================================== --- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml 2007-12-06 01:58:27 UTC (rev 26) +++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml 2007-12-06 03:13:56 UTC (rev 27) @@ -36,8 +36,8 @@
- このガイドは、ポートレット表示モードの 1 個のテンプレートで、簡単に JSF - portlet を作成するチュートリアルを提供します。 + このガイドは、ポートレット表示モードの 1 個のテンプレートを持つ、 + 簡単な JSF ポートレットを作成するチュートリアルを提供します。
jsf-simplest/WEB-INF ディレクトリでfaces-config.xmlを作成してください。 +
$CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy
へWARファイルをコピーします。
- Jetspeed-2はwebappを配備します。
+ Jetspeed 2はwebappを配備します。