[Jetspeed-japan-trans] [46] update translate

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 6月 18日 (水) 19:23:43 JST


Revision: 46
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=jetspeed-japan&view=rev&rev=46
Author:   karma
Date:     2008-06-18 19:23:43 +0900 (Wed, 18 Jun 2008)

Log Message:
-----------
update translate

Modified Paths:
--------------
    jetspeed-2-trans/trunk/ja/xdocs/j1-migration.xml


-------------- next part --------------
Modified: jetspeed-2-trans/trunk/ja/xdocs/j1-migration.xml
===================================================================
--- jetspeed-2-trans/trunk/ja/xdocs/j1-migration.xml	2008-06-17 07:23:37 UTC (rev 45)
+++ jetspeed-2-trans/trunk/ja/xdocs/j1-migration.xml	2008-06-18 10:23:43 UTC (rev 46)
@@ -198,13 +198,18 @@
                   <p>
                     Turbine アクションは,ポートレット処理の<b>アクションフェーズ</b>を実行します.ポートレット API 標準のアクションフェーズの間,他の全てのポートレットの描画は,アクションが終わるまで遮断されます.これは Jetspeed 1/Turbine モデルでも同様です.
                   </p>
-			<subsection name='Creating a new Portlet Class'>
+			<subsection name='[Creating a new Portlet Class] 新しいポートレットクラスの作成'>
+                        <div class="original">
 			<p>The best place to get started in migrated your portlet is to create a new JSR-168 standard portlet.
 			Simply create a new Java class inheriting from the GenericPortlet interface provided by the Portlet API.
 			You can also use one of the frameworks or bridges available from Apache Portals or Spring MVC.
 			The example below writes directly to the Portlet API. The code below can be used a skeleton for writing
 			a portlet.
 			</p>
+                        </div>
+                        <p>あなたのポートレットの移行を始めるのに最も良い方法は,JSR-168 準拠の新しいポートレットを作成することです.単純に,ポートレット API が規定している GenericPortlet インターフェースを継承する,新しい Java クラスを作成してください.Apache Portals や Spring MVC から提供されるフレームワークやブリッジを利用することも可能です.以下の例は,直接 Portlet API を使って書いています.このコードは,ポートレットを作成する時のスケルトンに使えます.
+                        </p>
+<div class="original">
 <source>
 <![CDATA[
 import java.io.IOException;
@@ -241,8 +246,51 @@
 }
 ]]>		
 </source>	
+</div>
+<source>
+<![CDATA[
+import java.io.IOException;
+import javax.portlet.GenericPortlet;
+import javax.portlet.PortletConfig;
+import javax.portlet.PortletException;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.ActionRequest;
+import javax.portlet.ActionResponse;
+
+public class HelloWorld extends GenericPortlet
+{    
+    public void init(PortletConfig config) 
+    throws PortletException 
+    {
+    }
+    public void doEdit(RenderRequest request, RenderResponse response)
+    throws PortletException, IOException
+    {
+    }    
+    public void doHelp(RenderRequest request, RenderResponse response)
+    throws PortletException, IOException
+    {
+    }
+    public void doView(RenderRequest request, RenderResponse response)
+    throws PortletException, IOException
+    {
+    }
+    public void processAction(ActionRequest request, ActionResponse actionResponse)
+    throws PortletException, IOException
+	{
+	}    
+}
+]]>		
+</source>	
+                        <div class="original">
 			<p>To find out more about Portals Bridges and other Frameworks, explore these links:
 			</p>
+                        </div>
+                        <p>
+                          更にポータルブリッジや他のフレームワークについて調べるには,以下を参照してください.
+                        </p>
+                        <div class="original">
 			<ul>
 			<li><a href='http://portals.apache.org/bridges/'>Portals Bridges</a></li>
 			<li><a href='http://portals.apache.org/bridges/multiproject/portals-bridges-jsf/index.html'>JSF Bridge</a></li>
@@ -250,6 +298,14 @@
 			<li><a href='http://portals.apache.org/bridges/multiproject/portals-bridges-velocity/index.html'>Velocity Bridge</a></li>
 			<li><a href='http://www.springframework.org/docs/reference/portlet.html'>Spring Portlet MVC</a></li>			
 			</ul>
+                        </div>
+			<ul>
+			<li><a href='http://portals.apache.org/bridges/'>Portals Bridges</a></li>
+			<li><a href='http://portals.apache.org/bridges/multiproject/portals-bridges-jsf/index.html'>JSF Bridge</a></li>
+			<li><a href='http://portals.apache.org/bridges/multiproject/portals-bridges-struts/index.html'>Struts Bridge</a></li>
+			<li><a href='http://portals.apache.org/bridges/multiproject/portals-bridges-velocity/index.html'>Velocity Bridge</a></li>
+			<li><a href='http://www.springframework.org/docs/reference/portlet.html'>Spring Portlet MVC</a></li>			
+			</ul>
 			</subsection>			
 			<subsection name='Converting the Portlet Init Java Code'>
 			<p>


Jetspeed-japan-trans メーリングリストの案内
Back to archive index