Forums: Help (Thread #13989)

Portletモード切替について (2007-03-14 00:10 by Anonymous #28166)

突然の投稿にて失礼します。

自作ポートレットAPを作って、
pal-portal 1.0-beta4上で動かしてみたところ、
表示できるのですが、
ViewモードからEditモードへ、
ViewモードからHelpモードへ、
などのPortletモード切替表示ができませんでした。

試しに、
Jetspeed2.1で自作ポートレットAPを動かした結果、
Portletモード切替表示は正常に動作しました。

他のPortletモード切替が可能なポートレットで試そうと思い、
ユーザ管理のProfilerAdminポートレットで試した結果、
やはり自作AP同様にモード切替ができませんでした。

自作APで、
doView,doEdit,doHelpでログを出力させた結果、
各メソッドはコールされていました。

何か設定を変える必要があるのでしょうか?

Reply to #28166×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Portletモード切替について (2007-03-14 07:08 by shinsuke #28187)

現象を確認しました。デコレータ周りで更新が追随できていない可能性もあるので、その辺を調査してみます。
Reply to #28166

Reply to #28187×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Portletモード切替について  (2007-03-15 07:14 by shinsuke #28220)

expiration-cacheが0だと、キャッシュが消えないようなので、layout-portlets/src/webapp/WEB-INF/portlet.xmlを修正しました。
Reply to #28166

Reply to #28220×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Portletモード切替について  (2007-03-19 23:13 by Anonymous #28413)

ご返信有難う御座います。

このportlet.xmlは、
インストールしたPALPortal内のどこにあるのでしょうか?
PALPortal/webapps/palportal/WEB-INF/apps/jetspeed-layouts/WEB-INF/portlet.xml
になるのでしょうか?
(でも、expiration-cacheは全部-1になってるし...)
御手隙の折でも結構ですので教えて頂けませんか?

実は、
現在spring-portlet-sampleを試しているのですが、
bookポートレットのリンクによる画面移動が動かない状況です。
(jetspeed2.1では正常に動きました)
で、これもportlet.xmlの設定が影響しているのかな?
と考えています。
なので、portlet.xmlを変更したいと思ってます。
Reply to #28220

Reply to #28413×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Portletモード切替について  (2007-03-20 06:33 by shinsuke #28433)

はい、そのファイルになります。
Reply to #28413

Reply to #28433×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login