That, I've never done anything like creating a new site. It is new to me too in that area.
---Yang -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, March 20, 2006 3:42 PM To: Jetspeed Users List Subject: RE: a psml question hi,yang I hope another reply that is about new site. I want to create my own site,so I new directory structure as following: pages\mysite\.... mysite content just copy from 'pages\__subsite-root'.I just only change the role subsite into mysite,the role subsite2 into mysite2,the owner subsite into mysite,the owner subsite2 into mysite2. some directory info: pages\mysite\_role\mysite ......\mysite2 pages\mysite\foler.metadata content: ..... <security-constraints> <security-constraint> <roles>mysite, mysite2</roles> <permissions>view</permissions> </security-constraint> </security-constraints> .. pages\mysite\_role\mysite\folder.metadata content: ... <default-page>subsite-default-page.psml</default-page> <security-constraints> <owner>mysite</owner> <security-constraint> <roles>mysite, mysite2</roles> <permissions>view</permissions> </security-constraint> </security-constraints> ... I create a new profiler rule named newrule including : name value resolver type fallback order navigation mysite navigation loop 0 role role loop 1 path subsite-default-page path stop 2 I new user mysite and role myiste in jp2. newrule is assigned to user mysite whose role mysite. when I log in jp2 as mysite,he throws exception. is any step incorrect?what is the correct method? hope help! thx -----lee "Sie, Yang" <[EMAIL PROTECTED]> 写道: Worked for me. JS2.0 is fine. I am using MySQL. I don’t know what to say... ---yang -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, March 20, 2006 11:37 AM To: Jetspeed Users List Subject: RE: a psml question hi,Yang I have tried again,but it didn't work in that way even if I created another new user after new psml created under '..../template' . may be it a bug in this version? my jp2 version is jetspeed 2.0 release with derby.what your jp2's configuration is?Have you succeed in jp2 release with derby? ok! I know what it should be. "Sie, Yang" 写道: Template folder is used to store all the pages that would be copied to the new user's folder. In another words, if you have two psmls inside the template folder, you sign on as a NEW user user3, you will see two pages for you. You can certain customize those two pages. If user2 folder existed before you added another page to the template folder, user2 will not get that page. Delete user2 folder and sign on as user2 again, you will see two pages shown up for the user2. To summarize: every newly signed on users will get a fresh copy of every signle psml found in template folder. ---yang -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, March 19, 2006 5:23 AM To: Jetspeed Users List Subject: RE: a psml question hi,Yang As what you said ,when I sign in jp2 with user1, jp2 will create directory \pages\_user\user1 automaticlly with files default page and folder.metadata .whatever I changed in the default page for user1 stayed there for user1 indeed. I have another problem. I didn't find the user template in jp2. what is '\pages\_user\template' used for? I created user2 and another psml file named newtemplate.psml in ''...\template' through Portal Site Manager signed in jp2 with admin. After i signed in as user2,I found that newtemplate.psml was not copied into '\pages\_user\user2 ',but only default page and folder.metadata. "Sie, Yang" 写道: Public folder means for public. However, whatever you changed in the default page for user1 stayed there for user1. try log-in as user2. The reference is limited. Apache site, this group and, as in the following post from Dave (jan 16 of this year): ---------------- Christopher Benson wrote: > Manning Publications has released a free PDF e-book called Portlets > and Apache Portals. It can be found at: > > http://www.manning.com/books/hepper > > It's the best introduction to Jetspeed 2 and related technologies that > I've found anywhere, and it's printable. > > It only requires that you sign up for Manning's free "sandbox" > account, which I did and it did not cause me grief or regret. > Great book, I strongly recommend it :) Too bad we spent over a year writing it, just to have Manning change their mind and not publish it. Thanks for pointing it out ------------ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, March 18, 2006 11:49 AM To: Jetspeed Users List Subject: RE: a psml question hi,Yang I have tried to create the directory jetspeed\WEB-INF\pages\_user\user1 in derby jp2. I make the new user named user1 role user profiler rule j2. First,After I signed in jp2 with user1,the default-page.psml and folder.metadata were automaticlly copied into the directory user1 by jp2 indeed .but what portlet user1 add in jetspeed\WEB-INF\pages\Public\content.psml can be seen by every other user. next,I add content.psml and public.psml into the directory user1 manually.then I do the same thing as first step.and the result is the same. is this result related to the db.? how can i find the papers about these knowledge. I feel the docs about jp2 is too scarce.hope more help. --lee "Sie, Yang" 写道: I didn't use derby on 2.0 release verison. I used mysql. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, March 18, 2006 10:32 AM To: Jetspeed Users List Subject: ??: RE: a psml question Is Jetspeed2.0-derby-install.jar ok? I try to test it with this version. I've ever use this version .Only if I modifed the psml , jp2 dumped.now I try it again.hope it work. "Sie, Yang" 写道: Indeed, that was the problem if I remembered correctly in that version. Is there any way that you move to a newer version? Say JS2.0 release, at least? ---yang -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, March 18, 2006 10:16 AM To: Jetspeed Users List Subject: RE: a psml question I use Jetspeed 2.0-M3 Release with jetspeed-current-Tomcat-5.5.9 and database hsqldb-1.7.1.jar "Sie, Yang" 写道: What version are you using? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, March 18, 2006 10:00 AM To: Jetspeed Users List Subject: RE: a psml question hi,yang Thanks for your reply very much. I have created such directory /jetspeed/WEB-INF/pages/_user/user1 and put public.psml into this directory.but when I sign in as user1 role manager and added a new BookmarkPortlet,the public.psml under that directory was not changed any. jp2 only changed the public.psm under jetspeed\WEB-INF\pages\Public. I feel confusion about it. can be more concreated? how should i choose profiler rule,role .and what should I create any more? "Sie, Yang" 写道: What you need is to put your psml under /jetspeed/WEB-INF/pages/_user/user1 if you do it manually. You certainly need to sign in first. The thing is that you really do not need to do it mannually, if you sign in as user1, the defaul-page will be copied (by JS2) to user1 folder and all customization tha you made go into your own copy. HTH ---yang -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 17, 2006 11:17 PM To: [email protected] Subject: a psml question hi,everyone: For example,now there's a psml file named MultipleBookmarkPortlets.psml. there are two users user1 and user2 on jetspeed 2. If I hope that when user1 access the psml ,he can add another BookmarkPortlet into it,but when user2 access the psml, user2 cannot see the new added BookmarkPortlet .how do this. I find that now if you select a portlet into public.psml on jp2, then the public.psml's content is changed forever. public.psml is in common for all of users.so anybody accesses it will see the latest public.psml.If there're ten users on jp2,they want to have own psml view different from other's ,we should create ten psml files.but I think it's unreasonable. Is there any method like user-specific portlet preference to allow user customize his psml view but not bother other user accessing the same psml. any reply is appreciated! --------------------------------- 雅虎1G免费邮箱百分百防垃圾信 雅虎助手-搜索、杀毒、防骚扰 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________ 赶快注册雅虎超大容量免费邮箱? http://cn.mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- 想成为冯小刚、陈凯歌、张纪中三大导演的主角吗? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- 想成为冯小刚、陈凯歌、张纪中三大导演的主角吗? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- 雅虎1G免费邮箱百分百防垃圾信 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- 无限容量雅虎相册,原图等大下载,超快速度,赶快抢注! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- 想成为冯小刚、陈凯歌、张纪中三大导演的主角吗? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- 雅虎1G免费邮箱百分百防垃圾信 雅虎助手-搜索、杀毒、防骚扰 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
