So, I can't change guest preferences from admin login in a visual interface, but only using notepad for editing psml files, isn't it?
But. There is portlet config mode in Websphere Portal 5. In this mode admin can change read-only preferences for all users of this portlet. And all users can see this changes. As we can see in JSR-168 specification (PLT.14.3): "If a preference attribute definition does not contain the read-only element set to true, the preference attribute is modifiable when the portlet is processing an action request in any of the standard portlet modes (VIEW, EDIT or HELP) Portlets may change the value of modifiable preference attributes using the setValue, setValues and reset methods of the PortletPreferences interface. Deployers may use the read-only element set to true to fix certain preference values at deployment time. Portal/portlet-containers may allow changing read-only preference attributes while performing administration tasks." So, does config mode is supported in jetspeed? Can I change read-only preferences in this mode? Will this changes be visible for all users? Thanks! P.S.: Sorry for my bad English. 2006/9/28, David Sean Taylor <[EMAIL PROTECTED]>:
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]
