From karma @ jazz.email.ne.jp Tue Mar 7 19:16:59 2006 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Tue, 07 Mar 2006 19:16:59 +0900 Subject: [Jetspeed-japan-trans] Re: guides/guide-security-declarative-psml.xml In-Reply-To: <877j7lkuc0.wl%karma@jazz.email.ne.jp> References: <877j7lkuc0.wl%karma@jazz.email.ne.jp> Message-ID: <87mzg2pnj8.wl%karma@jazz.email.ne.jp> 加藤泰文です. >>> On Fri, 24 Feb 2006 17:57:19 +0900 in message "[Jetspeed-japan-trans] guides/guide-security-declarative-psml.xml" KATOH Yasufumi-san wrote: > guides/guide-security-declarative-psml.xml をやります. やってますが,アドバイスを一つお願いします. 一つ目の subsection のタイトルが "Grants" ですが,これ,どう訳すのが良 いでしょう?これ,言葉の定義っぽいので,そのまま置いとくのもすっきりす るかなあという感じなんですがね.この subsection の最初の文の訳とも関係 するんですが... Grants are granting. みたいな説明ありますし (省略しすぎ ^^;). 「許可を与える事」ぐらいかなあ.要は「与える」という動作みたいなものを 説明していますよね. # この文書の grant は場所によって訳を変えた方がしっくりくるので,やや # こしい... -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://park2.wakwak.com/%7Ekarma/ ============================================== From shinsuke @ yahoo.co.jp Wed Mar 8 03:46:54 2006 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Wed, 08 Mar 2006 03:46:54 +0900 Subject: [Jetspeed-japan-trans] Re: guides/guide-security-declarative-psml.xml In-Reply-To: <87mzg2pnj8.wl%karma@jazz.email.ne.jp> References: <877j7lkuc0.wl%karma@jazz.email.ne.jp> <87mzg2pnj8.wl%karma@jazz.email.ne.jp> Message-ID: <440DD51E.6020807@yahoo.co.jp> こんにちは、菅谷です。 KATOH Yasufumi wrote: > 加藤泰文です. > >>>> On Fri, 24 Feb 2006 17:57:19 +0900 > in message "[Jetspeed-japan-trans] guides/guide-security-declarative-psml.xml" > KATOH Yasufumi-san wrote: > >> guides/guide-security-declarative-psml.xml をやります. > > やってますが,アドバイスを一つお願いします. > > 一つ目の subsection のタイトルが "Grants" ですが,これ,どう訳すのが良 > いでしょう?これ,言葉の定義っぽいので,そのまま置いとくのもすっきりす > るかなあという感じなんですがね.この subsection の最初の文の訳とも関係 > するんですが... 下が Denies といっているので、Grants は許可あたりが良い気がします。 > Grants are granting. みたいな説明ありますし (省略しすぎ ^^;). > > 「許可を与える事」ぐらいかなあ.要は「与える」という動作みたいなものを > 説明していますよね. そう思います。名詞みたいなときは許可で、動詞のときは与えるという 感じでしょうか。 shinsuke > # この文書の grant は場所によって訳を変えた方がしっくりくるので,やや > # こしい... > -------------------------------------- TSUKAME EIKOU! KAGAYAKE EGAO! Yahoo! JAPAN JPC OFFICIAL PARTNER INTERNET PORTAL SITE http://pr.mail.yahoo.co.jp/wintergames/ From karma @ jazz.email.ne.jp Fri Mar 10 14:33:17 2006 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Fri, 10 Mar 2006 14:33:17 +0900 Subject: [Jetspeed-japan-trans] Re: guides/guide-security-declarative-psml.xml In-Reply-To: <440DD51E.6020807@yahoo.co.jp> References: <877j7lkuc0.wl%karma@jazz.email.ne.jp> <87mzg2pnj8.wl%karma@jazz.email.ne.jp> <440DD51E.6020807@yahoo.co.jp> Message-ID: <87hd66dftu.wl%karma@jazz.email.ne.jp> 加藤泰文です. とりあえず訳が完了です.CRLF/UTF-8 です. 気づいた問題点. - "Role" の項にタグが付けられていない段落があります.オリジナルの HTML にはその段落は表示されていません."Constraints can also deny role principals access to the entire resource. If the authorized user is a member of any of the listed roles, all access to the resource is denied." という部分. - "Combination" の所で例示がありますが,本文中で例として挙がっている ロール,グループ,ユーザ名と設定例の名前が違います. - "Page Constraints", "Fragment Constraints" の所で なんてタグが. の間違いでしょうね. ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://park2.wakwak.com/%7Ekarma/ ============================================== -------------- next part -------------- テキスト形式以外の添付ファイルを保管しました... ファイル名: guide-security-declarative-psml.xml 型: application/octet-stream サイズ: 33213 バイト 説明: 無し URL: http://lists.sourceforge.jp/mailman/archives/jetspeed-japan-trans/attachments/20060310/27a703cb/attachment.obj From karma @ jazz.email.ne.jp Fri Mar 10 14:58:37 2006 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Fri, 10 Mar 2006 14:58:37 +0900 Subject: [Jetspeed-japan-trans] guides/guide-menus-declarative-psml.xml Message-ID: <87d5gudenm.wl%karma@jazz.email.ne.jp> 加藤泰文です. guides/guide-menus-declarative-psml.xml やります.これも結構長いな. (^_^;) -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://park2.wakwak.com/%7Ekarma/ ============================================== From shinsuke @ users.sourceforge.jp Sat Mar 11 03:53:07 2006 From: shinsuke @ users.sourceforge.jp (shinsuke @ users.sourceforge.jp) Date: Sat, 11 Mar 2006 03:53:07 +0900 Subject: [Jetspeed-japan-trans] CVS-Update: jetspeed-2-trans/ja/xdocs/guides committed by shinsuke Message-ID: <20060310185307.43F8E2AC06B@users.sourceforge.jp> Update of /cvsroot/jetspeed-japan/jetspeed-2-trans/ja/xdocs/guides In directory sf-cvs:/tmp/cvs-serv12454/ja/xdocs/guides Modified Files: guide-security-declarative-psml.xml Log Message: submitted by KATOH Yasufumi jetspeed-2-trans/ja/xdocs/guides/guide-security-declarative-psml.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-security-declarative-psml.xml.diff?r1=1.1.1.1&r2=1.2 =================================================================== RCS file: jetspeed-2-trans/ja/xdocs/guides/guide-security-declarative-psml.xml,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- guide-security-declarative-psml.xml 2005/12/16 03:43:36 1.1.1.1 +++ guide-security-declarative-psml.xml 2006/03/10 18:53:07 1.2 @@ -1,345 +1,651 @@ - - - - - Guide to Declarative Security through PSML - Guide to Declarative Security through PSML - - - - - - -
-

-

-

-

-Security Constraints are applied to pages and folders. Security Constraints either grant or deny -access to pages and folders. Constraints can be defined in one or all of these four places: -

    -
  • 1. Global: As declarations in the page.security file found in the root of the PSML tree.
  • -
  • 2. Folder: In the folder.metadata file optionally located in every directory.
  • -
  • 3. Page: In PSML files to constrain access to specific pages.
  • -
  • 4. Fragment: In page PSML files to constrain access to a specific fragment within a page.
  • -
-

- -

-Grants are associated with permissions, authorizing, or granting, a principal list -access to a page or folder. -A granting security constraint is the association of a list of one -or more security principals combined with one or permissions. Grant constraints grant access to a page or folder -for the associated list of permissions. -

-
- -

-A deny security constraint is declared -with one or more security principals; with no associated permissions. Deny constraints prohibit access -to the page or folder for the given list of principals. Note that deny constraints -must be listed before grant constraints. -

-
- -

-When working with pages and folder resource constraints, a constraint can be either -a declarative constraint or a referential constraint. -Declarative constraints are declared and put to use right in place for the particular -page or folder resource. Where as referential constraints refer to a constraint declared -in a centralized security constraint resource: the page.security file. Each -site or subsite can have one page.security resource for declaring constraints -to be referenced in any page or folder. -

-
-
-
-

-A security constraint is an XML element found in a PSML file, a folder metadata file, or inthe global security declarations. -A security constraint has one attribute: the name. A security constraint has the following elements: -

-
    -
  • roles - a comma-separated list of one or more role principals or * for all roles
  • -
  • groups - a comma-separated list of one or more group principals or * for all groups
  • -
  • users - a comma-separated list of one or more user principals or * for all users
  • -
  • owner - a single user principal
  • -
  • permissions - a comma-separated list of one or permissions (view,edit,help)
  • -
-

-The first four elements (roles, groups, users, owner) all define the principals who will either have a permission granted or denied. -

- -

-Permissions are the portal modes that are granted by the security constraint. Note that permissions are only granted, not denied. -The view permission is similiar to the read permission found in operating systems. -The edit permission is similiar to the write permission found in operating systems. -The help permission is similiar to the info permission found in some portals. -

-
- - -

-Constraints can be granted to one or more role principals for a set of permissions on a given resource. -Roles are derived from the authorized users list of role principals, i.e. the roles that the user is a member of. -If the authorized user is a member of any of the listed roles, the permission to the resource will be granted. -

- - adminstrator, manager - view, edit - -]]> -Constraints can also deny role principals access to the entire resource. -If the authorized user is a member of any of the listed roles, all access to the resource is denied. - - adminstrator, manager - -]]> -
- -

-Constraints can be granted to one or more group principals for a set of permissions on a given resource. -Groups are derived from the authorized users list of group principals, i.e. the groups that the user is a member of. -If the authorized user is a member of any of the listed groups, the permission to the resource will be granted. - - accounting, development - view - -]]> -Constraints can also deny group principals access to the entire resource. -If the authorized user is a member of any of the listed groups, all access to the resource is denied. - - accounting, development - -]]> -

-
- -

-Constraints can be granted to one or more user principals for a set of permissions on a given resource: -The current user must be one of the listed principals in the comma-separated list in order to grant permission to the resource. - - joey, deedee, johnny - view, edit, help - -]]> -Constraints can also deny user principals access to the entire resource. -If the authorized user is in the list, all access to the resource is denied. - - fred - -]]> -

-
- -

-Note that you can grant or deny permissions to a collection of one or more principal types. For example, here we grant view and edit permissions -to the roles (manager, developer), and to the groups (QA and Research), and to the particular user (dilbert): -If the authorized user is a member of any of the listed roles, groups, or users, the permission to the resource will be granted. -

- - hacker, coder, guru - unix, linux, freebsd - betty, fred, barney, wilma - view, edit - -]]> -

-Constraints can also deny combinations of principals access to the entire resource. -If the authorized user is a member of any of the listed groups, roles or users, all access to the resource is denied. -

- - hacker, coder, guru - unix, linux, freebsd - betty, fred, barney, wilma - -]]> -
- -

-The * can be applied to roles, groups, users or permissions to imply ALL. - - * - * - -]]> -

-
- -

- TODO -

-
-
-
-

-Declarative constraints are declared in the page.security file of the root of a site. -Declarative constraints are referenced in pages and folders with the security-constraints-ref tag. -Global constraints are also declarative constraints. They are also defined and found in the page.security file in the root PSML repository. -The difference with global constraints is that they implicitly apply to all folders and pages within the scope of the page.security file, (i.e. the site). -Note that there can be only one page.security file in a Jetspeed installation. -

- - - admin - view, edit - - - admin -]]> - -

- Several security constraint declarations are made in the default deployment of Jetspeed: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
namegrantspermissionsglobal
adminroles: adminview, edityes
managerroles: managerviewno
usersroles: user, managerviewno
public-viewusers: *viewno
public-editusers: *view, editno
-

-
-
-
-

-Folder Security constraints are placed in a security-constraints list in the folder.metadata file optionally found in each folder in the site. -Note that the absence of a folder.metadata or security constraints within that file means that the folder will -inherit the constraints of the parent folder, all the way up to the root folder of the site or subsite. Folder constraints do -not inherit across subsites. Folder security constraints are made up of declarative security constraints and referential security -constraints. Here is an example of both, the first being a referential constraint, the second a declarative constraint: - - public-view - - engineering - view - - -]]> -

-

-Note that all security constraints must be placed within a security-constraints collection. -

-
-
-

-Page Security constraints are placed security-constraints list -in PSML files and are optional. -Note that the absence of a security constraints list within that file means that the folder will -inherit the constraints of the folder in which it resides. Page security constraints are made up of -declarative security constraints and referential security -constraints. Here is an example of both, the first being a referential constraint, the second a declarative constraint: -

- - global-view - - accounting - view, edit - - -]]> -

-Note that all security constraints must be placed within a security-constraints collection. -

-
-
-

-As with Page Security constraints, Fragment Security constraints are placed within -security-constraints list in PSML page files and are -again optional. As expected, the absence of a security constraints list implies the -fragment will inherit the constraints of the page of which it is a part. Note that -only the view permission is checked against these constraints. Other permissions -are tested only against the containing page. -

-
-
-

-Declarative Security Constraints are enabled by default in the Spring configuration of the -Page Manager component. Here is the default Page Manager bean configuration from the -page-manager.xml spring assembly configuration file: -

- - - - - - - false - - true - -]]> -

-Here the 6th, (index="5"), boolean constructor argument specifies whether or -not the "constraints security" model is enabled. If the Declarative Security Constraints -are not enabled, all inline, referenced, and global security constraints will be ignored. -

-
- - -
+ + + + + Guide to Declarative Security through PSML + Guide to Declarative Security through PSML + + + + + + + + + +
+ +

+

+

+
+

+Security Constraints are applied to pages and folders. Security Constraints either grant or deny +access to pages and folders. Constraints can be defined in one or all of these four places: +

    +
  • 1. Global: As declarations in the page.security file found in the root of the PSML tree.
  • +
  • 2. Folder: In the folder.metadata file optionally located in every directory.
  • +
  • 3. Page: In PSML files to constrain access to specific pages.
  • +
  • 4. Fragment: In page PSML files to constrain access to a specific fragment within a page.
  • +
