I asked the same question a few days ago and no one answered. I tried to use get/set Perm to attach variables to a User. This does not store anything persistently in Jetspeed but no one knows why. I am using get/set Attribute which is stored separately with each portlet. This saves variables for me quite well.
However, if you use velocity to set these variables, you will want to do the setting with customize panes since the GET or POST will set your variable for the entire set of portlets on the pane that you submit from. Setting variables from the customize area means that you just submit information for the portlet that you are customizing. Josh Hone >From: Sandeep Nijsure <[EMAIL PROTECTED]> >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> >To: Jetspeed Users List <[EMAIL PROTECTED]> >Subject: Saving variables >Date: Fri, 12 Jul 2002 18:54:40 -0500 (CDT) > >Hi all, > >If I want to preserve some variable value from one invocation of the >portlet to another, would getAttribute()/setAttribute() help? Where do >these methods store the values? > >Thanks, >Sandeep > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
