Vitaly Baranovsky wrote:
Good day!
I'm developing internet site using jetspeed. This site is for anonymous
users. So, I want admins can configure each portlet, and this portlet
preferences was the same for all anonymous users.
How can I do it?
For example, I have portlet NewsList. At first page of my site I need four
NewsList portlets that shows to users political news, world news, society
news and business news. So, I have "rubric" preference in edit mode of
portlet NewsList. I've logged in to the site with "admin" login and set
preference "rubric" in all portlets. So, for admin user I see political,
world, society and business news. But when I have logged off from portal, I
see empty portlets with empty "rubric". It is because of
http://issues.apache.org/jira/browse/JS2-449 (User Specific Preferences).
So, how can I configure portlets to accept my configured preferences to
anonymous users?
You can set the default prefs for all users in the portlet.xml
You can set default prefs for a given fragment in the PSML
I don't think we have a way to edit someone else's prefs from
admininstration. Are the default prefs good enough?
Or do you need to change the prefs for the guest user ?
If so, then use a security constraint on the page such as public-edit
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]