Hi,

> > > 
> > > We are using jetspeed1.3a1 
> > > 
> > > We have 2 portlets that based on the same class and when we 
> > use either
> > > individually, they work fine.
> > > 
> > > But when we have both portlets enabled at once, the links 
> > of the first
> > > portlet get passed to the second portlet displayed - they 
> > are setup as
> > > separate portlet entries WhosWho and Company.
> > > 
> > 
> > It looks it is a multithreading problem. Are you storing in 
> > the portlet information that
> > belongs to the request or the session?
> > 
> > Does the portlet class have any instance variables written by 
> > the requests?
> > 
> > Are you storing a RunData anywhere?
> > 
> 
> Nope - not storing rundata - although we do have specific 
> PortletConfig data
> that each needs.
> 
> Maybe the PortletConfig data needs to be reloaded on each 
> getContent call?
> 

I have tracked down why only one portlet is displayed after clicking on a
link - its because we specify servlet/jetspeed/portlet/Company in the form
action - if I change it to just servlet/jetspeed - both portlets stay on
screen.

The problem is slightly cleaner now in that the params from the hyperlink
seem to be only passed to the second portlet.  And writing this down has
made me realise what the problem is - to do the links, we use javascript -
and using the good old code reuse technique of copy and paste, the same
javascript functions are in both portlets - so the second functions are
overriding the first - DOH...

Chris

================================================================================================
This electronic message (email) and any attachments to it are subject to copyright and 
are sent for the personal attention of the addressee. Although you may be the named 
recipient, it may become apparent that this email and its contents are not intended 
for you and an addressing error has been made. This email may include information that 
is legally privileged and exempt from disclosure. If you have received this email in 
error, please advise us immediately and delete this email and any attachments from 
your computer system.Rabobank International is the trading name of Coöperatieve 
Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands. 
Registered with the Registrar of Companies for England & Wales No. BR002630 and 
regulated by the SFA for the conduct of investment business in the UK.

The presence of this footnote also confirms that this email has been automatically 
checked by Rabobank International for the presence of computer viruses prior to it 
being sent, however, no guarantee is given or implied that this email is virus free 
upon delivery.




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/jetspeed@list.working-dogs.com/>
List Help?:          [EMAIL PROTECTED]

Reply via email to