You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Tomba Rakesh <to...@yahoo.com> on 2005/06/15 08:33:42 UTC
Maintained user specific state. HELP!
Hi All
Portlets are commonly configured to provide a customized view or behavior for different users. This is achieved using "Portlet Preferences". When I try the "Pick a Number" portlet that comes along with jetspeed2. I could save the the sate, but this state does not save for the particular user. Those state's are shared all the users.
How could we mentain the user specific state using "Portlet Preferences".
Regards
Rakesh
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: Maintained user specific state. HELP!
Posted by Tomba Rakesh <to...@yahoo.com>.
Hi David
I agree your points...
I could maintained user states by doing some tricks. Suppose lets take a parameter "favourite_color". Each user could maintain their own "favourite_color", if we store as "<username>_favourite_color" (by concatenating username and param name). As username is unique "<username>_favourite_color" also unique. So for every user we could have "<username>_favourite_color". This works fine...
On the -ve side: suppose one user is removed, still those states are maintained in portlet. So the problem is how should I reset those remove user params.
Is there any way to reset PortletPreference params outside the portlet?
Regards
Rakesh
David Sean Taylor <da...@bluesunrise.com> wrote:
Tomba Rakesh wrote:
> Hi All
>
> Portlets are commonly configured to provide a customized view or
> behavior for different users. This is achieved using "Portlet
> Preferences". When I try the "Pick a Number" portlet that comes along
> with jetspeed2. I could save the the sate, but this state does not
> save for the particular user. Those state's are shared all the users.
>
>
> How could we mentain the user specific state using "Portlet
> Preferences".
>
Place the portlet on the user's home page, or a page under the user's
directory.
The current model associates preferences with the page, not the user.
This allows for sharing preferences in common areas of the PSML
directory. I think our current solution isn't complete, as sometimes
users want to share preferences in common areas, whereas sometimes they
don't. We haven't yet formalized this into a clear requirement.
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
---------------------------------
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
Re: Maintained user specific state. HELP!
Posted by David Sean Taylor <da...@bluesunrise.com>.
Tomba Rakesh wrote:
> Hi All
>
> Portlets are commonly configured to provide a customized view or
> behavior for different users. This is achieved using "Portlet
> Preferences". When I try the "Pick a Number" portlet that comes along
> with jetspeed2. I could save the the sate, but this state does not
> save for the particular user. Those state's are shared all the users.
>
>
> How could we mentain the user specific state using "Portlet
> Preferences".
>
Place the portlet on the user's home page, or a page under the user's
directory.
The current model associates preferences with the page, not the user.
This allows for sharing preferences in common areas of the PSML
directory. I think our current solution isn't complete, as sometimes
users want to share preferences in common areas, whereas sometimes they
don't. We haven't yet formalized this into a clear requirement.
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org