+

+
+

+$B%;%-%e%j%F%#@)Ls$O!"%Z!<%8$H%U%)%k%@$KE,MQ$5$l$^$9!#%;%-%e%j%F%#@)Ls$O!"%Z!<%8$H%U%)%k%@$KBP$9$k%"%/%;%9$r5v2D$7$?$j5qH]$7$?$j$7$^$9!#@)Ls$O!"0J2<$N(B 4 $B$D$N>l=j$N0l$D$^$?$OA4$F$GDj5A$5$l$^$9!#(B +

    +
  • 1. $B%0%m!<%P%k(B: PSML $B%D%j!<$N%k!<%H$KB8:_$9$k(B page.security $B%U%!%$%kFb$N @ k8@$H$7$F!#(B
  • +
  • 2. $B%U%)%k%@(B: $B3F%G%#%l%/%H%j$K%*%W%7%g%J%k$KB8:_$9$k(B folder.metadata $B%U%!%$%kFb$G!#(B
  • +
  • 3. $B%Z!<%8(B: $BFCDj$N%Z!<%8$X$N%"%/%;%9$r@)8B$9$k$?$a$K(B PSML $B%U%!%$%kFb$G!#(B
  • +
  • 4. $B%U%i%0%a%s%H(B: $B%Z!<%8Fb$NFCDj$N%U%i%0%a%s%H$KBP$9$k%"%/%;%9$r@)8B$9$k$?$a$K(B PSML $B%U%!%$%k$NCf$G!#(B
  • +
+

+ +
+

+Grants are associated with permissions, authorizing, or granting, a principal list +access to a page or folder. +A granting security constraint is the association of a list of one +or more security principals combined with one or permissions. Grant constraints grant access to a page or folder +for the associated list of permissions. +

+
+

+$B5v2D$O!"%Z!<%8$^$?$O%U%)%k%@$KBP$9$k%"%/%;%9$KBP$9$k%Q!<%_%C%7%g%s!">5G'!"8"8B$Ne$N%Q!<%_%C%7%g%s$HAH$_9g$;$?!"0l$D0J>e$N%;%-%e%j%F%#%W%j%s%7%Q%k$N%j%9%H$N4XO"IU$1$r9T$&$H$$$&$3$H$G$9!#@)Ls$rM?$($k$H!"4XO"$E$1$i$l$?%Q!<%_%C%7%g%s$N%j%9%H$NDL$j$K$J$k$h$&%Z!<%8$^$?$O%U%)%k%@$X$N%"%/%;%9$,5v2D$5$l$^$9!#(B +

+
+ +
+

+A deny security constraint is declared +with one or more security principals; with no associated permissions. Deny constraints prohibit access +to the page or folder for the given list of principals. Note that deny constraints +must be listed before grant constraints. +

+
+

+$BH]G'$N%;%-%e%j%F%#@)Ls$O!"0l$D0J>e$N%;%-%e%j%F%#%W%j%s%7%Q%k$H6&$K @ k8@$5$l$^$9!#@)Ls$NH]G'$O!"M?$($i$l$?%W%j%s%7%Q%k$N%j%9%H$NDL$j$K$J$k$h$&!"%Z!<%8$d%U%)%k%@$KBP$9$k%"%/%;%9$r6X;_$7$^$9!#@)Ls$NH]G'$O!"@)Ls$N>5G'$NA0$K%j%9%H%"%C%W$5$l$kI,MW$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#(B +

+
+ +
+

+When working with pages and folder resource constraints, a constraint can be either +a declarative constraint or a referential constraint. +Declarative constraints are declared and put to use right in place for the particular +page or folder resource. Where as referential constraints refer to a constraint declared +in a centralized security constraint resource: the page.security file. Each +site or subsite can have one page.security resource for declaring constraints +to be referenced in any page or folder. +

+
+

+$B%Z!<%8$H%U%)%k%@$N%j%=!<%9@)Ls$,E,MQ$5$l$k$H$-!"@)Ls$O(B $B @ k8@7?(B $B$^$?$O(B $B;2>H7?(B $B$N@)Ls$N$I$A$i$+$G$"$k2DG=@-$,$"$j$^$9!#@k8 @ 7?$N@)Ls$O!"FCDj$N%Z!<%8$^$?$O%U%)%k%@$N%j%=!<%9$,!"E, @ Z$K;H$o$l$k$?$a$K @ k8@$5$l$^$9!#;2>H7?$N@)Ls$O!"Cf1{=88"E*$J%;%-%e%j%F%#@)Ls%j%=!<%9$G$"$k(B page.security $B%U%!%$%kFb$G @ k8@$5$l$?@)Ls$r;2>H$7$^$9!#%5%$%HKh$+%5%V%5%$%HKh$K!"G$0U$N%Z!<%8$d%U%)%k%@Fb$G;2>H$5$l$k@)Ls$r @ k8@$9$k$?$a$K!"(Bpage.security $B$,0l$D$"$j$^$9!#(B +

+
+
+
+
+

+A security constraint is an XML element found in a PSML file, a folder metadata file, or inthe global security declarations. +A security constraint has one attribute: the name. A security constraint has the following elements: +

+
+

+$B%;%-%e%j%F%#@)Ls$O!"(BPSML $B%U%!%$%kFb!"$b$7$/$O%U%)%k%@$N%a%?%G!<%?%U%!%$%kFb!"$b$7$/$O%0%m!<%P%k$J%;%-%e%j%F%#$N @ k8@Cf$K$"$k(B XML $BMWAG$G$9!#%;%-%e%j%F%#@)8B$K$O(B name $B$H$$$&B0 @ -$,0l$DB8:_$7$^$9!#%;%-%e%j%F%#@)Ls$O!"0J2<$NMWAG$r;}$A$^$9!#(B +

+
+
    +
  • roles - a comma-separated list of one or more role principals or * for all roles
  • +
  • groups - a comma-separated list of one or more group principals or * for all groups
  • +
  • users - a comma-separated list of one or more user principals or * for all users
  • +
  • owner - a single user principal
  • +
  • permissions - a comma-separated list of one or permissions (view,edit,help)
  • +
+
+
    +
  • roles - $B%+%s%^$G6h @ Z$i$l$?0l$D0J>e$N%m!<%k%W%j%s%7%Q%k$N%j%9%H!"$b$7$/$OA4$F$N%m!<%k$rI=$9(B *
  • +
  • groups - $B%+%s%^$G6h @ Z$i$l$?0l$D0J>e$N%0%k!<%W%W%j%s%7%Q%k$N%j%9%H!"$b$7$/$OA4$F$N%0%k!<%W$rI=$9(B *
  • +
  • users - $B%+%s%^$G6h @ Z$i$l$?0l$D0J>e$N%f!<%6%W%j%s%7%Q%k!"$b$7$/$OA4$F$N%f!<%6$rI=$9(B *
  • +
  • owner - $BC10l$N%f!<%6%W%j%s%7%Q%k(B
  • +
  • permissions - $B%+%s%^$G6h @ Z$i$l$?0l$D0J>e$N%Q!<%_%C%7%g%s(B (view, edit, help) $B$N%j%9%H(B
  • +
+
+

+The first four elements (roles, groups, users, owner) all define the principals who will either have a permission granted or denied. +

+
+

+$B:G=i$N(B 4 $B$D$NMWAG(B (roles, groups, users, owner) $B$OA4$F!">5G'$5$l$k$b$7$/$O5qH]$5$l$k%Q!<%_%C%7%g%s$r;}$D%W%j%s%7%Q%k$rDj5A$7$^$9!#(B +

+ +
+

+Permissions are the portal modes that are granted by the security constraint. Note that permissions are only granted, not denied. +The view permission is similiar to the read permission found in operating systems. +The edit permission is similiar to the write permission found in operating systems. +The help permission is similiar to the info permission found in some portals. +

+
+

+$B%Q!<%_%C%7%g%s$O!"%;%-%e%j%F%#@)8B$K$h$C$F5v2D$,M?$($i$l$k%]!<%?%k$N%b!<%I$G$9!#%Q!<%_%C%7%g%s$O5v2D$r9T$&$@$1$G!"H]G'$O$7$^$;$s!#(B +view $B%Q!<%_%C%7%g%s$O!"%*%Z%l!<%F%#%s%0%7%9%F%`$K$*$1$k(B read $B%Q!<%_%C%7%g%s$HF1MM$N$b$N$G$9!#(B +edit $B%Q!<%_%C%7%g%s$O!"%*%Z%l!<%F%#%s%0%7%9%F%`$K$*$1$k(B write $B%Q!<%_%C%7%g%s$HF1MM$N$b$N$G$9!#(B +help $B%Q!<%_%C%7%g%s$O!"B>$N%]!<%?%k$G(B info $B%Q!<%_%C%7%g%s$H$J$C$F$$$k$3$H$,$"$k$b$N$HF1MM$N$b$N$G$9!#(B +

+
+ + +
+

+Constraints can be granted to one or more role principals for a set of permissions on a given resource. +Roles are derived from the authorized users list of role principals, i.e. the roles that the user is a member of. +If the authorized user is a member of any of the listed roles, the permission to the resource will be granted. +

+
+

+$B@)Ls$O!"M?$($i$l$?%j%=!<%9$X$N%Q!<%_%C%7%g%s$N%;%C%H$r!"0l$D0J>e$N%m!<%k%W%j%s%7%Q%k$KM?$($k$3$H$,=PMh$^$9!#%m!<%k$O!">5G'$5$l$?%m!<%k%W%j%s%7%Q%k(B ($B$D$^$j$=$N%f!<%6$,%a%s%P!<$G$"$k$H$$$&$3$H(B) $B$N%f!<%6%j%9%H$+$iF@$i$l$^$9!#$b$7>5G'$5$l$?%f!<%6$,!"%j%9%H$5$l$?%m!<%k$N$I$l$+$N%a%s%P!<$G$"$k$N$J$i!"%j%=!<%9$KBP$9$k%Q!<%_%C%7%g%s$,M?$($i$l$^$9!#(B +

+
+ + adminstrator, manager + view, edit + +]]> +
+ + adminstrator, manager + view, edit + +]]> +
+

+Constraints can also deny role principals access to the entire resource. +If the authorized user is a member of any of the listed roles, all access to the resource is denied. +

+
+

+$B@)Ls$O!"%m!<%k%W%j%s%7%Q%k$N%j%=!<%9A4BN$KBP$9$k%"%/%;%9$r5qH]$9$k$3$H$b2DG=$G$9!#$b$7>5G'$5$l$?%f!<%6$,!"%j%9%H$5$l$?%m!<%k$N$I$l$+$N%a%s%P!<$G$"$k$N$J$i!"%j%=!<%9$KBP$9$kA4$F$N%"%/%;%9$,5qH]$5$l$^$9!#(B +

+
+ + adminstrator, manager + +]]> +
+ + adminstrator, manager + +]]> +
+ +
+

+Constraints can be granted to one or more group principals for a set of permissions on a given resource. +Groups are derived from the authorized users list of group principals, i.e. the groups that the user is a member of. +If the authorized user is a member of any of the listed groups, the permission to the resource will be granted. + + accounting, development + view + +]]> +Constraints can also deny group principals access to the entire resource. +If the authorized user is a member of any of the listed groups, all access to the resource is denied. + + accounting, development + +]]> +

+
+

+$B@)Ls$O!"M?$($i$l$?%j%=!<%9$X$N%Q!<%_%C%7%g%s$N%;%C%H$r!"0l$D0J>e$N%0%k!<%W%W%j%s%7%Q%k$KM?$($k$3$H$,=PMh$^$9!#(B +$B%0%k!<%W$O!">5G'$5$l$?%0%k!<%W%W%j%s%7%Q%k(B ($B$D$^$j%f!<%6$,%a%s%P!<$G$"$k%0%k!<%W(B) $B$N%f!<%6$N%j%9%H$+$iF@$i$l$^$9!#(B +$B$b$7>5G'$5$l$?%f!<%6$,!"%j%9%H$5$l$?%0%k!<%W$N$I$l$+$N%a%s%P!<$G$"$k$N$J$i!"%j%=!<%9$KBP$9$k%Q!<%_%C%7%g%s$,M?$($i$l$^$9!#(B + + accounting, development + view + +]]> +$B@)Ls$O!"%0%k!<%W%W%j%s%7%Q%k$N%j%=!<%9A4BN$KBP$9$k%"%/%;%9$r5qH]$9$k$3$H$b=PMh$^$9!#$b$7>5G'$5$l$?%f!<%6$,!"%j%9%H$5$l$?%0%k!<%W$N$$$:$l$+$N%a%s%P!<$G$"$k$N$J$i!"%j%=!<%9$KBP$9$kA4$F$N%"%/%;%9$,5qH]$5$l$^$9!#(B + + accounting, development + +]]> +

+
+ +
+

+Constraints can be granted to one or more user principals for a set of permissions on a given resource: +The current user must be one of the listed principals in the comma-separated list in order to grant permission to the resource. + + joey, deedee, johnny + view, edit, help + +]]> +Constraints can also deny user principals access to the entire resource. +If the authorized user is in the list, all access to the resource is denied. + + fred + +]]> +

+
+

