Roberto Rossi wrote:
Is it shared between different portal requests? I cannot figure out easily why
it happens.
Probably I'm stupid to ask this, but do you have any member variable inside
your portlet? e.g. context?
Yes! I saved the context inside a private member variable called context:
"private Context context = null;"
You were right Woonsan! I commented out this line and I created the context
variable inside the doView method and now there is no more context mixture.
So for every portlet class there is just one instance? In this way the my velocity context was shared between all
instances (fragments) of the same portlet!
You were right... I was very stupid!
Is this a specific approach of the JSR 168 standard? Or an implementation of
Jetspeed portal?
JSR 168 (and JSR 286 too of course), see PLT.5.1 Number of Portlet Instances:
"For a portlet, not hosted in a distributed environment (the default), the
portlet container
must instantiate and use only one portlet object per portlet definition."
Yes, the renderRequest is specific of a portlet window.
By the way, just one question here: which version of Jetspeed are you using?
2.1.2. I know we need to upgrade. Maybe we will try out the fresh new 2.2 in
the next few days.
Thank you.
ROb
Cone consulting
Business in rete
Via Sandro Totti 7A - 60131 Ancona
Tel 071 9931 269
Fax 071 9931 270
eMail roberto.ro...@cone.it
Web www.cone.it
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org