We're using 2.1-dev


----------
Rango Keshavan
617 563 2435
 

> -----Original Message-----
> From: Aaron Evans [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 09, 2006 10:43 AM
> To: Jetspeed Users List
> Subject: Re: portletPreference question
> 
> What version of jetspeed are you using?
> 
> I am using Jetspeed 2.0 and it is definitely not storing them on a user by
> user basis for me.
> 
> Here is what I've done:
> I login as user A, change some portlet preferences from the defaults.
> 
> I then login as user B *on a different machine* (just to make sure it is
> not
> a session issue).  I look at my preferences for the portlet and they are
> set
> to the values that user A set them to!
> 
> I assume that I am using the correct API calls:
> 
> //get the user's preferences
> PortletPreferences prefs = request.getPreferences();
> 
> //set a value for a preference
> prefs.setValue("aPreferenceName","aPreferenceValue");
> 
> //store the preferences
> prefs.store();
> 
> 
> 
> On 3/9/06, Keshavan, Rango <[EMAIL PROTECTED]> wrote:
> >
> > The way it is working for us is we have them in the portlet.xml, which
> > creates a default set of preferences for the user.  When we change them
> per
> > user, it stays that way.  When a new user enters the system, the default
> > preferences are copied over for the user.
> >
> > I do want to put some code in, though, that would add new preferences on
> > the fly (the JSR spec says it can be done, so I'm presuming it can,
> haven't
> > tried it yet).  I hope those are handled in this fashion.  That a new
> user
> > would only get the defaults that are in the portlet.xml, and NOT get the
> > new ones added for another user...
> >
> > We shall see!!
> >
> > ----------
> > Rango Keshavan
> > 617 563 2435
> >
> >
> > > -----Original Message-----
> > > From: Aaron Evans [mailto: [EMAIL PROTECTED]
> > > Sent: Thursday, March 09, 2006 10:05 AM
> > > To: Jetspeed Users List
> > > Subject: Re: portletPreference question
> > >
> > > In my case, the preferences are specified in the portlet.xml .
> > >
> > > On 3/9/06, Keshavan, Rango <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Do you have the Portlet Preferences specified in the portlet.xml to
> > > begin
> > > > with or are you adding them in???
> > > >
> > > >
> > > >
> > > > ----------
> > > > Rango Keshavan
> > > > 617 563 2435
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Aaron Evans [mailto:[EMAIL PROTECTED]
> > > > > Sent: Thursday, March 09, 2006 9:58 AM
> > > > > To: Jetspeed Users List
> > > > > Subject: Re: portletPreference question
> > > > >
> > > > > Holy cow!  He's right!
> > > > >
> > > > > I just assumed that portlet preferences were stored on a user by
> > user
> > > > > basis,
> > > > > but I just tested and they are being treated globally!
> > > > >
> > > > > So this is a bug, right?
> > > > >
> > > > >
> > > > >
> > > > > On 3/9/06, 立焰 李 <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > hello,everyone:
> > > > > > At fist,i change
> > > > > > '<security-constraints-ref>public-view</security-constraints-
> ref>'
> > > > > > into
> > > > > > '<security-constraints-ref>public-edit</security-constraints-
> ref>'
> > > > > > within  file default-page.psml under directory pages/.
> > > > > > then i new users user1 and user2.
> > > > > > when i logon jetspeed2 with username user1 role user,i
> > > > > > add a new bookmark.why user user2 can get it when he
> > > > > > logon jp2.how do i understand the portletPreference?
> > > > > > isn't it user-specific in jetspeed2?
> > > > > > tks!
> > > > > >
> > > > > > __________________________________________________
> > > > > > 赶快注册雅虎超大容量免费邮箱?
> > > > > > http://cn.mail.yahoo.com
> > > > > >
> > > > > >
> > --------------------------------------------------------------------
> > > -
> > > > > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail: jetspeed-user-
> > > [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > >
> > > > --------------------------------------------------------------------
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: jetspeed-user-
> [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]

Reply via email to