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, +

+

To get a quick look at the Jetspeed decorators, themes, functionalities, and the admin interface point your browser to the standard portal demo or the web 2.0 desktop demo. Use the username admin connects using the password j2. Note: It is probable that someone changes the password therefore we will regenerate the site on a regular basis. +

+

Jetspeedデコレータのクイックルック、テーマ、機能、そして管理者インターフェースを確認するために + 標準のポータルデモ、または + web2.0デスクトップデモ + をブラウザ上で動かすことが出来ます。 + ユーザ名「admin」、パスワード「j2」で接続して下さい。
+ 注意:誰かによってパスワードが変えられる可能性もあるのでサイトは定期的に更新する予定です。 +

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-11-26 10:55:51 UTC (rev 23) +++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml 2007-12-03 02:29:58 UTC (rev 24) @@ -23,15 +23,24 @@ + + + -
-

+

+

This guide provides a tutorial for creating a very simple JSF portlet with one template in the portlet view mode. +

- +

+ このガイドはportlet視点モードの1個のテンプレートで簡単にJSF portletを + 作成するチュートリアルを提供します。 +

+

+

Create the file JSFSimplest.java in a directory called jsf-simplest/WEB-INF/classes: @@ -45,16 +54,41 @@ } } +

+ jsf-simplest/WEB-INF ディレクトリでportlet.xmlを作成してください。 + +public class JSFSimplest extends org.apache.portals.bridges.jsf.FacesPortlet +{ + + public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) + throws javax.portlet.PortletException, java.io.IOException + { + super.doView(request, response); + } +} + +

+

+

Compile the class in the jsf-simplest/WEB-INF/classes directory using the command, javac -cp portlet-api-1.0.jar:portals-bridges-jsf-1.0.jar:portals-bridges-common-1.0.jar JSFSimplest.java +

+

+ コマンドを使用して、jsf-simplest/WEB-INF/classes ディレクトリで + クラスをコンパイルしてください。 + +javac -cp portlet-api-1.0.jar:portals-bridges-jsf-1.0.jar:portals-bridges-common-1.0.jar JSFSimplest.java + +

- +

+

Create the file portlet.xml in the jsf-simplest/WEB-INF directory. @@ -80,10 +114,39 @@ ]]> +

+

+ jsf-simplest/WEB-INF ディレクトリでportlet.xmlを作成してください。 + + + + JSFSimplestPortlet + JSF Simplest Display Name + JSFSimplest + + ViewPage + /WEB-INF/view/view.jsp + + + text/html + VIEW + + en + fr + + JSF Simplest Title + JSF Simplest Short Title + + +]]> + +

- +

+

Create the file web.xml in the jsf-simplest/WEB-INF directory. @@ -112,10 +175,42 @@ ]]> +

+

+ jsf-simplest/WEB-INF ディレクトリでweb.xmlを作成してください。 + + + + JSF Simplest + The world's simplest JSF portlet + + + + javax.faces.application.CONFIG_FILES + /WEB-INF/faces-config.xml + + + + + Faces Servlet + javax.faces.webapp.FacesServlet + + + + + Faces Servlet + *.jsf + +]]> + +

- +

+

Create the view.jsp file in the jsf-simplest/WEB-INF/view directory. @@ -131,10 +226,29 @@ <% } %>! ]]> +

+

+ jsf-simplest/WEB-INF/view ディレクトリでview.jspを作成してください。 + +<%@ taglib uri="/WEB-INF/tld/portlet.tld" prefix='portlet'%> + + +

A JSF Portlet

+ Hello + <% if ( renderRequest.getUserPrincipal() == null ) { %> + guest + <% } else { %> + <%=renderRequest.getUserPrincipal().getName()%> + <% } %>! +]]> + +

- +

+

Create a faces-config.xml file in the jsf-simplest/WEB-INF directory. @@ -153,10 +267,33 @@ ]]> +

+

+ jsf-simplest/WEB-INF ディレクトリでfaces-config.xmlを作成してください。 + + + + + + + + en + fr + + + +]]> + + +

- +

+

Copy the dependencies to the WEB-INF/lib directory. These jars should be in your Maven repository. If so executing these commands in the lib directory will set up the dependencies for you. @@ -171,31 +308,71 @@ ln -s ~/.maven/repository/xerces/jars/xerces-2.4.0.jar ln -s ~/.maven/repository/xml-apis/jars/xml-apis-2.0.2.jar +

+