+$B@)Ls$O!"M?$($i$l$?%j%=!<%9$X$N%Q!<%_%C%7%g%s$N%;%C%H$r!"0l$D0J>e$N%f!<%6%W%j%s%7%Q%k$KM?$($k;v$,=PMh$^$9!#8=:_$N%f!<%6$O!"%j%=!<%9$KBP$9$k%Q!<%_%C%7%g%s$rM?$($k$?$a$K%+%s%^$G6h @ Z$i$l$?%j%9%HCf$K%j%9%H$5$l$k!"%W%j%s%7%Q%k$N0l$D$G$J$1$l$P$J$j$^$;$s!#(B + + joey, deedee, johnny + view, edit, help + +]]> +$B@)Ls$O!"%f!<%6%W%j%s%7%Q%k$NA4$F$N%j%=!<%9$KBP$9$k%"%/%;%9$r5qH]$9$k$3$H$b2DG=$G$9!#$b$7>5G'$5$l$?%f!<%6$,%j%9%HFb$K$"$l$P!"A4$F$N%"%/%;%9$O5qH]$5$l$^$9!#(B + + fred + +]]> +

+
+ +
+ + hacker, coder, guru + unix, linux, freebsd + betty, fred, barney, wilma + view, edit + +]]> +
+ + hacker, coder, guru + unix, linux, freebsd + betty, fred, barney, wilma + view, edit + +]]> +
+

+Constraints can also deny combinations of principals access to the entire resource. +If the authorized user is a member of any of the listed groups, roles or users, all access to the resource is denied. +

+
+

+$B@)Ls$O!"%W%j%s%7%Q%k$NAH$_9g$;$,!"A4$F$N%j%=!<%9$KBP$9$k%"%/%;%9$r5qH]$9$k$3$H$b2DG=$G$9!#$b$7>5G'$5$l$?%f!<%6$,!"%j%9%H$5$l$?%0%k!<%W$d%m!<%k$d%f!<%6$N%a%s%P!<$G$"$l$P!"%j%=!<%9$KBP$9$kA4$F$N%"%/%;%9$O5qH]$5$l$^$9!#(B +

+
+ + hacker, coder, guru + unix, linux, freebsd + betty, fred, barney, wilma + +]]> +
+ + hacker, coder, guru + unix, linux, freebsd + betty, fred, barney, wilma + +]]> +
+ +
+

+The * can be applied to roles, groups, users or permissions to imply ALL. + + * + * + +]]> +

+
+

+$BA4$F$r0UL#$9$k(B * ($B%"%9%?%j%9%/(B) $B$O!"%m!<%k!"%0%k!<%W!"%f!<%6!"%Q!<%_%C%7%g%s$NA4$F$KE,MQ2DG=$G$9!#(B + + * + * + +]]> +

+
+ +
+

+ TODO +

+
+

+ TODO +

+
+
+
+
+

+Declarative constraints are declared in the page.security file of the root of a site. +Declarative constraints are referenced in pages and folders with the security-constraints-ref tag. +Global constraints are also declarative constraints. They are also defined and found in the page.security file in the root PSML repository. +The difference with global constraints is that they implicitly apply to all folders and pages within the scope of the page.security file, (i.e. the site). +Note that there can be only one page.security file in a Jetspeed installation. +

+
+

+$B @ k8@7?$N@)Ls$O!"%5%$%H$N%k!<%H$K$"$k(B page.security $B%U%!%$%kFb$G @ k8@$5$l$^$9!#@k8 @ 7?$N@)Ls$O!"(Bsecurity-constraints-ref $B%?%0$r;H$C$F!"%Z!<%8$d%U%)%k%@Fb$G;2>H$5$l$^$9!#%0%m!<%P%k$J@)Ls$b @ k8@7?$N@)Ls$G$9!#$3$l$i$O!"%k!<%H(B PSML $B%j%]%8%H%jFb$N(B page.security $B%U%!%$%kFb$G @ k8@$5$l!"8+IU$+$j$^$9!#%0%m!<%P%k$J@)Ls$N0c$$$O!"(Bpage.security $B%U%!%$%k$N%9%3!<%WFb(B ($B$9$J$o$A%5%$%H(B) $B$NA4$F$N%U%)%k%@$H%Z!<%8$K!"0EL[$N$&$A$KE,MQ$5$l$k$3$H$G$9!#(BJetspeed $B$r%$%s%9%H!<%k$9$k$H!"0l$D$7$+(B page.security $B%U%!%$%k$OB8:_=PMh$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B +

+
+ + + admin + view, edit + + + admin +]]> +
+ + + admin + view, edit + + + admin +]]> + +
+

+ Several security constraint declarations are made in the default deployment of Jetspeed: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
namegrantspermissionsglobal
adminroles: adminview, edityes
managerroles: managerviewno
usersroles: user, managerviewno
public-viewusers: *viewno
public-editusers: *view, editno
+

+
+

+$B%;%-%e%j%F%#@)Ls$N @ k8@$K$O!"(BJetspeed $B$N%G%U%)%k%H$NG[Hw$G:n @ .$5$l$k$b$N$,$"$j$^$9!#(B + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
$B@)LsL>(B$BM?$($i$l$kBP>](B$B%Q!<%_%C%7%g%s(B$B%0%m!<%P%k$+$I$&$+(B
adminroles: adminview, edityes
managerroles: managerviewno
usersroles: user, managerviewno
public-viewusers: *viewno
public-editusers: *view, editno
+

+
+
+
+
+

+Folder Security constraints are placed in a security-constraints list in the folder.metadata file optionally found in each folder in the site. +Note that the absence of a folder.metadata or security constraints within that file means that the folder will +inherit the constraints of the parent folder, all the way up to the root folder of the site or subsite. Folder constraints do +not inherit across subsites. Folder security constraints are made up of declarative security constraints and referential security +constraints. Here is an example of both, the first being a referential constraint, the second a declarative constraint: + + public-view + + engineering + view + + +]]> +

+
+

+$B%U%)%k%@$N%;%-%e%j%F%#@)Ls$O!"%5%$%HFb$N3F%U%)%k%@$K%*%W%7%g%J%k$GB8:_$9$k(B folder.metadata $B%U%!%$%kFb$N(B security-constraints $B%j%9%H(B $BFb$K5-=R$5$l$^$9!#(Bfolder.metadata $B%U%!%$%k$,$J$$>l9g!"$b$7$/$O$=$N%U%!%$%kFb$K%;%-%e%j%F%#@)Ls$N5-=R$,$J$$>l9g$O!"%U%)%k%@$O!"%5%$%H$+%5%V%5%$%H$N%k!<%H%U%)%k%@$^$G%G%#%l%/%H%j$r$?$I$C$F!"?F%U%)%k%@$N@)Ls$r7Q>5$9$k$3$H$KCm0U$7$F$/$@$5$$!#0J2<$KFs$D$NNc$r<($7$^$9!#0l$DL\$O@)Ls$N;2>H$G$"$j!"Fs$DL\$O @ k8@7?$N@)Ls$G$9!#(B + + public-view + + engineering + view + + +]]> +

+
+

+Note that all security constraints must be placed within a security-constraints collection. +

+
+

+$BA4$F$N%;%-%e%j%F%#@)Ls$O!"(Bsecurity-constraints $BFb$K5-=R$7$J$1$l$P$J$j$^$;$s!#(B +

+
+
+
+

+Page Security constraints are placed security-constraints list +in PSML files and are optional. +Note that the absence of a security constraints list within that file means that the folder will +inherit the constraints of the folder in which it resides. Page security constraints are made up of +declarative security constraints and referential security +constraints. Here is an example of both, the first being a referential constraint, the second a declarative constraint: +

+
+

+$B%Z!<%8$N%;%-%e%j%F%#@)Ls$O!"(BPSML $B%U%!%$%kFb$N(B security-constraints list $B$K5-=R$5$l$^$9!#$3$l$O%*%W%7%g%J%k$G$9!#$3$N%U%!%$%k$K%;%-%e%j%F%#@)Ls$N5-=R$,$J$$>l9g$O!"%U%)%k%@$O!"<+?H$,B8:_$9$k%U%)%k%@$N@)Ls$r7Q>5$9$k$3$H$KCm0U$7$F$/$@$5$$!#%Z!<%8$N%;%-%e%j%F%#@)Ls$O!"@k8 @ 7?$N%;%-%e%j%F%#@)Ls$H;2>H7?$N%;%-%e%j%F%#@)Ls$+$i:n @ .$5$l$^$9!#0J2<$K!"Fs$D$NNc$r<($7$^$9!#0l$DL\$O;2>H7?$N@)Ls!"Fs$DL\$O @ k8@7?$N@)Ls$G$9!#(B +

+
+ + global-view + + accounting + view, edit + + +]]> +
+ + global-view + + accounting + view, edit + + +]]> +
+

+Note that all security constraints must be placed within a security-constraints collection. +

+
+

+$BA4$F$N%;%-%e%j%F%#@)Ls$O!"(Bsecurity-constraints $BFb$K5-=R$7$J$1$l$P$J$j$^$;$s!#(B +

+
+
+
+

+As with Page Security constraints, Fragment Security constraints are placed within +security-constraints list in PSML page files and are +again optional. As expected, the absence of a security constraints list implies the +fragment will inherit the constraints of the page of which it is a part. Note that +only the view permission is checked against these constraints. Other permissions +are tested only against the containing page. +

+
+

+$B%Z!<%8$N%;%-%e%j%F%#@)Ls$HF1MM$K!"%U%i%0%a%s%H$N%;%-%e%j%F%#@)Ls$O!"(BPSML $B%U%!%$%kFb$N(B security-constraints list $B$K5-=R$5$l$^$9!#$3$N5-=R$O%*%W%7%g%J%k$G$9!#M=A[DL$j!"%;%-%e%j%F%#$N@)Ls$N%j%9%H$,$J$$>l9g$O!"%U%i%0%a%s%H$O!"<+?H$,B0$9$k%Z!<%8$N@)Ls$r7Q>5$7$^$9!#(Bview $B%Q!<%_%C%7%g%s$@$1$,%U%i%0%a%s%H$N@)Ls$KBP$7$F%A%'%C%/$5$l$k$3$H$KCm0U$7$F$/$@$5$$!#B>$N%Q!<%_%C%7%g%s$O4^$^$l$k%Z!<%8$KBP$7$F$N$_%F%9%H$5$l$^$9!#(B +

+
+
+
+

+Declarative Security Constraints are enabled by default in the Spring configuration of the +Page Manager component. Here is the default Page Manager bean configuration from the +page-manager.xml spring assembly configuration file: +

+
+

+$B @ k8@7?$N%;%-%e%j%F%#@)Ls$O!"%G%U%)%k%H$G%Z!<%8%^%M!<%8%c%3%s%]!<%M%s%H$N(B Spring $B$N @ _Dj$GM-8z$K$J$j$^$9!#0J2<$K!"(Bpage-manager.xml $B$H$$$&(B Spring $B$NItIJ @ _Dj%U%!%$%k$N%G%U%)%k%H$N%Z!<%8%^%M!<%8%c(B bean $B$N @ _Dj$r<($7$^$9!#(B +

+
+ + + + + + + false + + true + +]]> +
+ + + + + + + false + + true + +]]> +
+

+Here the 6th, (index="5"), boolean constructor argument specifies whether or +not the "constraints security" model is enabled. If the Declarative Security Constraints +are not enabled, all inline, referenced, and global security constraints will be ignored. +

+
+

