shins****@users*****
shins****@users*****
2006年 4月 4日 (火) 21:23:34 JST
Update of /cvsroot/jetspeed-japan/jetspeed-2-trans/ja/xdocs/guides In directory sf-cvs:/tmp/cvs-serv28079/ja/xdocs/guides Modified Files: guide-jpt.xml guide-pipeline.xml Log Message: submitted by KATOH Yasufumi jetspeed-2-trans/ja/xdocs/guides/guide-jpt.xml 1.1.1.1 -> 1.2 (modified) http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/jetspeed-japan/jetspeed-2-trans/ja/xdocs/guides/guide-jpt.xml.diff?r1=1.1.1.1&r2=1.2 jetspeed-2-trans/ja/xdocs/guides/guide-pipeline.xml 1.1.1.1 -> 1.2 (modified) http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/jetspeed-japan/jetspeed-2-trans/ja/xdocs/guides/guide-pipeline.xml.diff?r1=1.1.1.1&r2=1.2 =================================================================== RCS file: jetspeed-2-trans/ja/xdocs/guides/guide-jpt.xml,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- guide-jpt.xml 2005/12/16 03:43:36 1.1.1.1 +++ guide-jpt.xml 2006/04/04 12:23:34 1.2 @@ -1,167 +1,312 @@ -<?xml version="1.0"?> -<!-- -Copyright 2004 The Apache Software Foundation - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. ---> -<document> - <properties> - <title>Guide to Jetspeed Power Tool</title> - <subtitle>Documentation for Designers working with the Jetspeed Power Tool.</subtitle> - <authors> - <person name="David Sean Taylor" email="taylo****@apach*****"/> - </authors> - </properties> - <body> -<section name="Jetspeed Power Tool"> -<p> -The Jetspeed Power Tool (JPT) is a velocity tool used in Layouts and Decorators to generate dynamic content. -The JPT is a request level velocity tool, and is available to all layouts and decorators. -The JPT is referenced in your decorator or layout as: -<source test=""><![CDATA[ -$jetspeed -]]></source> -All public JPT APIs can be accessed with: -<ul> - <li>Java dot notation for methods</li> - <li>JavaBean shortcuts for properties (getter/setter)</li> -</ul> -Example of calling a method: -<source test=""><![CDATA[ -# call a method 'getTitle' with 2 parameters -$jetspeed.getTitle($myPE, $myF) -]]></source> -Example of calling getting a property: -<source test=""><![CDATA[ -# get the page bean, equivalent to $jetspeed.getPage() -$jetspeed.page -]]></source> -</p> -</section> -<section name="JPT Velocity API"> -<p>The table below defines the Jetspeed Power Tool API for Velocity</p> -<hr/> -<table> - <tr> - <th>API</th> - <th><b>decorateAndInclude($fragment)</b></th> - </tr> - <tr> - <td>Description</td> - <td> - Retrieves the application relative path to a decorator template for a given - fragment parameter <b>($fragment)</b> to be included by Velocity. - Should be passed as a parameter to the Velocity #parse function (#parse includes - another Velocity template). - </td> - </tr> - <tr> - <td>Parameter</td> - <td><b>$fragment</b> - the fragment to be included and decorated.</td> - </tr> - <tr> - <td>Returns</td> - <td><b>String</b> - Application relative path to a decorator template.</td> - </tr> - <tr> - <td>Examples</td> - <td>#parse($jetspeed.decorateAndInclude($fragment))<br/>returns<br/>/WEB-INF/decorations/layout/html/tigris/decorator-top.vm</td> - </tr> -</table> -<hr/> -<table> - <tr> - <th>API</th> - <th><b>getAbsoluteUrl(appRelativePath)</b></th> - </tr> - <tr> - <td>Description</td> - <td> - Given a relative path to an portlet application resource, returns an absolute URL. - This API should not be used to reference template ULS since they are usually inaccessible - as absolute URLs because they are often located in a CMS or behind the secured WEB-INF directory. - </td> - </tr> - <tr> - <td>Parameter</td> - <td><b>relativePath</b> - a relative path to a resource in the decorator package.</td> - </tr> - <tr> - <td>Returns</td> - <td><b>String</b> - The full absolute path to a web resource</td> - </tr> - <tr> - <td>Examples</td> - <td>$jetspeed.getAbsoluteUrl("/images/test.gif")<br/>returns<br/>http://localhost:8080/jetspeed/portal/images/test.gif</td> - </tr> -</table> -<hr/> -<table> - <tr> - <th>API</th> - <th><b>columns</b></th> - </tr> - <tr> - <td>Description</td> - <td> - Returns a list of column for the current fragment during a layout aggregation. - </td> - </tr> - <tr> - <td>Parameter</td> - <td><b>-</b></td> - </tr> - <tr> - <td>Returns</td> - <td><b>List</b> - a standard Java List of sub-fragments or portlets</td> - </tr> - <tr> - <td>Examples</td> - <td>#set ($table = $jetspeed.columns)<br/>#foreach($entry in $table) - </td> - </tr> -</table> -<hr/> -<table> - <tr> - <th>API</th> - <th><b></b></th> - </tr> - <tr> - <td>Description</td> - <td> - </td> - </tr> - <tr> - <td>Parameter</td> - <td><b></b></td> - </tr> - <tr> - <td>Returns</td> - <td><b></b></td> - </tr> - <tr> - <td>Examples</td> - <td></td> - </tr> -</table> -<hr/> - -<p> -<i>Documentation for Jetspeed 2.0-M2 release.</i>. -</p> -</section> - -</body> -</document> - +<?xml version="1.0"?> +<!-- +Copyright 2004 The Apache Software Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> +<document> + <properties> + <title>[Guide to Jetspeed Power Tool] Jetspeed Power Tool のガイド</title> + <subtitle>[Documentation for Designers working with the Jetspeed Power Tool.] Jetspeed Power Tools を使うデザイナのための文書</subtitle> + <authors> + <person name="David Sean Taylor" email="taylo****@apach*****"/> + </authors> + <translators> + <person name="加藤泰文" email="karma****@prog*****" /> + </translators> + </properties> + <body> +<section name="[Jetspeed Power Tool] Jetspeed Power Tool"> +<div class="original"> +<p> +The Jetspeed Power Tool (JPT) is a velocity tool used in Layouts and Decorators to generate dynamic content. +The JPT is a request level velocity tool, and is available to all layouts and decorators. +The JPT is referenced in your decorator or layout as: +<source test=""><![CDATA[ +$jetspeed +]]></source> +All public JPT APIs can be accessed with: +<ul> + <li>Java dot notation for methods</li> + <li>JavaBean shortcuts for properties (getter/setter)</li> +</ul> +Example of calling a method: +<source test=""><![CDATA[ +# call a method 'getTitle' with 2 parameters +$jetspeed.getTitle($myPE, $myF) +]]></source> +Example of calling getting a property: +<source test=""><![CDATA[ +# get the page bean, equivalent to $jetspeed.getPage() +$jetspeed.page +]]></source> +</p> +</div> +<p> +Jetspeed Power Tool (JPT) は、ダイナミックなコンテンツを生成するためのレイアウトやデコレータで使われる Velocity のツールです。 +JPT は、リクエストレベルの Velocity のツールです。そして、全てのレイアウトとデコレータで利用可能です。 +JPT は、デコレータもしくはレイアウトで +<source test=""><![CDATA[ +$jetspeed +]]></source> +として参照されます。 +全ての公開の JPT API は、 +<ul> + <li>Java のメソッドのドット記法</li> + <li>プロパティへの JavaBean ショートカット (getter/setter)</li> +</ul> +でアクセス可能です。 +例えば、メソッドをコールする際は、 +<source test=""><![CDATA[ +# call a method 'getTitle' with 2 parameters +$jetspeed.getTitle($myPE, $myF) +]]></source> +のようになります。 +プロパティの取得は、 +<source test=""><![CDATA[ +# get the page bean, equivalent to $jetspeed.getPage() +$jetspeed.page +]]></source> +のようになります。 +</p> +</section> +<section name="[JPT Velocity API] JPT Velocity API"> +<div class="original"> +<p>The table below defines the Jetspeed Power Tool API for Velocity</p> +</div> +<p>以下の表は Velocity 用の Jetspeed Power Tool の定義です。</p> +<hr/> +<div class="original"> +<table> + <tr> + <th>API</th> + <th><b>decorateAndInclude($fragment)</b></th> + </tr> + <tr> + <td>Description</td> + <td> + Retrieves the application relative path to a decorator template for a given + fragment parameter <b>($fragment)</b> to be included by Velocity. + Should be passed as a parameter to the Velocity #parse function (#parse includes + another Velocity template). + </td> + </tr> + <tr> + <td>Parameter</td> + <td><b>$fragment</b> - the fragment to be included and decorated.</td> + </tr> + <tr> + <td>Returns</td> + <td><b>String</b> - Application relative path to a decorator template.</td> + </tr> + <tr> + <td>Examples</td> + <td>#parse($jetspeed.decorateAndInclude($fragment))<br/>returns<br/>/WEB-INF/decorations/layout/html/tigris/decorator-top.vm</td> + </tr> +</table> +</div> +<table> + <tr> + <th>API</th> + <th><b>decorateAndInclude($fragment)</b></th> + </tr> + <tr> + <td>説明</td> + <td> + Velocity にインクルードするための、与えられたフラグメントパラメータ <b>($fragment)</b> に対する、デコレータテンプレートへの相対パスを取得します。Velocity の #parse 関数のパラメータとして有効な値である必要があります (#parse は他の Velocity テンプレートをインクルードします)。 + </td> + </tr> + <tr> + <td>パラメータ</td> + <td><b>$fragment</b> - インクルードとデコレートを行うフラグメント。</td> + </tr> + <tr> + <td>返り値</td> + <td><b>String</b> - デコレータテンプレートのアプリケーションでの相対パス。</td> + </tr> + <tr> + <td>例</td> + <td>#parse($jetspeed.decorateAndInclude($fragment))<br/>returns<br/>/WEB-INF/decorations/layout/html/tigris/decorator-top.vm</td> + </tr> +</table> +<hr/> +<div class="original"> +<table> + <tr> + <th>API</th> + <th><b>getAbsoluteUrl(appRelativePath)</b></th> + </tr> + <tr> + <td>Description</td> + <td> + Given a relative path to an portlet application resource, returns an absolute URL. + This API should not be used to reference template ULS since they are usually inaccessible + as absolute URLs because they are often located in a CMS or behind the secured WEB-INF directory. + </td> + </tr> + <tr> + <td>Parameter</td> + <td><b>relativePath</b> - a relative path to a resource in the decorator package.</td> + </tr> + <tr> + <td>Returns</td> + <td><b>String</b> - The full absolute path to a web resource</td> + </tr> + <tr> + <td>Examples</td> + <td>$jetspeed.getAbsoluteUrl("/images/test.gif")<br/>returns<br/>http://localhost:8080/jetspeed/portal/images/test.gif</td> + </tr> +</table> +</div> +<table> + <tr> + <th>API</th> + <th><b>getAbsoluteUrl(appRelativePath)</b></th> + </tr> + <tr> + <td>説明</td> + <td> + ポートレットアプリケーションリソースへの相対パスを与えます。すると絶対 URL を返します。 + この API はテンプレート ULS を参照するのに使うべきではありません。なぜなら、テンプレート ULS は、しばしば CMS 内に位置したり、保護された WEB-INF ディレクトリに位置したりするために、通常は絶対 URL としてはアクセス出来ないからです。 + </td> + </tr> + <tr> + <td>パラメータ</td> + <td><b>relativePath</b> - デコレータパッケージ内のリソースへの相対パス。</td> + </tr> + <tr> + <td>返り値</td> + <td><b>String</b> -ウェブリソースへの絶対パス</td> + </tr> + <tr> + <td>例</td> + <td>$jetspeed.getAbsoluteUrl("/images/test.gif")<br/>returns<br/>http://localhost:8080/jetspeed/portal/images/test.gif</td> + </tr> +</table> +<hr/> +<div class="original"> +<table> + <tr> + <th>API</th> + <th><b>columns</b></th> + </tr> + <tr> + <td>Description</td> + <td> + Returns a list of column for the current fragment during a layout aggregation. + </td> + </tr> + <tr> + <td>Parameter</td> + <td><b>-</b></td> + </tr> + <tr> + <td>Returns</td> + <td><b>List</b> - a standard Java List of sub-fragments or portlets</td> + </tr> + <tr> + <td>Examples</td> + <td>#set ($table = $jetspeed.columns)<br/>#foreach($entry in $table) + </td> + </tr> +</table> +</div> +<table> + <tr> + <th>API</th> + <th><b>columns</b></th> + </tr> + <tr> + <td>説明</td> + <td> + レイアウトの集約の間の現在のフラグメントのための列のリストを返す。 + </td> + </tr> + <tr> + <td>パラメータ</td> + <td><b>-</b></td> + </tr> + <tr> + <td>返り値</td> + <td><b>List</b> - サブフラグメントもしくはポートレットの標準の Java の List</td> + </tr> + <tr> + <td>Examples</td> + <td>#set ($table = $jetspeed.columns)<br/>#foreach($entry in $table) + </td> + </tr> +</table> +<hr/> +<div class="original"> +<table> + <tr> + <th>API</th> + <th><b></b></th> + </tr> + <tr> + <td>Description</td> + <td> + </td> + </tr> + <tr> + <td>Parameter</td> + <td><b></b></td> + </tr> + <tr> + <td>Returns</td> + <td><b></b></td> + </tr> + <tr> + <td>Examples</td> + <td></td> + </tr> +</table> +</div> +<table> + <tr> + <th>API</th> + <th><b></b></th> + </tr> + <tr> + <td>説明</td> + <td> + </td> + </tr> + <tr> + <td>パラメータ</td> + <td><b></b></td> + </tr> + <tr> + <td>返り値</td> + <td><b></b></td> + </tr> + <tr> + <td>例</td> + <td></td> + </tr> +</table> +<hr/> + +<div class="original"> +<p> +<i>Documentation for Jetspeed 2.0-M2 release.</i>. +</p> +</div> +<p> +<i>Jetspeed 2.0-M2 リリース用の文書。</i> +</p> +</section> + +</body> +</document> + =================================================================== RCS file: jetspeed-2-trans/ja/xdocs/guides/guide-pipeline.xml,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- guide-pipeline.xml 2005/12/16 03:43:36 1.1.1.1 +++ guide-pipeline.xml 2006/04/04 12:23:34 1.2 @@ -1,39 +1,51 @@ -<?xml version="1.0"?> -<!-- - Copyright 2004 The Apache Software Foundation - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<document> - <properties> - <title>Jetspeed-2 Pipeline</title> - <subtitle>Documentation for Jetspeed-2 Pipeline</subtitle> - <authors> - <person name="David Le Strat" email="dlest****@apach*****" /> - </authors> - </properties> - <body> - <section name="Jetspeed-2 Pipeline"> - <p>As described below, one of key component of the Jetspeed-2 portal engine is its request pipeline. - <br/><br/> - <img src="images/j2-overview.gif" border="0"/> - <br/> - In Jetspeed-2 request are processed through a series of <code>Valve</code> assembled together as a - pipeline. For detailed information about Jetspeed-2 pipeline, - <a href="../multiproject/jetspeed-portal/pipeline.html">click here</a>. - </p> - </section> - - </body> -</document> - +<?xml version="1.0"?> +<!-- + Copyright 2004 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<document> + <properties> + <title>[Jetspeed-2 Pipeline] Jetspeed 2 パイプライン</title> + <subtitle>[Documentation for Jetspeed-2 Pipeline] Jetspeed 2 パイプラインの文書</subtitle> + <authors> + <person name="David Le Strat" email="dlest****@apach*****" /> + </authors> + <translators> + <person name="加藤泰文" email="karma****@prog*****" /> + </translators> + </properties> + <body> + <section name="[Jetspeed-2 Pipeline] Jetspeed 2 パイプライン"> + <div class="original"> + <p>As described below, one of key component of the Jetspeed-2 portal engine is its request pipeline. + <br/><br/> + <img src="images/j2-overview.gif" border="0"/> + <br/> + In Jetspeed-2 request are processed through a series of <code>Valve</code> assembled together as a + pipeline. For detailed information about Jetspeed-2 pipeline, + <a href="../multiproject/jetspeed-portal/pipeline.html">click here</a>. + </p> + </div> + <p>以下にあるように、Jetspeed 2 ポータルエンジンのキーとなるコンポーネントの一つにリクエストパイプラインがあります。 + <br/><br/> + <img src="images/j2-overview.gif" border="0"/> + <br/> + Jetspeed 2 では、リクエストはパイプラインとして組み立てられる <code>Valve</code> の集合を通して処理されます。詳しくは Jetspeed 2 パイプラインについての情報を参照してください。 + <a href="../multiproject/jetspeed-portal/pipeline.html">ここを参照</a>. + </p> + </section> + + </body> +</document> +