+ WEB-INF/lib ディレクトリへ依存するJARをコピーしてください。 + これらのjarが Maven リポジトリになければなりません。 + lib ディレクトリにてこれらのコマンドを実行するとセットアップされます。 + +ln -s ~/.maven/repository/commons-beanutils/jars/commons-beanutils-1.7.0.jar +ln -s ~/.maven/repository/commons-collections/jars/commons-collections-3.1.jar +ln -s ~/.maven/repository/commons-digester/jars/commons-digester-1.7.jar +ln -s ~/.maven/repository/myfaces/jars/myfaces-api-1.1.0.jar +ln -s ~/.maven/repository/myfaces/jars/myfaces-impl-1.1.0.jar +ln -s ~/.maven/repository/myfaces/jars/tomahawk-1.1.0.jar +ln -s ~/.maven/repository/org.apache.portals.bridges/jars/portals-bridges-jsf-1.0.jar +ln -s ~/.maven/repository/xerces/jars/xerces-2.4.0.jar +ln -s ~/.maven/repository/xml-apis/jars/xml-apis-2.0.2.jar + +

- +

+

From the directory jsf-simplest combine the files above into a war file using the command, jar cvf ../jsfsimplest.war . +

+

+ コマンドを使用することでjsf-simplest ディレクトリはWARファイル化されます。 + +jar cvf ../jsfsimplest.war . + +

- +

+

Copy the war file to $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ページを作成してください。 + ログイン後に編集ページアイコンをクリックしてください。 + クリックでportletアイコンを加えてください。 + チェックボックスでJSFSimplestPortletをページに追加してください。 + あなたのユーザにはページを編集する許可がなければなりません。 + ユーザ admin パスワード adminには、すべてのページを編集する許可があります。 +

Modified: jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-velocity-portlet.xml =================================================================== --- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-velocity-portlet.xml 2007-11-26 10:55:51 UTC (rev 23) +++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-velocity-portlet.xml 2007-12-03 02:29:58 UTC (rev 24) @@ -17,20 +17,30 @@ --> - Jetspeed Simple Velocity Portlet Guide - Documentation for Creating a Simple Velocity Portlet + [Jetspeed Simple Velocity Portlet Guide]JetspeedシンプルVelocityポートレットガイド + [Documentation for Creating a Simple Velocity Portlet]シンプルVelocityポートレットを作成するためのドキュメント + + + -
+
+

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ファイルを作成しください。 + +public class VelocitySimplest extends org.apache.portals.bridges.velocity.GenericVelocityPortlet +{ + + public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) + throws javax.portlet.PortletException, java.io.IOException + { + super.doView(request, response); + } +} + +

+
+

Compile the class in the velocity-simplest/WEB-INF/classes directory using the command, javac -cp portlet-api-1.0.jar:portals-bridges-velocity-1.0.jar:portals-bridges-common-1.0.jar VelocitySimplest.java

+
+

+ 下記のコマンドを使用して、velocity-simplest/WEB-INF/classesディレクトリでそのクラスをコンパイルしてください。 + +javac -cp portlet-api-1.0.jar:portals-bridges-velocity-1.0.jar:portals-bridges-common-1.0.jar VelocitySimplest.java + +

+

Create the file portlet.xml in the velocity-simplest/WEB-INF directory. ]]>

+
+

+ velocity-simplest/WEB-INFディレクトリでportlet.xmlファイルを作成してください。 + + + + VelocitySimplest + Velocity Simplest Display Name + VelocitySimplest + + ViewPage + /WEB-INF/view/world.vm + + + text/html + VIEW + + en + + Velocity Simplest Title + Velocity Simplest Short Title + + +]]> + +

+

Create the file web.xml in the velocity-simplest/WEB-INF directory. ]]>

+
+

+ velocity-simplest/WEB-INFディレクトリでweb.xmlファイルを作成してください。 + + + + Velocity Simplest + The world's simplest Velocity portlet + + + + velocity + org.apache.portals.bridges.velocity.BridgesVelocityViewServlet + + + + + velocity + *.vm + + +]]> + +

- +

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を示すサンプルテンプレートは、ここにあります。 + +$portletConfig.portletName +$portletConfig.portletContext.serverInfo +#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale)) +$renderRequest.portletMode +$renderResponse.namespace + +