+$B$3$NNc$N(B 6 $BHVL\(B (index="5") $B$N??56CM$N%3%s%9%H%i%/%?0z?t$,!"(B"$B@)Ls%;%-%e%j%F%#(B" $B%b%G%k$rM-8z$K$9$k$+$I$&$+$N;XDj$r9T$&$b$N$G$9!#$b$7!"@k8 @ 7?$N%;%-%e%j%F%#@)Ls$,M-8z$G$J$$$N$J$i!"A4$F$N%$%s%i%$%s!";2>H7?!"%0%m!<%P%k$N%;%-%e%j%F%#@)Ls$OL5;k$5$l$^$9!#(B +

+
+ + +
From shinsuke @ users.sourceforge.jp Sat Mar 11 03:53:07 2006 From: shinsuke @ users.sourceforge.jp (shinsuke @ users.sourceforge.jp) Date: Sat, 11 Mar 2006 03:53:07 +0900 Subject: [Jetspeed-japan-trans] CVS-Update: jetspeed-2-trans/xdocs committed by shinsuke Message-ID: <20060310185307.8488E2AC09B@users.sourceforge.jp> Update of /cvsroot/jetspeed-japan/jetspeed-2-trans/xdocs In directory sf-cvs:/tmp/cvs-serv12454/xdocs Modified Files: assignment.xml Log Message: submitted by KATOH Yasufumi jetspeed-2-trans/xdocs/assignment.xml 1.18 -> 1.19 (modified) http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/jetspeed-japan/jetspeed-2-trans/xdocs/assignment.xml.diff?r1=1.18&r2=1.19 =================================================================== RCS file: jetspeed-2-trans/xdocs/assignment.xml,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- assignment.xml 2006/02/24 23:01:52 1.18 +++ assignment.xml 2006/03/10 18:53:07 1.19 @@ -174,8 +174,8 @@ guides/guide-menus-declarative-psml.xml ??? $BLuJ8(B - - - $BJg=8Cf(B + $B2CF#BYJ8(B + $BK]LuCf(B guides/guide-pipeline.xml From shinsuke @ yahoo.co.jp Sat Mar 11 03:42:14 2006 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Sat, 11 Mar 2006 03:42:14 +0900 Subject: [Jetspeed-japan-trans] Re: guides/guide-security-declarative-psml.xml In-Reply-To: <87hd66dftu.wl%karma@jazz.email.ne.jp> References: <877j7lkuc0.wl%karma@jazz.email.ne.jp> <87mzg2pnj8.wl%karma@jazz.email.ne.jp> <440DD51E.6020807@yahoo.co.jp> <87hd66dftu.wl%karma@jazz.email.ne.jp> Message-ID: <4411C886.7090503@yahoo.co.jp> こんにちは、菅谷です。 ありがとうございます。 分担表とともに更新しました。 問題点については、後で確認・修正をしておきます。 shinsuke KATOH Yasufumi wrote: > 加藤泰文です. > > とりあえず訳が完了です.CRLF/UTF-8 です. > > 気づいた問題点. > - "Role" の項にタグが付けられていない段落があります.オリジナルの > HTML にはその段落は表示されていません."Constraints can also deny > role principals access to the entire resource. If the authorized > user is a member of any of the listed roles, all access to the > resource is denied." という部分. > > - "Combination" の所で例示がありますが,本文中で例として挙がっている > ロール,グループ,ユーザ名と設定例の名前が違います. > > - "Page Constraints", "Fragment Constraints" の所で なんてタグが. > の間違いでしょうね. > > ============================================== > (((( 加藤泰文 > ○-○ karma @ jazz.email.ne.jp > ============================================== > (Web Page) http://park2.wakwak.com/%7Ekarma/ > ============================================== > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Jetspeed-japan-trans mailing list > Jetspeed-japan-trans @ lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/jetspeed-japan-trans -------------------------------------- TSUKAME EIKOU! KAGAYAKE EGAO! Yahoo! JAPAN JPC OFFICIAL PARTNER INTERNET PORTAL SITE http://pr.mail.yahoo.co.jp/wintergames/ From karma @ jazz.email.ne.jp Wed Mar 22 18:06:16 2006 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Wed, 22 Mar 2006 18:06:16 +0900 Subject: [Jetspeed-japan-trans] Re: guides/guide-menus-declarative-psml.xml In-Reply-To: <87d5gudenm.wl%karma@jazz.email.ne.jp> References: <87d5gudenm.wl%karma@jazz.email.ne.jp> Message-ID: <8764m6onlj.wl%karma@jazz.email.ne.jp> 加藤泰文です. >>> On Fri, 10 Mar 2006 14:58:37 +0900 in message "[Jetspeed-japan-trans] guides/guide-menus-declarative-psml.xml" KATOH Yasufumi-san wrote: > guides/guide-menus-declarative-psml.xml やります.これも結構長いな. 終わりました. - "bread crumbs link", "breadcrumbs link" 等は,そのまま「ブレッドクラ ムリンク」と訳してます.一応最初に訳注を入れましたが,不要なら削除し ます. - "rollover" の訳.以前もどっかで出てきましたが,とりあえずそのまま 「ロールオーバー」としてます. - "Menu Include Definitions" の項の "otherewise" -> "otherwise" かな. 以前,"render" を「レンダリングする」と訳したページがありましたが, 「描画する」の方がしっくりくるので,「描画する」にしてます.他のページ もまた見直しますね.「表示する」の方が良いかな? 毎度,怪しい部分もありますので,チェックよろしくです. -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://park2.wakwak.com/%7Ekarma/ ============================================== -------------- next part -------------- テキスト形式以外の添付ファイルを保管しました... ファイル名: guide-menus-declarative-psml.xml 型: application/octet-stream サイズ: 51590 バイト 説明: 無し URL: http://lists.sourceforge.jp/mailman/archives/jetspeed-japan-trans/attachments/20060322/28e1a1ee/attachment.obj From karma @ jazz.email.ne.jp Wed Mar 22 18:08:17 2006 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Wed, 22 Mar 2006 18:08:17 +0900 Subject: [Jetspeed-japan-trans] guides/guide-simple-portlet.xml Message-ID: <874q1qoni6.wl%karma@jazz.email.ne.jp> 加藤泰文です. guides/guide-simple-portlet.xml をやります.重いのが続いたので,ちょっ とだけ息抜き代りに.^^; -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://park2.wakwak.com/%7Ekarma/ ============================================== From shinsuke @ users.sourceforge.jp Wed Mar 22 22:23:05 2006 From: shinsuke @ users.sourceforge.jp (shinsuke @ users.sourceforge.jp) Date: Wed, 22 Mar 2006 22:23:05 +0900 Subject: [Jetspeed-japan-trans] CVS-Update: jetspeed-2-trans/ja/xdocs/guides committed by shinsuke Message-ID: <20060322132305.190062AC074@users.sourceforge.jp> Update of /cvsroot/jetspeed-japan/jetspeed-2-trans/ja/xdocs/guides In directory sf-cvs:/tmp/cvs-serv17478/ja/xdocs/guides Modified Files: guide-menus-declarative-psml.xml Log Message: submitted by KATOH Yasufumi jetspeed-2-trans/ja/xdocs/guides/guide-menus-declarative-psml.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-menus-declarative-psml.xml.diff?r1=1.1.1.1&r2=1.2 =================================================================== RCS file: jetspeed-2-trans/ja/xdocs/guides/guide-menus-declarative-psml.xml,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- guide-menus-declarative-psml.xml 2005/12/16 03:43:36 1.1.1.1 +++ guide-menus-declarative-psml.xml 2006/03/22 13:23:04 1.2 @@ -21,9 +21,13 @@ + + + -
+
+

Declarative menus are used to add new or customize default navigation elements in displayed portal pages. These PSML declarations are part of the page and folder elements. @@ -32,6 +36,11 @@ the PSML associated with the site root folder. Menu definitions in a specific page or folder override menus with the same name found in parent folders.

+
+

+メニューの宣言は、表示されているポータルページに新しいナビゲーション要素を追加したり、デフォルトのものをカスタマイズしたりするために使われます。これらの PSML 宣言は、pagefolder 要素の一部分です。他の PSML 要素と同様に、メニュー宣言は、親フォルダで定義された全てに加えて、ページ内で明示的に定義されるものが有効となります。このため、グローバルなサイトのメニューは、サイトのルートフォルダに関連づけられている PSML ファイル内で定義されます。特定のページやフォルダのメニューの定義は、親フォルダで定義されている同じ名前のメニューを上書きします。 +

+

Portal layout decorators access page menu declarations by name while rendering portal content. Menus are used to create dynamic navigation panes, portal page tabs, bread crumb links, and pull downs. @@ -45,6 +54,17 @@

  • the decorator would display the menu rendering titles and text from the menu definition itself and the computed menu options into portal navigation content.
  • +
    +

    +ポータルのレイアウトデコレータは、ポータルのコンテンツを描画している時に、名前でページメニューの宣言にアクセスします。メニューは、ダイナミックなナビゲーションペインや、ポータルページのタブや、ブレッドクラム機能 (訳注:よくページ上部に表示されるような、現在のページのウェブサイト内での階層構造をリストアップしたもの。例えば「ホーム>商品>デジタルカメラ」のように、どういうルートをたどって今のページに至ったかを示す。)や、プルダウンメニューを作成するのに使われます。ポータルサイトコンポーネントは、サイトのページ固有の PSML エレメントを持つダイナミックなメニュー定義の選択肢を実際に形成するのに関係します。例えば、グローバルなメニュー定義は、一般的に、ポータルページが構成されている間、次のような順序でイベントに関係します。 +

      +
    1. ポータルレイアウトデコレータは、名前でメニュー定義の要求を行います。
    2. +
    3. 定義は、現在のページに継承され、ルートフォルダの PSML に設定されます。
    4. +
    5. ポータルサイトコンポーネントは、現在のページのコンテキスト内のメニュー定義を解釈し、ページフォルダやメニューの選択肢のリンクを設置します。
    6. +
    7. デコレータは、メニュー定義自身と計算されたメニューの選択肢を元に、ポータルのナビゲーションコンテンツにタイトルとテキストを描画し、メニューを表示します。
    8. +
    +

    +

    There are default global menu declarations supported internally by the Portal Site Component that do not need to be explicitly defined in any page or folder PSML elements of the site: @@ -56,6 +76,18 @@ As one would expect, these built in menu definitions can be overridden by declaring menus in the site PSML with the same name.

    +
    +

    +ポータルサイトコンポーネントによって内部的にサポートされた共通のメニュー定義が存在し、サイトのページやフォルダの PSML 要素に明示的には定義の必要がありません。 +

      +
    • pages: ポータル上のページタブを定義するのに使われる、相対的なページメニュー。
    • +
    • bredcrumbs: ページタブ以下にリンクの履歴を提供するのに使われる、ページへのパス。
    • +
    • navigations: ポータルの横のナビゲーションパネルを定義するのに使われる、相対サブフォルダとルートレベルのリンクメニュー
    • +
    • back: ポータルページタブ上の、以前のページへ一つ戻るためのリンクを定義するのに使われる、親フォルダのメニュー。
    • +
    +メニュー定義内で構築されるこれらは、期待どおり、サイトの PSML 内で同じ名前で宣言されるメニューに上書きされます。 +

    +

    +
    +

    +

    +

    -
    +
    +

    The <menu> element defines a menu to be used by the layout decorators or a nested menu within another menu. There are many valid attributes for the menu element:

    +
    +

    +<menu> 要素は、レイアウトデコレータもしくは他のメニュー内のネストされたメニューによって使われるメニューを定義します。menu 要素には、たくさんの有効な属性が存在します。 +

    +
    @@ -114,9 +166,54 @@
    AttributeOptional decorator defined layout hint for the menu. This attribute is also used as the default skin value for options and nested menus. This hint is not currently used by Jetspeed2 decorators.
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    属性説明
    nameテンプレートコードおよび(または)メニュー参照からの検索のためのメニュー名を指定します。この属性は、トップレベルのノードで必須で、ネストされたメニューでは無視されます。
    optionsメニューの指定に、ドキュメントとフォルダの深い階層が存在する場合、メニューのためのルートドキュメントのパスを指定します。この属性は、ページ、フォルダ、メニューの選択肢のリンクの指定を行うドキュメントパスも定義します。カンマで区切ったパスおよび (または) 正規表現のパターンを、複数のオプションパスとして指定可能です。相対パスは、現在のページからの相対パスとして解釈されます。'~' や '@' といった特別なパターンを、現在のページを参照するために使うことが出来ます。
    depthオプションフォルダからのドキュメントの深さを指定します (0 以下の深さの指定は無限大を表す)。メニューの選択肢は、それぞれの可視ページを表示するか、サイトへのリンクを行うために作成されます。フォルダはこの設定によってネストしたメニューに変換されます。
    pathsルートフォルダから指定された選択肢への順序付きのパスオプションを含むかどうかを指定する真偽値。この設定は「履歴」もしくは「ブレッドクラム」メニューを生成するのに使います。
    regexp選択肢の値としてワイルドカードや正規表現が使われるかどうかを指定する真偽属性。ファイルシステムのコマンドラインの正規表現をサポートします。
    profileオプションの値を評価する際に使われるプロファイルロケータの名前を指定します。この属性は、オプションとネストしたメニューのためのデフォルトのプロファイルの値も設定します。'*' の指定は、全てのプロファイルロケータの名前を受け入れます。これは、親メニューが選択したプロファイル名を上書きするのに使うことが出来ます。
    orderマッチする選択肢の順序を判断するための、カンマで区切られたマッチするパターンの正規表現のリスト、もしくは正規表現のドキュメントパスの値。この属性は、どの選択肢の要素に対してもデフォルトの選択肢の値として適用されます。しかし、複数の選択肢の子供へのマッチを再度順序づけることはありません。もし指定されない場合、複数の選択肢は、含まれるフォルダドキュメントのものとして返される順序に含まれます。この属性にマッチしない選択肢のパスは、順序づけられたものの後に追加されます。
    skinメニューのためのレイアウトのヒントを定義するオプショナルなデコレータ。この属性は、選択肢やネストしたメニューのデフォルトスキンの値としても使われます。このヒントは、現時点では Jetspeed 2 のデコレータでは使われていません。
    +

    The <menu> element contains a number of other menu definition PSML elements. With the exception of the title and metadata elements, the relative order of these elements determines the order that the layout decorators present them:

    +
    +

    +<menu> 要素は、多数の他のメニュー定義の PSML 要素を含みます。タイトルとメタデータ要素を除いて、これらの要素の相対的な順序は、レイアウトデコレータがそれらを提示する順序を決定します。 +

    +
    @@ -155,18 +252,78 @@
    ElementSpecifies options and nested menus from another menu to be excluded from this menu definition. The name of the menu with elements to exclude is the text of this ordered menu element.
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    要素説明
    title?メニュー用のデフォルトのロケール特有のタイトルを指定する単純な要素。メニューのタイトルは、その長い記述とみなされます。そして、もしメニューの短いタイトルが利用可能である場合、デコレータによってはロールオーバー用のテキストとして使う場合があります。もし指定されない場合、メニューの名前が使われます。
    short-title?メニュー用のデフォルトのロケール特有の短いタイトル。短いタイトルは、もし利用可能である場合、デコレータによってはメニューのテキストとして使う場合があります。もし指定されない場合、タイトルのテキストが使われます。
    metadata*オプショナルで指定される、追加のロケール特有のタイトルと短いタイトル。
    options*この順序付きのメニュー要素は、このメニュー定義のためのコンテンツ要素を指定します。
    separator*このメニュー定義内で、インラインで含まれるテキスト行を指定するために使われる、順序付きのメニュー要素。
    menu*このメニュー定義に含まれる、ネストされたメニューを定義するのに使われる、他の順序付きメニュー要素。
    include*このメニュー定義に含める、他のメニューのネストしたメニュー、もしくは選択肢を指定します。含めるメニューの名前はこの順序付きのメニュー要素のテキストです。
    exclude*このメニュー定義から除外する、他のメニューの選択肢とネストしたメニューを指定します。除外するための要素に含まれるメニューの名前は、この順序付きのメニュー要素のテキストです。
    +

    Examples:

    +
    +

    例:

    +
    + + /some-top-page.psml,/custom/some-other-page.psml + +]]> +
    /some-top-page.psml,/custom/some-other-page.psml ]]> +
    + +]]> +
    ]]> +
    ]]> +
    + +]]> +
    Top Menu @@ -188,13 +345,60 @@ top-role-pages ]]> +
    + + Top Menu + Haut + /group-pages/* + + + -- Top Pages -- + Top Pages + + /* + + Custom Pages + + /custom-folder/ + + top-role-pages + More Top Pages + top-role-pages + +]]> +

    The definitions for the default global menu declarations supported internally by the Portal Site Component:

    +
    +

    デフォルトの共通メニュー宣言のための定義は、内部的にポータルサイトコンポーネントによってサポートされます。 +

    +
    ]]> +
    + +]]> +
    ]]> +
    + +]]> +
    + + Folders + ./*/ + page-navigations + Additional Links + /*.link + +]]> +
    Folders @@ -204,16 +408,30 @@ /*.link ]]> +
    + +]]> +
    ]]> +

    Note that the separator text of these definitions is localized internally.

    +
    +

    これらの定義のセパレータのテキストは、内部的に変換されることに注意してください。

    -
    +
    +

    The <options> element defines a single or multiple options within a menu. The text of this simple element specifies document paths that yield page, folder, or link menu options. Multiple option paths can be specified as a comma separated list of paths and/or regular expression patterns. Relative paths are interpreted as relative to the current page. Special patterns, '~' or '@', can be used to reference the current page. This element shares many attributes in common with the menu element:

    +
    +

    +<options> 要素は、メニュー内に単一または複数の選択肢を定義します。この単純な要素は、ページ、もしくはフォルダ、もしくはメニューの選択肢のリンクを作るドキュメントのパスを指定します。複数の選択肢のパスを、パスおよび (もしくは) 正規表現パターンをカンマで区切ったリストとして指定することも可能です。相対パスは、現在のページからの相対パスとして解釈されます。'~' や '@' と言った特別なパターンを、現在のページを参照するために使うことが出来ます。この要素は、メニュー要素とたくさんの属性を共有します。 +

    +
    @@ -244,7 +462,42 @@
    AttributeOptional decorator defined layout hint for the menu options. This hint is not currently used by Jetspeed2 decorators.
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    属性説明
    depth選択肢のフォルダからのドキュメントの深さを指定します (0 以下の深さは無限大を表します)。メニューの選択肢は、可視ページをそれぞれ表示するか、サイトへのリンクを行うように作成されます。フォルダは、この設定によってネストしたメニューに変換されます。
    pathsルートフォルダから指定された選択肢への順序付きのパスの選択肢を含むかどうかを指定する真偽値。この設定は「履歴」もしくは「ブレッドクラム」メニューを生成するのに使います。
    regexp選択肢の値としてワイルドカードや正規表現が使われるかどうかを指定する真偽属性。ファイルシステムのコマンドラインの正規表現をサポートします。
    profile選択肢の値を評価する際に使われるプロファイルロケータの名前を指定します。この属性は、選択肢とネストしたメニューのためのデフォルトのプロファイルの値も設定します。'*' の指定は、全てのプロファイルロケータの名前を受け入れます。これは、親メニューが選択したプロファイル名を上書きするのに使うことが出来ます。
    orderマッチする選択肢の順序を判断するための、カンマで区切られたマッチするパターンの正規表現のリスト、もしくは正規表現のドキュメントパスの値。この属性は、どの選択肢の要素に対してもデフォルトの選択肢の値として適用されます。しかし、複数の選択肢の子供へのマッチを再度順序づけることはありません。もし指定されない場合、複数の選択肢は、含まれるフォルダドキュメントのものとして返される順序に含まれます。この属性にマッチしない選択肢のパスは、順序づけられたものの後に追加されます。
    skinメニューの選択肢のレイアウトのヒントを定義するオプショナルなデコレータ。このヒントは、現時点では Jetspeed 2 のデコレータでは使われていません。
    +

    Example:

    +
    +

    例:

    +
    ... @@ -252,13 +505,25 @@ ... ]]> +
    + + ... + /some-top-page.psml,/custom/some-other-page.psml,/*.link + ... +
    -
    +
    +

    The <separator> element defines a separator to be included in a menu. The separator will be included only if options or nested menus appear below this element within a menu definition. The text of the separator can be specified in the contained text of this element or in the text menu definition element. There is only one attribute accepted by the separator element:

    +
    +

    +<separator> 要素は、メニュー に含めるセパレータを定義します。セパレータは、選択肢 もしくはネストしたメニューが、メニューの定義内のこの要素以下に現れた場合のみ含まれます。セパレータのテキストは、この要素内のテキスト、もしくはテキストメニュー定義の要素内で指定することが可能です。セパレータ要素に記述可能な属性は一つしかありません。 +

    +
    @@ -269,9 +534,26 @@
    AttributeOptional decorator defined layout hint for the menu separator. This hint is not currently used by Jetspeed2 decorators.
    +
    + + + + + + + + + +
    属性説明
    skinメニューセパレータのレイアウトのヒントを定義するオプショナルのデコレータ。このヒントは、現時点では Jetspeed 2 のデコレータでは使われていません。
    +

    The <separator> element contains a number of other menu definition PSML elements:

    +
    +

    +<separator> 要素は、たくさんの他のメニュー定義の PSML 要素を含みます。 +

    +
    @@ -290,7 +572,44 @@
    ElementOptionally specifies additional locale-specific titles and separator text.
    +
    + + + + + + + + + + + + + + + + + +
    要素説明
    title?メニュー用のデフォルトのロケール特有のタイトルを指定する単純な要素。セパレータのタイトルは、その長い記述とみなされます。そして、もしセパレータのテキストが利用可能である場合、デコレータによってはロールオーバー用のテキストとして使う場合があります。
    text?メニュー用のデフォルトのロケール特有のテキストを指定する単純な要素。セパレータのテキストは必須で、この属性によって指定されようと、セパレータ要素内のテキストとして指定されようと、レイアウトデコレータがメニュー内に挿入するためのテキストとなります。
    metadata*オプショナルで指定される、ロケール特有の追加のタイトルとセパレータテキスト。
    +

    Examples:

    +
    +

    例:

    +
    + + ... + ------------- + ... + + -- Top 10 Pages -- + Haut Pages + Top 10 pages as voted by the Jetspeed2 users! + + ... + +]]> +
    ... @@ -306,11 +625,17 @@ ]]>
    -
    +
    +

    The <include> element includes options or nested menus from another menu. The name of the menu to include is specified as the text value of this element. There is only one valid attribute for the include element:

    +
    +

    +<include> 要素は、選択肢 または、他のメニューのネストした メニュー を含みます。含めるメニューの名前は、このエレメントのテキスト値として指定します。この要素に含める事の出来る有効な属性は一つしかありません。 +

    +
    @@ -321,7 +646,30 @@
    AttributeBoolean flag that controls whether the specified menu is to be nested. If this attribute is set to 'true', the included menu will be nested as a submenu; otherewise, all options and nested menus from the specified menu will be inserted inline into this menu.
    +
    + + + + + + + + + +
    属性説明
    nest指定したメニューが、ネストするためのものかどうかを制御する真偽値。もしこの属性に 'true' が指定された場合、含めるメニューはサブメニューとしてネストされます。そうでないのなら、全ての選択肢と指定したメニューのネストしたメニューは、このメニュー内にインラインで挿入されます。
    +

    Examples:

    +
    +

    例:

    +
    + + ... + navigations + ... + +]]> +
    ... @@ -331,11 +679,28 @@ ]]>
    -
    +
    +

    The <exclude> element excludes options or nested menus from another menu. This option is used primarily to remove menu options that already appear on the portal page in another menu from this menu. Matching options or menus will be excluded only if they appear above this element within a menu definition. The name of the menu to include is specified as the text value of this simple element.

    +
    +

    +<exclude> 要素は、選択肢 もしくは、他のメニューのネストした メニュー を除外します。このオプションは主に、このメニューから、ポータルページ内の、他のメニューに既に表示されているメニューの選択肢を消去するために使われます。除外するメニューの名前は、この単純な要素のテキスト値として指定します。 +

    +

    Examples:

    +
    +

    例:

    +
    + + ... + pages + ... + +]]> +
    ... @@ -345,12 +710,18 @@ ]]>
    -
    +
    +

    The page layout decorators request menus from the Portal Site Component when the page is being rendered in the Jetspeed2 pipeline. The decorators expect certain menus to be provided by the PSML declarations. Before custom menus can be displayed in the portal, the decorators need to be modified to render the custom menu. Here is an example taken from a Velocity layout decorator header.vm file:

    +
    +

    +ページレイアウトデコレータは、ページが Jetspeed 2 パイプラインで描画されるとき、ポータルサイトコンポーネントからメニューをリクエストします。デコレータは、メニューが PSML で定義される事を期待します。カスタムメニューがポータルに表示される前に、デコレータは、カスタムメニューの描画を変更する必要があります。以下に、Velocity レイアウトデコレータの header.vm ファイルから抜き出した例を示します。 +

    +
    +
    + +#includeTabsNavigation($pagesStandardMenu $LEFT_TO_RIGHT) + +#end +... +]]> +

    This code block renders the standard pages tabs menu within a portal page. The Portal Site Component is exposed as the $site Velocity context variable. The test for an empty menu definition is designed to ensure that empty menus are not rendered into the page @@ -368,6 +751,11 @@ of nested menus with recursive invocations of the macro. In this case, the decorator is expecting only page options. Here is the macro implementation used to render the pages tabs menu:

    +
    +

    +このコードは、ポータルページ内の標準的なページのタブメニューの描画をブロックします。ポータルサイトコンポーネントは Velocity のコンテキスト変数 $site として表れます。空のメニュー定義のための判断は、空のメニューがページコンテンツ内に描画されない事を保証するために設計されています。最後に、デコレータマクロが、メニューコンテンツを展開するために実行されます。一般に、再帰的なマクロの起動でネストしたメニューを描画する事をサポートするために、このアプローチを取ります。この場合、デコレータはページオプションだけを期待します。以下に、ページのタブメニューを描画するのに使われるマクロ実装を示します。 +

    +
    @@ -394,10 +782,43 @@ #end ]]> +
    + + + #foreach($element in $_menu.elements.iterator()) + #if($element.elementType == "option") + #set($tabTitle = $element.getTitle($preferedLocale)) + #set($tabName = $element.getShortTitle($preferedLocale)) + #if($_orientation == $LEFT_TO_RIGHT) + #if($element.isSelected($site)) +   + ${tabName} +   + #else + #set($tabUrl = $jetspeed.getAbsoluteUrl($element.url)) +   + ${tabName} +   + #end + #end + #end + #end + + +#end +]]> +

    This macro iterates over the computed page menu options supplied by the Portal Site Component, rendering a series of table data HTML elements that make up each displayed tab. The whole menu is rendered as a HTML table with a single row.

    +
    +

    +このマクロは、ポータルサイトコンポーネントによって提供される、ページメニューの選択肢の計算全てに渡って反復されます。これは、表示されるタブそれぞれを作るための HTML 要素のテーブルデータを描画します。全てのメニューは、単一の行の HTML テーブルとして描画されます。 +

    +

    The declarative menu Portal Site Component objects exposed to the layout decorators are documented in the Jetspeed API. Here is a list of the primary interfaces @@ -412,14 +833,32 @@ Please refer to the javadocs for these interfaces and sample Velocity decorators for more information.

    +
    +

    +レイアウトデコーレータによって表示する、宣言型のメニューポータルサイトコンポーネントオブジェクトは、Jetspeed API の文書に記述されます。以下に、このインタフェースを作るためのプライマリのインタフェースのリストを以下に挙げます。 +

    +更に情報が欲しい場合は、これらのインタフェースの javadoc とサンプルの Velocity デコレータを参照してください。 +

    +

    Jetspeed2 provides many sample decorators including those that will render tabs, navigation panes with nested submenus, history breadcrumb links, and even DHTML JSCookMenu nested pulldown menus... all from the declarative menu elements documented here.

    +
    +

    +Jetspeed 2 には、タブやネストしたサブメニューを持つナビゲーションペインや、閲覧履歴のブレッドクラムリンクや、ネストしたプルダウンメニューの DHTML JSCookMenu さえも、ここで述べた宣言型のメニュー要素全ての、たくさんのサンプルのデコレータが含まれています。 +

    -
    +
    +

    The Jetspeed2 Portal Site Component has two closely related responsibilities:

      @@ -429,12 +868,26 @@ At first glance, these functions seem relatively simple: searching within and traversing the PSML site definition. However, once the complexities of the Profiler aggregation and Security Constraints filtering are taken into account, the mapping is no longer trivial.

      +
    +

    +Jetspeed 2 のポータルサイトコンポーネントには、二つの密接に関係した役割があります。 +

      +
    1. ユーザからのポータルのリクエスト URI を、サイト内の PSML ページ もしくは フォルダ 要素にマップします。そして、
    2. +
    3. サイトでユーザが利用可能なものを反映した、サイトのナビゲーションメニューと、メニューの選択肢を構築します。
    4. +
    +一見、これらの機能は、PSML サイト定義 を検索し、走査するだけの、比較的シンプルなものであるように見えます。しかし、一度 プロファイラ の集約とセキュリティ制約 のフィルタリングの複雑さが採り入れられると、マッピングはもはや単純ではなくなります。 +

    +

    It is important to note that menu options are matched against the Portal Site Component mapped view of the PSML site. The document paths specified in the menu elements are not the physical paths used to navigate the PSML folders and pages. Instead, paths that mirror portal requests are used to select PSML elements to include as menu options. In this manner, profiling and security are automatically factored into the menu option population... rather as if running the request url mapping in reverse.

    +
    +

    +メニューの選択肢は、PSML サイトのポータルサイトコンポーネントがマッチさせるビューと一致していることに注意することが重要です。メニュー要素の指定するドキュメントのバスは、PSML フォルダやページを指し示すために使われる物理パスではありません。代わりに、ポータルリクエストをミラーするパスは、メニューの選択肢として含める PSML 要素を選択するのに使われます。このように、プロファイリングとセキュリティは、あたかも実行中のリクエスト URI を逆にマップするかのように、メニューの選択肢の集団に自動的に含まれます。 +

    From shinsuke @ users.sourceforge.jp Wed Mar 22 22:23:05 2006 From: shinsuke @ users.sourceforge.jp (shinsuke @ users.sourceforge.jp) Date: Wed, 22 Mar 2006 22:23:05 +0900 Subject: [Jetspeed-japan-trans] CVS-Update: jetspeed-2-trans/xdocs committed by shinsuke Message-ID: <20060322132305.46A542AC08D@users.sourceforge.jp> Update of /cvsroot/jetspeed-japan/jetspeed-2-trans/xdocs In directory sf-cvs:/tmp/cvs-serv17478/xdocs Modified Files: assignment.xml Log Message: submitted by KATOH Yasufumi jetspeed-2-trans/xdocs/assignment.xml 1.19 -> 1.20 (modified) http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/jetspeed-japan/jetspeed-2-trans/xdocs/assignment.xml.diff?r1=1.19&r2=1.20 =================================================================== RCS file: jetspeed-2-trans/xdocs/assignment.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- assignment.xml 2006/03/10 18:53:07 1.19 +++ assignment.xml 2006/03/22 13:23:05 1.20 @@ -244,8 +244,8 @@ guides/guide-simple-portlet.xml ??? $BLuJ8(B - - - $BJg=8Cf(B + $B2CF#BYJ8(B + $BK]LuCf(B guides/guide-site.xml From shinsuke @ yahoo.co.jp Wed Mar 22 22:34:10 2006 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Wed, 22 Mar 2006 22:34:10 +0900 Subject: [Jetspeed-japan-trans] Re: guides/guide-simple-portlet.xml In-Reply-To: <874q1qoni6.wl%karma@jazz.email.ne.jp> References: <874q1qoni6.wl%karma@jazz.email.ne.jp> Message-ID: <44215252.5090102@yahoo.co.jp> こんにちは、菅谷です。 ありがとうございます。 guide-menus-declarative-psml.xml と共にコミットしました。 shinsuke KATOH Yasufumi wrote: > 加藤泰文です. > > guides/guide-simple-portlet.xml をやります.重いのが続いたので,ちょっ > とだけ息抜き代りに.^^; > -------------------------------------- Celebrate Yahoo! JAPAN 10th Anniversary http://pr.mail.yahoo.co.jp/10thann/ From karma @ jazz.email.ne.jp Mon Mar 27 15:41:09 2006 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Mon, 27 Mar 2006 15:41:09 +0900 Subject: [Jetspeed-japan-trans] =?iso-2022-jp?b?GyRCS11MdTRYTyIbKEI=?= Message-ID: <8764m0z8xm.wl%karma@jazz.email.ne.jp> 加藤泰文です. 翻訳関連のネタを見付けたので,送っておきます. OSS における翻訳,というタイトルの kazama 氏のブログ http://d.hatena.ne.jp/kazama/20060318/p1 からたどっていくと (上記もなかなか興味深い), OSC2006 の「翻訳BOF」の発表資料 (私はまだ未読) http://mail.ring.gr.jp/doc-ja/200603/msg00005.html 「Doc-ja プロジェクト」 http://openlab.ring.gr.jp/doc-ja/cgi-bin/fswiki/wiki.cgi 「Sun の翻訳支援ツール」 http://jp.sun.com/communities/users/0601/feature03.html なんてのに引きあたりますね.Sun の Glossary Tool のサイトは,訳語の検 索なんて出来て,結構翻訳の際には便利かも知れません. # そういえば,以前紹介した翻訳メモリは使ってないなあ... (^_^;) -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://park2.wakwak.com/%7Ekarma/ ============================================== From karma @ jazz.email.ne.jp Mon Mar 27 18:37:21 2006 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Mon, 27 Mar 2006 18:37:21 +0900 Subject: [Jetspeed-japan-trans] Re: guides/guide-simple-portlet.xml In-Reply-To: <44215252.5090102@yahoo.co.jp> References: <874q1qoni6.wl%karma@jazz.email.ne.jp> <44215252.5090102@yahoo.co.jp> Message-ID: <874q1kz0ry.wl%karma@jazz.email.ne.jp> 加藤泰文です. # すぐ終わったので,あまり息抜きにならなかった... ^^; guide-simple-portlet.xml が終わりました.CRLF, UTF-8 です. -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://park2.wakwak.com/%7Ekarma/ ============================================== -------------- next part -------------- テキスト形式以外の添付ファイルを保管しました... ファイル名: guide-simple-portlet.xml 型: application/octet-stream サイズ: 9275 バイト 説明: 無し URL: http://lists.sourceforge.jp/mailman/archives/jetspeed-japan-trans/attachments/20060327/99473f13/attachment.obj From karma @ jazz.email.ne.jp Mon Mar 27 18:39:18 2006 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Mon, 27 Mar 2006 18:39:18 +0900 Subject: [Jetspeed-japan-trans] guides/guide-ajax-api.xml Message-ID: <873bh4z0op.wl%karma@jazz.email.ne.jp> 加藤泰文です. # とりあえずは残り少なくなってきましたね. guides/guide-ajax-api.xml をやります. -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://park2.wakwak.com/%7Ekarma/ ============================================== From shinsuke @ yahoo.co.jp Mon Mar 27 20:39:27 2006 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Mon, 27 Mar 2006 20:39:27 +0900 Subject: [Jetspeed-japan-trans] =?iso-2022-jp?b?UmU6IBskQktdTHU0WE8iGyhC?= In-Reply-To: <8764m0z8xm.wl%karma@jazz.email.ne.jp> References: <8764m0z8xm.wl%karma@jazz.email.ne.jp> Message-ID: <4427CEEF.3020101@yahoo.co.jp> こんにちは、菅谷です。 情報をありがとうございます。 KATOH Yasufumi wrote: > 加藤泰文です. > > 翻訳関連のネタを見付けたので,送っておきます. > > OSS における翻訳,というタイトルの kazama 氏のブログ > http://d.hatena.ne.jp/kazama/20060318/p1 > からたどっていくと (上記もなかなか興味深い), > > OSC2006 の「翻訳BOF」の発表資料 (私はまだ未読) > http://mail.ring.gr.jp/doc-ja/200603/msg00005.html > > 「Doc-ja プロジェクト」 > http://openlab.ring.gr.jp/doc-ja/cgi-bin/fswiki/wiki.cgi > > 「Sun の翻訳支援ツール」 > http://jp.sun.com/communities/users/0601/feature03.html > > なんてのに引きあたりますね.Sun の Glossary Tool のサイトは,訳語の検 > 索なんて出来て,結構翻訳の際には便利かも知れません. Glossary Tool は参考程度に使えるかもしれませんね。 でも、以前に J2 の訳語を調べたときには、なしと言われましたが・・・。 > # そういえば,以前紹介した翻訳メモリは使ってないなあ... (^_^;) オープンソースでスタンダードな翻訳メモリがあるといいんですがね・・・。 商用だと、Trados とか聞きますが。M$ も使っているような噂を聞いた気も しますし。オープンソースでもこれを使えるというレベルのものが あると、良いですね。 shinsuke -------------------------------------- Celebrate Yahoo! JAPAN 10th Anniversary http://pr.mail.yahoo.co.jp/10thann/ From shinsuke @ users.sourceforge.jp Mon Mar 27 20:33:47 2006 From: shinsuke @ users.sourceforge.jp (shinsuke @ users.sourceforge.jp) Date: Mon, 27 Mar 2006 20:33:47 +0900 Subject: [Jetspeed-japan-trans] CVS-Update: jetspeed-2-trans/ja/xdocs/guides committed by shinsuke Message-ID: <20060327113347.E774B2AC01A@users.sourceforge.jp> Update of /cvsroot/jetspeed-japan/jetspeed-2-trans/ja/xdocs/guides In directory sf-cvs:/tmp/cvs-serv17890/ja/xdocs/guides Modified Files: guide-simple-portlet.xml Log Message: submitted by KATOH Yasufumi jetspeed-2-trans/ja/xdocs/guides/guide-simple-portlet.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-simple-portlet.xml.diff?r1=1.1.1.1&r2=1.2 =================================================================== RCS file: jetspeed-2-trans/ja/xdocs/guides/guide-simple-portlet.xml,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- guide-simple-portlet.xml 2005/12/16 03:43:36 1.1.1.1 +++ guide-simple-portlet.xml 2006/03/27 11:33:47 1.2 @@ -1,138 +1,249 @@ - - - - - Jetspeed Simple Portlet Guide - Documentation for Creating a Simple Portlet - - - - - -
    -

    - This guide provides a tutorial for creating a very - simple portlet. Portlets developers should follow the - steps below. -

    - -

    - Create the file Simplest.java in a directory called - simplest/WEB-INF/classes: - -public class Simplest extends javax.portlet.GenericPortlet -{ - public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) - throws javax.portlet.PortletException, java.io.IOException - { - response.setContentType("text/html"); - response.getWriter().println("A very simple portlet."); - } -} - -

    -

    - Compile the class using the command, - -javac -cp ~/.maven/repository/org.apache.portals.jetspeed-2/jars/portlet-api-1.0.jar Simplest.java - -

    -
    - -

    - Create the file portlet.xml in the simplest/WEB-INF directory. - - - - Simplest - Simple Display Name - Simplest - - text/html - VIEW - - en - - Simple Title - The world's simplest portlet - - -]]> - -

    -
    - -

    - Create the file web.xml in the simplest WEB-INF directory. - - - - Simplest - The world's simplest portlet -]]> - -

    -
    - -

    - Create the file simplest.psml in the src/webapp/WEB-INF/pages directory of your Jetspeed Portal. - The portlet-app id and the portlet-name are combined to identify the portlet fragment. Rebuild your portal. - - - The simplest portlet in the world - La plus simple portlet du monde - - - - - - - - - - public-view - -]]> - -

    -
    - -

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

    -
    - -

    - Copy the war file to $CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy. Jetspeed-2 - will deploy the webapp. Access the page in your navigator - http://localhost:8080/jetspeed/portal/simplest.psml. -

    -
    -
    - -
    \ No newline at end of file + + + + + [Jetspeed Simple Portlet Guide] Jetspeed で動かす簡単なポートレットのガイド + [Documentation for Creating a Simple Portlet] 簡単なポートレットを作るための文書 + + + + + + + + +
    +
    +

    + This guide provides a tutorial for creating a very + simple portlet. Portlets developers should follow the + steps below. +

    +
    +

    + このガイドは、とても簡単なポートレットを作成するためのチュートリアルです。ポートレットの開発者は以下のような順序で開発を行います。 +

    + +
    +

    + Create the file Simplest.java in a directory called + simplest/WEB-INF/classes: + +public class Simplest extends javax.portlet.GenericPortlet +{ + public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) + throws javax.portlet.PortletException, java.io.IOException + { + response.setContentType("text/html"); + response.getWriter().println("A very simple portlet."); + } +} + +

    +
    +

    + simplest/WEB-INF/classes ディレクトリに Simplest.java というファイルを以下のように作成してください。 + +public class Simplest extends javax.portlet.GenericPortlet +{ + public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) + throws javax.portlet.PortletException, java.io.IOException + { + response.setContentType("text/html"); + response.getWriter().println("A very simple portlet."); + } +} + +

    +
    +

    + Compile the class using the command, + +javac -cp ~/.maven/repository/org.apache.portals.jetspeed-2/jars/portlet-api-1.0.jar Simplest.java + +

    +
    +

    + 以下のようにコマンドを入力してクラスをコンパイルしてください。 + +javac -cp ~/.maven/repository/org.apache.portals.jetspeed-2/jars/portlet-api-1.0.jar Simplest.java + +

    +
    + +
    +

    + Create the file portlet.xml in the simplest/WEB-INF directory. + + + + Simplest + Simple Display Name + Simplest + + text/html + VIEW + + en + + Simple Title + The world's simplest portlet + + +]]> + +

    +
    +

    + simplest/WEB-INF ディレクトリに portlet.xml ファイルを作成してください。 + + + + Simplest + Simple Display Name + Simplest + + text/html + VIEW + + en + + Simple Title + The world's simplest portlet + + +]]> + +

    +
    + +
    +

    + Create the file web.xml in the simplest WEB-INF directory. + + + + Simplest + The world's simplest portlet +]]> + +

    +
    +

    + simplest/WEB-INF ディレクトリに web.xml ファイルを作成してください。 + + + + Simplest + The world's simplest portlet +]]> + +

    +
    + +
    +

    + Create the file simplest.psml in the src/webapp/WEB-INF/pages directory of your Jetspeed Portal. + The portlet-app id and the portlet-name are combined to identify the portlet fragment. Rebuild your portal. + + + The simplest portlet in the world + La plus simple portlet du monde + + + + + + + + + + public-view + +]]> + +

    +
    +

    + あなたの Jetspeed ポータルディレクトリ以下の src/webapp/WEB-INF/pages ディレクトリに simplest.psml ファイルを作成してください。portlet-app id と portlet-name はポートレットフラグメントを特定するために結合されます。あなたのポータルをリビルドしてください。 + + + The simplest portlet in the world + La plus simple portlet du monde + + + + + + + + + + public-view + +]]> + +

    +
    + +
    +

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

    +
    +

    + simplest ディレクトリで、以下のようなコマンドを実行して、以上のファイルを war ファイルにまとめてください。 + +jar cvf ../simplest.war . + +

    +
    + +
    +

    + Copy the war file to $CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy. Jetspeed-2 + will deploy the webapp. Access the page in your navigator + http://localhost:8080/jetspeed/portal/simplest.psml. +

    +
    +

    + war ファイルを $CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy にコピーしてください。Jetspeed 2 は webapp を配備します。ブラウザで + http://localhost:8080/jetspeed/portal/simplest.psml にアクセスしてください。 +

    +
    +
    + +
    From shinsuke @ users.sourceforge.jp Mon Mar 27 20:33:48 2006 From: shinsuke @ users.sourceforge.jp (shinsuke @ users.sourceforge.jp) Date: Mon, 27 Mar 2006 20:33:48 +0900 Subject: [Jetspeed-japan-trans] CVS-Update: jetspeed-2-trans/xdocs committed by shinsuke Message-ID: <20060327113348.176F92AC034@users.sourceforge.jp> Update of /cvsroot/jetspeed-japan/jetspeed-2-trans/xdocs In directory sf-cvs:/tmp/cvs-serv17890/xdocs Modified Files: assignment.xml Log Message: submitted by KATOH Yasufumi jetspeed-2-trans/xdocs/assignment.xml 1.20 -> 1.21 (modified) http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/jetspeed-japan/jetspeed-2-trans/xdocs/assignment.xml.diff?r1=1.20&r2=1.21 =================================================================== RCS file: jetspeed-2-trans/xdocs/assignment.xml,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- assignment.xml 2006/03/22 13:23:05 1.20 +++ assignment.xml 2006/03/27 11:33:47 1.21 @@ -104,8 +104,8 @@ guides/guide-ajax-api.xml ??? $BLuJ8(B - - - $BJg=8Cf(B + $B2CF#BYJ8(B + $BK]LuCf(B guides/guide-app-servers.xml From shinsuke @ yahoo.co.jp Mon Mar 27 20:40:36 2006 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Mon, 27 Mar 2006 20:40:36 +0900 Subject: [Jetspeed-japan-trans] Re: guides/guide-simple-portlet.xml In-Reply-To: <874q1kz0ry.wl%karma@jazz.email.ne.jp> References: <874q1qoni6.wl%karma@jazz.email.ne.jp> <44215252.5090102@yahoo.co.jp> <874q1kz0ry.wl%karma@jazz.email.ne.jp> Message-ID: <4427CF34.8060908@yahoo.co.jp> こんにちは、菅谷です。 ありがとうございました。 分担表と共にコミットしておきました。 shinsuke KATOH Yasufumi wrote: > 加藤泰文です. > > # すぐ終わったので,あまり息抜きにならなかった... ^^; > > guide-simple-portlet.xml が終わりました.CRLF, UTF-8 です. > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Jetspeed-japan-trans mailing list > Jetspeed-japan-trans @ lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/jetspeed-japan-trans -------------------------------------- Celebrate Yahoo! JAPAN 10th Anniversary http://pr.mail.yahoo.co.jp/10thann/ From karma @ jazz.email.ne.jp Tue Mar 28 12:39:00 2006 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Tue, 28 Mar 2006 12:39:00 +0900 Subject: [Jetspeed-japan-trans] =?iso-2022-jp?b?UmU6IBskQktdTHU0WE8iGyhC?= In-Reply-To: <4427CEEF.3020101@yahoo.co.jp> References: <8764m0z8xm.wl%karma@jazz.email.ne.jp> <4427CEEF.3020101@yahoo.co.jp> Message-ID: <87psk7qluz.wl%karma@jazz.email.ne.jp> 加藤泰文です. >>> On Mon, 27 Mar 2006 20:39:27 +0900 in message "[Jetspeed-japan-trans] Re: 翻訳関連" Shinsuke SUGAYA-san wrote: > Glossary Tool は参考程度に使えるかもしれませんね。 > でも、以前に J2 の訳語を調べたときには、なしと言われましたが・・・。 Jetspeed でも,ある程度 Java のプロダクトで共通して使うような言葉が出 てきますから,そういうときに役立つかなあと. > オープンソースでスタンダードな翻訳メモリがあるといいんですがね・・・。 > 商用だと、Trados とか聞きますが。M$ も使っているような噂を聞いた気も > しますし。オープンソースでもこれを使えるというレベルのものが > あると、良いですね。 以前ちょっと使ってみて思ったのですが,ある程度先人の知恵が使いはじめた 時点で既に使えると良いと思うんですよね.プロの翻訳者であれば,あっとい うまに過去の資産が溜って,翻訳に役立つようになると思うんですが,オープ ンソースのドキュメントをボランティアで訳してます,という人のほとんどは, 十分使えるレベルのデータベースができあがる前に翻訳が終わるか,「燃えつ き」てしまうような気がしますね.^^; -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://park2.wakwak.com/%7Ekarma/ ============================================== From karma @ jazz.email.ne.jp Fri Mar 31 19:16:18 2006 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Fri, 31 Mar 2006 19:16:18 +0900 Subject: [Jetspeed-japan-trans] Re: guides/guide-ajax-api.xml In-Reply-To: <873bh4z0op.wl%karma@jazz.email.ne.jp> References: <873bh4z0op.wl%karma@jazz.email.ne.jp> Message-ID: <87wteadiml.wl%karma@jazz.email.ne.jp> 加藤泰文です. 終わりました.CRLF, UTF-8 です. -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://park2.wakwak.com/%7Ekarma/ ============================================== -------------- next part -------------- テキスト形式以外の添付ファイルを保管しました... ファイル名: guide-ajax-api.xml 型: application/octet-stream サイズ: 31786 バイト 説明: 無し URL: http://lists.sourceforge.jp/mailman/archives/jetspeed-japan-trans/attachments/20060331/316ef68a/attachment.obj From karma @ jazz.email.ne.jp Fri Mar 31 19:17:13 2006 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Fri, 31 Mar 2006 19:17:13 +0900 Subject: [Jetspeed-japan-trans] guides/guide-portlet-bridges.xml Message-ID: <87vetudil2.wl%karma@jazz.email.ne.jp> 加藤泰文です. guides/guide-portlet-bridges.xml をやります. -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://park2.wakwak.com/%7Ekarma/ ============================================== From shinsuke @ users.sourceforge.jp Fri Mar 31 22:38:10 2006 From: shinsuke @ users.sourceforge.jp (shinsuke @ users.sourceforge.jp) Date: Fri, 31 Mar 2006 22:38:10 +0900 Subject: [Jetspeed-japan-trans] CVS-Update: jetspeed-2-trans/ja/xdocs/guides committed by shinsuke Message-ID: <20060331133810.78E842AC094@users.sourceforge.jp> Update of /cvsroot/jetspeed-japan/jetspeed-2-trans/ja/xdocs/guides In directory sf-cvs:/tmp/cvs-serv23284/ja/xdocs/guides Modified Files: guide-ajax-api.xml Log Message: submitted by KATOH Yasufumi jetspeed-2-trans/ja/xdocs/guides/guide-ajax-api.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-ajax-api.xml.diff?r1=1.1.1.1&r2=1.2 =================================================================== RCS file: jetspeed-2-trans/ja/xdocs/guides/guide-ajax-api.xml,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- guide-ajax-api.xml 2005/12/16 03:43:36 1.1.1.1 +++ guide-ajax-api.xml 2006/03/31 13:38:10 1.2 @@ -1,543 +1,989 @@ - - - - - AJAX XML API - Documentation for Jetspeed-2 AJAX XML API - - - - - -
    -

    -The Jetspeed XML AJAX API is an XML-based API provided to AJAX clients for making -asynchronous requests to Jetspeed-2 services.

    -

    -Typical use cases: -

    -
      -
    • Page Customization and Portlet Placement - To move, copy, add, or remove portlets on a page
    • -
    • Layout Selection - change the layout (number of rows and columns, size of columns) on a page
    • -
    • Theme and Decorator Selection - change the page theme and portlet decorators on a page.
    • -
    • Portlet Selectors - provide a select-list of portlets to the end user
    • -
    • Security Configuration - configure the security constraints or policy on a resource (page, portlet, folder, link, fragment), or portal wide
    • -
    • Menu Configuration - create and edit menus for the Jetspeed Site
    • -
    • General Administration - all use cases for general administration have not yet been explored.
    • -
    - -

    -All AJAX XML API requests run through -a standard Jetspeed Pipeline request. This means that you can configure your AJAX -request with the usual array of Jetspeed components. The default AJAX pipeline secures -access to all requests. Each AJAX action may have its own security constraints. All -requests made to a page will use the declarative security constraints configured for that page. -AJAX request actions are enforced under edit or view mode, depending on the nature of the action. -

    -
    -
    -
    -

    -The AJAX XML API is simply a HTTP request-based API, communicating over a simple REST (Representational State Transfer) protocol. -The API is accessed over HTTP via the "ajaxapi" servlet path on the portal URL: - -

    - -

    Request Parameters specify the requested API action, and additional API parameters. -The page that a request is referencing is implied in the HTTP URL. -Thus if we are making a request to modify a page, the page is specified in the HTTP URL: - -The page location algorithm using standard Jetspeed Profiling rules to locate the page. -A page is actually not required in the URL, since the Jetspeed Profiler will locate the page -for you. Example: - -goes to the default page for the current user. -

    -

    Request Parameters are specific to each API. One request parameter, the "action" parameter, - is almost always required, (except in the default case). The default action is "action=getpage" -which returns an XML representation of the profile-located page in PSML. (PSML is an XML format). -See the table below for specific examples of request parameters. -

    -

    Here are the APIs currently available: -

    -
    - - - - - - - - - - - - - - - - -
    API:getpage
    Component:AjaxGetPage
    Description:Get Page retrieves a page from the Page Manager store in PSML format. -
    Parameters:
    - - - - - - - - -
    pageimplied in the URL
    actiongetportlets (optional, this is the default action)
    - - - API example: - - - - - - XML Response: - - -success -getpage - - -]]> - - - - -
    - - - - - - - - - - - - - - - - -
    API:moveabs
    Component:AjaxMovePortletAbsolute
    Description:Move a portlet on a page to an absolute position specified in the row and col request parameters.
    Parameters:
    - - - - - - - - - - - - - - - - - - - - -
    pageimplied in the URL
    actionmoveabs
    idthe portlet PSML fragment id of the portlet to be moved
    rowthe absolute new row location to place the portlet fragment (zero based)
    colthe absolute new column location to place the portlet fragment (zero based)
    - - - API example: - - - - - - XML Response: - - - success - moveabs - ps-1003 - - 1 - 1 - - - 1 - 0 - - -]]> - - - - -
    - - - - - - - - - - - - - - - - -
    APIs:moveleft, moveright, moveup, movedown
    Components:AjaxMovePortletLeft, AjaxMovePortletRight, AjaxMovePortletUp, AjaxMoveDown
    Description:Move a portlet on a page relatively one position, based on the action.
    Parameters:
    - - - - - - - - - - - - -
    pageimplied in the URL
    actionmoveleft, moveright, moveup, movedown
    idthe portlet PSML fragment id of the portlet to be moved
    - - - API example: - - - - - - XML Response: - - - success - movedown - ps-1003 - - 1 - 0 - - - 1 - 1 - - -]]> - - - - - -
    - - - - - - - - - - - - - - - - -
    API:add
    Component:AjaxAddPortlet
    Description:Adds a new portlet to the current page. The portlet can be added at a specified row and column. - If either the row or column or not specified, defaults to zero respectively.
    Parameters:
    - - - - - - - - - - - - - - - - - - - - -
    pageimplied in the URL
    actionadd
    idThe portlet full name to be placed on the page, using Jetspeed Portlet Naming (PortletApplicationName::PortletName)
    rowoptional: the absolute new row location to place the new portlet fragment (zero based)
    coloptional: the absolute new column location to place the new portlet fragment (zero based)
    - - - API example: - - - - - - XML Response: - - - success - add - jsf-demo::CalendarPortlet - - 0 - 0 - - -]]> - - - - -
    - - - - - - - - - - - - - - - - - -
    API:remove
    Component:AjaxRemovePortlet
    Description:Removes a new portlet from the current page.
    Parameters:
    - - - - - - - - - - - - -
    pageimplied in the URL
    actionremove
    idthe portlet PSML fragment id of the portlet to be removed
    - - - API example: - - - - - - XML Response: - - - success - remove - jsf-demo::CalendarPortlet - - 0 - 0 - - -]]> - - - - -
    - - - - - - - - - - - - - - - - - -
    API:getportlets
    Component:AjaxGetPortlets
    Description:Get Portlets retrieves the (sorted) portlet list available to the current subject, filtered - the portlet list, and returning portlets which the current subject may view. - The Jetspeed (JAAS) security policy enforces this filtering. Portlets are returned - in XML format, with name, displayName, and description for each portlet.
    Parameters:
    - - - - - - - - - - - - - -
    pageimplied in the URL
    actiongetportlets
    filternot yet implemented. A query filter to be defined.
    - - - API example: - - - - - - XML Response: - - -success -getportlets -- - - - - - - - - - -.... - - - - - - -]]> - - - - -
    -
    - -
    -

    -The AjaxRequestService is a Spring component that handles AJAX requests. -It is hooked into the AJAX Pipeline for special processing -of AJAX request. Here is the Spring Assembly. Each API is configured in the Ajax Service. -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]> - -
    - -
    - + + + + + [AJAX XML API] AJAX XML API + [Documentation for Jetspeed-2 AJAX XML API] Jetspeed-2 の AJAX XML API についての文書 + + + + + + + + +
    +
    +

    +The Jetspeed XML AJAX API is an XML-based API provided to AJAX clients for making +asynchronous requests to Jetspeed-2 services.

    +
    +

    +Jetspeed の XML AJAX API は、AJAX クライアントが、非同期のリクエストを Jetspeed 2 サービスに送る事ができるようにするための XML ベースの API です。 +

    +
    +

    +Typical use cases: +

    +
    +

    +典型的な使用例としては、 +

    +
    +
      +
    • Page Customization and Portlet Placement - To move, copy, add, or remove portlets on a page
    • +
    • Layout Selection - change the layout (number of rows and columns, size of columns) on a page
    • +
    • Theme and Decorator Selection - change the page theme and portlet decorators on a page.
    • +
    • Portlet Selectors - provide a select-list of portlets to the end user
    • +
    • Security Configuration - configure the security constraints or policy on a resource (page, portlet, folder, link, fragment), or portal wide
    • +
    • Menu Configuration - create and edit menus for the Jetspeed Site
    • +
    • General Administration - all use cases for general administration have not yet been explored.
    • +
    +
    +
      +
    • ページのカスタマイズとポートレットの配置 - ページ上でのポートレットの移動、コピー、追加、削除。
    • +
    • レイアウトの選択 - ページのレイアウトの変更 (行や列の数の変更、列のサイズの変更)。
    • +
    • テーマとデコレータの選択 - ページのテーマやページ上のポートレットのデコレータの変更。
    • +
    • ポートレットのセレクタ - エンドユーザへのポートレットの選択リストを提供。
    • +
    • セキュリティの設定 - リソース (ページ、ポートレット、フォルダ、リンク、フラグメント) もしくはポータル全体でのセキュリティ制約、またはポリシーの設定。
    • +
    • メニューの設定 - Jetspeed サイトのメニューの生成や編集。
    • +
    • 全体的な管理 - 全体的な管理を行う全てはまだ提供されていません。
    • +
    + +
    +

    +All AJAX XML API requests run through +a standard Jetspeed Pipeline request. This means that you can configure your AJAX +request with the usual array of Jetspeed components. The default AJAX pipeline secures +access to all requests. Each AJAX action may have its own security constraints. All +requests made to a page will use the declarative security constraints configured for that page. +AJAX request actions are enforced under edit or view mode, depending on the nature of the action. +

    +
    +

    +AJAX XML API リクエストの全ては、標準の Jetspeed パイプラインリクエストを通して実行されます。これは、通常の Jetspeed コンポーネントの配列を持った AJAX リクエストを構成可能である事を意味します。デフォルトの AJAX パイプラインは、全てのリクエストへのアクセスを保証します。AJAX アクションのそれぞれは、自身のセキュリティ制約を持ちます。ページを生成する全てのリクエストは、本来のアクションに依存する、編集もしくは閲覧モードの元で実行されます。 +

    +
    +
    +
    +
    +

    +The AJAX XML API is simply a HTTP request-based API, communicating over a simple REST (Representational State Transfer) protocol. +The API is accessed over HTTP via the "ajaxapi" servlet path on the portal URL: + +

    +
    +

    +AJAX XML API は、単純な HTTP リクエストベースの API で、単純な REST (Representational State Transfer) プロトコル上での通信を行います。API へは、以下のようなポータル URL パスの "ajaxapi" サーブレット経由で HTTP を使ってアクセスします。 + +

    + +
    +

    Request Parameters specify the requested API action, and additional API parameters. +The page that a request is referencing is implied in the HTTP URL. +Thus if we are making a request to modify a page, the page is specified in the HTTP URL: + +The page location algorithm using standard Jetspeed Profiling rules to locate the page. +A page is actually not required in the URL, since the Jetspeed Profiler will locate the page +for you. Example: + +goes to the default page for the current user. +

    +
    +

    リクエストパラメータは、リクエストした API の動作と、追加の API パラメータを指定します。リクエストが参照しているページは、HTTP URL 内に含まれます。なので、もしページを変更するリクエストを作成したい場合、ページは以下のような HTTP URL 内で指定します。 + +標準の Jetspeed プロファイリングを使ったページの配置アルゴリズムが、ページを配置します。ページは、実際は URL 中には不要です。Jetspeed プロファイラ が、ユーザのためのページを配置するからです。例えば、 + +という URL は、現在のユーザのデフォルトページを表示します。 +

    +
    +

    Request Parameters are specific to each API. One request parameter, the "action" parameter, + is almost always required, (except in the default case). The default action is "action=getpage" +which returns an XML representation of the profile-located page in PSML. (PSML is an XML format). +See the table below for specific examples of request parameters. +

    +
    +

    リクエストパラメータは、API それぞれで固有です。大体の場合、"action" パラメータというリクエストパラメータだけは、必要になります (デフォルトの場合を除く)。デフォルトのアクションは "action=getpage" です。これは、PSML 内のプロファイルが示すページの XML 表現を返します (PSML は XML フォーマットです)。リクエストパラメータのそれぞれの例は以下の表を参照してください。 +

    +
    +

    Here are the APIs currently available: +

    +
    +

    現時点で利用可能な API を示します。

    +
    + +
    + + + + + + + + + + + + + + + +
    API:getpage
    Component:AjaxGetPage
    Description:Get Page retrieves a page from the Page Manager store in PSML format. +
    Parameters:
    + + + + + + + + +
    pageimplied in the URL
    actiongetportlets (optional, this is the default action)
    + + + API example: + + + + + + XML Response: + + +success +getpage + + +]]> + + + + +
    + + + + + + + + + + + + + + + +
    API:getpage
    コンポーネント:AjaxGetPage
    説明:getpage は、ページマネージャから、PSML に保存されたページを取得します。 +
    パラメータ:
    + + + + + + + + +
    pageURL に含まれます
    actiongetportlets (オプショナル、これがデフォルトのアクションです)
    + + + API の例: + + + + + + XML レスポンス: + + +success +getpage + + +]]> + + + + +
    + +
    + + + + + + + + + + + + + + + +
    API:moveabs
    Component:AjaxMovePortletAbsolute
    Description:Move a portlet on a page to an absolute position specified in the row and col request parameters.
    Parameters:
    + + + + + + + + + + + + + + + + + + + + +
    pageimplied in the URL
    actionmoveabs
    idthe portlet PSML fragment id of the portlet to be moved
    rowthe absolute new row location to place the portlet fragment (zero based)
    colthe absolute new column location to place the portlet fragment (zero based)
    + + + API example: + + + + + + XML Response: + + + success + moveabs + ps-1003 + + 1 + 1 + + + 1 + 0 + + +]]> + + + + +
    + + + + + + + + + + + + + + + +
    API:moveabs
    コンポーネント:AjaxMovePortletAbsolute
    説明:ページ上のポートレットの絶対位置をリクエストパラメータで指定した row と col に従って移動する。
    パラメータ:
    + + + + + + + + + + + + + + + + + + + + +
    pageURL に含まれます
    actionmoveabs
    id移動させたいポートレットのポートレット PSML フラグメント ID
    rowポートレットフラグメントを置きたい位置の絶対的な行位置 (ゼロベース)
    colポートレットフラグメントを置きたい位置の絶対的な列位置 (ゼロベース)
    + + + API の例: + + + + + + XML レスポンス: + + + success + moveabs + ps-1003 + + 1 + 1 + + + 1 + 0 + + +]]> + + + + +
    + +
    + + + + + + + + + + + + + + + +
    APIs:moveleft, moveright, moveup, movedown
    Components:AjaxMovePortletLeft, AjaxMovePortletRight, AjaxMovePortletUp, AjaxMoveDown
    Description:Move a portlet on a page relatively one position, based on the action.
    Parameters:
    + + + + + + + + + + + + +
    pageimplied in the URL
    actionmoveleft, moveright, moveup, movedown
    idthe portlet PSML fragment id of the portlet to be moved
    + + + API example: + + + + + + XML Response: + + + success + movedown + ps-1003 + + 1 + 0 + + + 1 + 1 + + +]]> + + + + + +
    + + + + + + + + + + + + + + + +
    APIs:moveleft, moveright, moveup, movedown
    コンポーネント:AjaxMovePortletLeft, AjaxMovePortletRight, AjaxMovePortletUp, AjaxMoveDown
    説明:ページのポートレットを、ある位置からの相対的なアクションを指定して移動する。
    パラメータ:
    + + + + + + + + + + + + +
    pageURL に含まれます
    actionmoveleft, moveright, moveup, movedown
    id移動させたいポートレットのポートレット PSML フラグメント ID
    + + + API の例: + + + + + + XML Response: + + + success + movedown + ps-1003 + + 1 + 0 + + + 1 + 1 + + +]]> + + + + + +
    + +
    + + + + + + + + + + + + + + + +
    API:add
    Component:AjaxAddPortlet
    Description:Adds a new portlet to the current page. The portlet can be added at a specified row and column. + If either the row or column or not specified, defaults to zero respectively.
    Parameters:
    + + + + + + + + + + + + + + + + + + + + +
    pageimplied in the URL
    actionadd
    idThe portlet full name to be placed on the page, using Jetspeed Portlet Naming (PortletApplicationName::PortletName)
    rowoptional: the absolute new row location to place the new portlet fragment (zero based)
    coloptional: the absolute new column location to place the new portlet fragment (zero based)
    + + + API example: + + + + + + XML Response: + + + success + add + jsf-demo::CalendarPortlet + + 0 + 0 + + +]]> + + + + +
    + + + + + + + + + + + + + + + +
    API:add
    コンポーネント:AjaxAddPortlet
    説明:現在のページに新しいポートレットを追加します。ポートレットは指定する行と列の場所に追加することが可能です。もし、行も列も指定されない場合は、デフォルトでそれぞれ 0 に設定されます。
    パラメータ:
    + + + + + + + + + + + + + + + + + + + + +
    pageURL に含まれます
    actionadd
    idページに配置したいポートレットのフルネーム。Jetspeed のポートレットの命名規則を使って指定します (ポートレットアプリケーション名::ポートレット名)
    rowオプショナル: 新しいポートレットフラグメントを置きたい場所の行位置の絶対指定 (ゼロベース)
    colオプショナル: 新しいポートレットフラグメントを置きたい場所の列位置の絶対指定 (ゼロベース)
    + + + API の例: + + + + + + XML レスポンス: + + + success + add + jsf-demo::CalendarPortlet + + 0 + 0 + + +]]> + + + + +
    + + + + + + + + + + + + + + + + + +
    API:remove
    コンポーネント:AjaxRemovePortlet
    説明:現在のページから新たにポートレットを削除する。
    パラメータ:
    + + + + + + + + + + + + +
    pageURL に含まれる
    actionremove
    id削除したいポートレットのポートレット PSML ID
    + + + API の例: + + + + + + XML レスポンス: + + + success + remove + jsf-demo::CalendarPortlet + + 0 + 0 + + +]]> + + + + +
    + +
    + + + + + + + + + + + + + + + + +
    API:getportlets
    Component:AjaxGetPortlets
    Description:Get Portlets retrieves the (sorted) portlet list available to the current subject, filtered + the portlet list, and returning portlets which the current subject may view. + The Jetspeed (JAAS) security policy enforces this filtering. Portlets are returned + in XML format, with name, displayName, and description for each portlet.
    Parameters:
    + + + + + + + + + + + + + +
    pageimplied in the URL
    actiongetportlets
    filternot yet implemented. A query filter to be defined.
    + + + API example: + + + + + + XML Response: + + +success +getportlets +- + + + + + + + + + +.... + + + + + + +]]> + + + + +
    + + + + + + + + + + + + + + + + +
    API:getportlets
    コンポーネント:AjaxGetPortlets
    説明:Get Portlets は、現在のサブジェクトで利用可能な (ソートされた) ポートレットのリストを返します。ポートレットリストはフィルタリングされ、現在のサブジェクトで表示可能なポートレットが返されます。Jetspeed セキュリティポリシー (JAAS) は、このフィルタリングを実行します。ポートレット (のリスト) は、それぞれのポートレットの名前、表示名、説明の記述された XML フォーマットで返されます。
    パラメータ:
    + + + + + + + + + + + + + +
    pageURL に含まれる
    actiongetportlets
    filterまだ実装されていません。クエリのフィルタを定義します。
    + + + API の例: + + + + + + XML レスポンス: + + +success +getportlets +- + + + + + + + + + +.... + + + + + + +]]> + + + + +
    +
    + +
    +
    +

    +The AjaxRequestService is a Spring component that handles AJAX requests. +It is hooked into the AJAX Pipeline for special processing +of AJAX request. Here is the Spring Assembly. Each API is configured in the Ajax Service. +

    +
    +

    +AjaxRequestService は、AJAX リクエストを扱う Spring のコンポーネントです。これは、AJAX リクエストの特別な処理のために、AJAX Pipeline 内でフックされます。以下が Spring アセンブリです。それぞれの API は Ajax サービス内で設定されます。 +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]> +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]> +
    + +
    + From shinsuke @ users.sourceforge.jp Fri Mar 31 22:38:10 2006 From: shinsuke @ users.sourceforge.jp (shinsuke @ users.sourceforge.jp) Date: Fri, 31 Mar 2006 22:38:10 +0900 Subject: [Jetspeed-japan-trans] CVS-Update: jetspeed-2-trans/xdocs committed by shinsuke Message-ID: <20060331133810.B5D632AC0AD@users.sourceforge.jp> Update of /cvsroot/jetspeed-japan/jetspeed-2-trans/xdocs In directory sf-cvs:/tmp/cvs-serv23284/xdocs Modified Files: assignment.xml Log Message: submitted by KATOH Yasufumi jetspeed-2-trans/xdocs/assignment.xml 1.21 -> 1.22 (modified) http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/jetspeed-japan/jetspeed-2-trans/xdocs/assignment.xml.diff?r1=1.21&r2=1.22 =================================================================== RCS file: jetspeed-2-trans/xdocs/assignment.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- assignment.xml 2006/03/27 11:33:47 1.21 +++ assignment.xml 2006/03/31 13:38:10 1.22 @@ -202,8 +202,8 @@ guides/guide-portlet-bridges.xml ??? $BLuJ8(B - - - $BJg=8Cf(B + $B2CF#BYJ8(B + $BK]LuCf(B guides/guide-profiler.xml From shinsuke @ yahoo.co.jp Fri Mar 31 22:46:12 2006 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Fri, 31 Mar 2006 22:46:12 +0900 Subject: [Jetspeed-japan-trans] Re: guides/guide-portlet-bridges.xml In-Reply-To: <87vetudil2.wl%karma@jazz.email.ne.jp> References: <87vetudil2.wl%karma@jazz.email.ne.jp> Message-ID: <442D32A4.1000908@yahoo.co.jp> こんにちは、菅谷です。 ありがとうございます。 翻訳分と共にコミットしておきました。 shinsuke KATOH Yasufumi wrote: > 加藤泰文です. > > guides/guide-portlet-bridges.xml をやります. > -------------------------------------- Celebrate Yahoo! JAPAN 10th Anniversary http://pr.mail.yahoo.co.jp/10thann/