+
- + +

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ディレクトリにおいてこれらのコマンドを実行するならば、依存がセットアップされます。 + +ln -s ~/.maven/repository/commons-beanutils/jars/commons-beanutils-1.7.0.jar +ln -s ~/.maven/repository/commons-collections/jars/commons-collections-3.1.jar +ln -s ~/.maven/repository/commons-digester/jars/commons-digester-1.7.jar +ln -s ~/.maven/repository/org.apache.portals.bridges/jars/portals-bridges-velocity-1.0.jar +ln -s ~/.maven/repository/velocity/jars/velocity-1.4.jar +ln -s ~/.maven/repository/velocity-tools/jars/velocity-tools-1.1.jar + +

- + +

From the directory velocity-simplest combine the files above into a war file using the command, jar cvf ../velocitysimplest.war .

+
+

+ velocity-simplestディレクトリから、下記コマンドを使用し、warファイル上にファイルを結合してください。 + +jar cvf ../velocitysimplest.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(パスワード)は、すべてのページを編集する許可があります。 +

Modified: jetspeed-2-trans/trunk/ja/xdocs/guides/guide-tomcat-sso-cross-context-j2-realm.xml =================================================================== --- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-tomcat-sso-cross-context-j2-realm.xml 2007-11-26 10:55:51 UTC (rev 23) +++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-tomcat-sso-cross-context-j2-realm.xml 2007-12-03 02:29:58 UTC (rev 24) @@ -17,19 +17,29 @@ --> - Tomcat SSO and Cross Context Webapps Guide - Documentation for using the Jetspeed Authentication accross multiple webapps running in the same Tomcat container + [Tomcat SSO and Cross Context Webapps Guide]Tomcat SSOと関連したWeb アプリケーションガイド + [Documentation for using the Jetspeed Authentication accross multiple webapps running in the same Tomcat container]同じTomcatコンテナ上で動作している複数のWeb アプリケーション間で、Jetspeed 認証を使うためのドキュメント + + + -
+
+

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記述でセキュリティ規制を作成してください。 + + + Whatever + /* + + + manager + + + + + + BASIC + Jetspeed + + + + + + The role that is required to log in to the Manager Application + + manager + ]]> + +

- + +

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レルムを用いて解決することができます。 + + BASIC + Jetspeed + ]]> + +

+
+

2. Authentication must be made in Jetspeed before accessing other webapps.

+
+

+ 2. 他のwebappsにアクセスする前に、Jetspeedで認証を作成しなければなりません。 +

Modified: jetspeed-2-trans/trunk/xdocs/assignment.xml =================================================================== --- jetspeed-2-trans/trunk/xdocs/assignment.xml 2007-11-26 10:55:51 UTC (rev 23) +++ jetspeed-2-trans/trunk/xdocs/assignment.xml 2007-12-03 02:29:58 UTC (rev 24) @@ -411,8 +411,8 @@ guides/guide-demo.xml 原文 訳文 - - 募集中 + N2SM, Inc. + 初稿 guides/guide-migration.xml @@ -446,15 +446,15 @@ guides/guide-simple-jsf-portlet.xml 原文 訳文 - - 募集中 + N2SM, Inc. + 初稿 guides/guide-simple-velocity-portlet.xml 原文 訳文 - - 募集中 + N2SM, Inc. + 初稿 guides/guide-subsites.xml @@ -467,8 +467,8 @@ guides/guide-tomcat-sso-cross-context-j2-realm.xml 原文 訳文 - - 募集中 + N2SM, Inc. + 初稿 From shinsuke @ yahoo.co.jp Mon Dec 3 11:39:58 2007 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Mon, 03 Dec 2007 11:39:58 +0900 Subject: [Jetspeed-japan-trans] [Fwd: [24] contribution from N2SM, Inc.] Message-ID: <47536C7E.3070201@yahoo.co.jp> 菅谷です。 私の方で中身を全くチェックしていませんが、うちの会社の リソースでお願いしました。おかしなところは、初校で いろいろと修正をかけたいと思います。今後も余裕があれば、 頼みたいと考えてます。一応、お知らせまで・・・。 菅谷 -------- Original Message -------- Subject: [Jetspeed-japan-trans] [24] contribution from N2SM, Inc. Date: Mon, 03 Dec 2007 11:29:59 +0900 From: svnnotify @ sourceforge.jp Reply-To: jetspeed-japan-trans @ lists.sourceforge.jp To: jetspeed-japan-trans @ lists.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 -------------------------------------- New Design Yahoo! JAPAN 2008/01/01 http://pr.mail.yahoo.co.jp/newdesign/ From karma @ jazz.email.ne.jp Tue Dec 4 12:08:39 2007 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Tue, 04 Dec 2007 12:08:39 +0900 Subject: [Jetspeed-japan-trans] [Fwd: [24] contribution from N2SM, Inc.] In-Reply-To: <47536C7E.3070201@yahoo.co.jp> References: <47536C7E.3070201@yahoo.co.jp> Message-ID: <87y7cbqhqg.wl%karma@jazz.email.ne.jp> 加藤泰文です. At Mon, 03 Dec 2007 11:39:58 +0900, Shinsuke SUGAYA wrote: > 私の方で中身を全くチェックしていませんが、うちの会社の > リソースでお願いしました。おかしなところは、初校で > いろいろと修正をかけたいと思います。今後も余裕があれば、 > 頼みたいと考えてます。一応、お知らせまで・・・。 お,心強いですね. 一部,原文を隠すとかうまく機能してないですね.またチェックさせてもらい ます. -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://www.ne.jp/asahi/ka/to/ ============================================== From shinsuke @ yahoo.co.jp Tue Dec 4 12:17:13 2007 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Tue, 04 Dec 2007 12:17:13 +0900 Subject: [Jetspeed-japan-trans] [Fwd: [24] contribution from N2SM, Inc.] In-Reply-To: <87y7cbqhqg.wl%karma@jazz.email.ne.jp> References: <47536C7E.3070201@yahoo.co.jp> <87y7cbqhqg.wl%karma@jazz.email.ne.jp> Message-ID: <4754C6B9.2050003@yahoo.co.jp> 菅谷です。 KATOH Yasufumi wrote: > 加藤泰文です. > > At Mon, 03 Dec 2007 11:39:58 +0900, > Shinsuke SUGAYA wrote: >> 私の方で中身を全くチェックしていませんが、うちの会社の >> リソースでお願いしました。おかしなところは、初校で >> いろいろと修正をかけたいと思います。今後も余裕があれば、 >> 頼みたいと考えてます。一応、お知らせまで・・・。 > > お,心強いですね. うちのとこのリソースも使えるように 引き続きがんばっていきます。 > 一部,原文を隠すとかうまく機能してないですね.またチェックさせてもらい > ます. お手数をおかけして、申し訳ありません(^^; ちょっとでも気になるところは、遠慮なく 変更していただいて構わないです。 shinsuke -------------------------------------- New Design Yahoo! JAPAN 2008/01/01 http://pr.mail.yahoo.co.jp/newdesign/ From svnnotify @ sourceforge.jp Wed Dec 5 14:19:34 2007 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 05 Dec 2007 14:19:34 +0900 Subject: [Jetspeed-japan-trans] [25] fix how to use html tag valid Message-ID: <1196831974.173989.31713.nullmailer@users.sourceforge.jp> Revision: 25 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=jetspeed-japan&view=rev&rev=25 Author: karma Date: 2007-12-05 14:19:33 +0900 (Wed, 05 Dec 2007) Log Message: ----------- fix how to use html tag valid 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-03 02:29:58 UTC (rev 24) +++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml 2007-12-05 05:19:33 UTC (rev 25) @@ -29,20 +29,24 @@
-

+
+

This guide provides a tutorial for creating a very simple JSF portlet with one template in the portlet view mode. -

+

このガイドはportlet視点モードの1個のテンプレートで簡単にJSF portletを 作成するチュートリアルを提供します。

+

-

Create the file JSFSimplest.java in a directory called jsf-simplest/WEB-INF/classes: +

+
+
public class JSFSimplest extends org.apache.portals.bridges.jsf.FacesPortlet { @@ -55,9 +59,9 @@ }
-

jsf-simplest/WEB-INF ディレクトリでportlet.xmlを作成してください。 +

public class JSFSimplest extends org.apache.portals.bridges.jsf.FacesPortlet { @@ -69,27 +73,31 @@ } } +
+

+ Compile the class in the jsf-simplest/WEB-INF/classes directory using the command,

-

+

- Compile the class in the jsf-simplest/WEB-INF/classes directory using the command, javac -cp portlet-api-1.0.jar:portals-bridges-jsf-1.0.jar:portals-bridges-common-1.0.jar JSFSimplest.java
-

コマンドを使用して、jsf-simplest/WEB-INF/classes ディレクトリで クラスをコンパイルしてください。 +

javac -cp portlet-api-1.0.jar:portals-bridges-jsf-1.0.jar:portals-bridges-common-1.0.jar JSFSimplest.java -

+

+ Create the file portlet.xml in the jsf-simplest/WEB-INF directory. +

+
- Create the file portlet.xml in the jsf-simplest/WEB-INF directory. @@ -115,9 +123,9 @@ ]]>
-

jsf-simplest/WEB-INF ディレクトリでportlet.xmlを作成してください。 +

@@ -142,12 +150,14 @@ ]]> -

+

+ Create the file web.xml in the jsf-simplest/WEB-INF directory. +

+
- Create the file web.xml in the jsf-simplest/WEB-INF directory. ]]> -
-

+

jsf-simplest/WEB-INF ディレクトリでweb.xmlを作成してください。 +

]]> -

+

-

Create the view.jsp file in the jsf-simplest/WEB-INF/view directory. +

+
+
<%@ taglib uri="/WEB-INF/tld/portlet.tld" prefix='portlet'%> @@ -227,9 +239,9 @@ ]]>
-

jsf-simplest/WEB-INF/view ディレクトリでview.jspを作成してください。 +

<%@ taglib uri="/WEB-INF/tld/portlet.tld" prefix='portlet'%> @@ -244,12 +256,14 @@ <% } %>! ]]> -

+

-

Create a faces-config.xml file in the jsf-simplest/WEB-INF directory. +

+
+
]]> -

+

jsf-simplest/WEB-INF ディレクトリでfaces-config.xmlを作成してください。 ]]> -

+

-

Copy the dependencies to the WEB-INF/lib directory. These jars should be in your Maven repository. If so executing these commands in the lib directory will set up the dependencies for you. +

+
+
ln -s ~/.maven/repository/commons-beanutils/jars/commons-beanutils-1.7.0.jar ln -s ~/.maven/repository/commons-collections/jars/commons-collections-3.1.jar @@ -308,12 +324,12 @@ ln -s ~/.maven/repository/xerces/jars/xerces-2.4.0.jar ln -s ~/.maven/repository/xml-apis/jars/xml-apis-2.0.2.jar -
-

+

WEB-INF/lib ディレクトリへ依存するJARをコピーしてください。 これらのjarが Maven リポジトリになければなりません。 lib ディレクトリにてこれらのコマンドを実行するとセットアップされます。 +

ln -s ~/.maven/repository/commons-beanutils/jars/commons-beanutils-1.7.0.jar ln -s ~/.maven/repository/commons-collections/jars/commons-collections-3.1.jar @@ -325,46 +341,48 @@ ln -s ~/.maven/repository/xerces/jars/xerces-2.4.0.jar ln -s ~/.maven/repository/xml-apis/jars/xml-apis-2.0.2.jar -

+

+ From the directory jsf-simplest combine the files above into a war file using the command, +

+
- From the directory jsf-simplest combine the files above into a war file using the command, jar cvf ../jsfsimplest.war .
-

コマンドを使用することでjsf-simplest ディレクトリはWARファイル化されます。 +

jar cvf ../jsfsimplest.war . -

+

-

Copy the war file to $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 を作成するチュートリアルを提供します。

@@ -217,7 +217,7 @@ ]]> - +

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 ポートレットを作成するチュートリアルを提供します。

@@ -281,10 +281,10 @@ ]]> -

jsf-simplest/WEB-INF ディレクトリでfaces-config.xmlを作成してください。 +

-
+
ln -s ~/.maven/repository/commons-beanutils/jars/commons-beanutils-1.7.0.jar @@ -369,7 +369,7 @@

$CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy へWARファイルをコピーします。 - Jetspeed-2はwebappを配備します。 + Jetspeed 2はwebappを配備します。

From svnnotify @ sourceforge.jp Thu Dec 6 12:20:41 2007 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 06 Dec 2007 12:20:41 +0900 Subject: [Jetspeed-japan-trans] [28] change status Message-ID: <1196911241.208550.4110.nullmailer@users.sourceforge.jp> Revision: 28 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=jetspeed-japan&view=rev&rev=28 Author: karma Date: 2007-12-06 12:20:41 +0900 (Thu, 06 Dec 2007) Log Message: ----------- change status Modified Paths: -------------- jetspeed-2-trans/trunk/xdocs/assignment.xml -------------- next part -------------- Modified: jetspeed-2-trans/trunk/xdocs/assignment.xml =================================================================== --- jetspeed-2-trans/trunk/xdocs/assignment.xml 2007-12-06 03:13:56 UTC (rev 27) +++ jetspeed-2-trans/trunk/xdocs/assignment.xml 2007-12-06 03:20:41 UTC (rev 28) @@ -447,7 +447,7 @@ 原文 訳文 N2SM, Inc. - 初稿 + 初校 guides/guide-simple-velocity-portlet.xml