Definitely in an action class. Due to timescales we have restricted the
functionality and concentrating on a customized "customize-portelt" page. I
have had some assistance yesterday with this, see thread "changing default
customize page" and even that is causing problems.

U have been looking on and off at Jetspeed for about three years and still
believe it is the way forward for us, just get very frustrated with the
myriad of interfaces/methods etc. From what I have seen so far I am hoping
that Jetspeed 2 will be far clearer for those of use attemting to extend
jetspedd and make it an application rich environment.

Cheers

Jon

-----Original Message-----
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: 08 October 2004 07:04
To: Jetspeed Users List
Subject: Re: List of user's portlets

Jonathan Hawkins wrote:

> David,
> 
> I believe it was the profile, everytime I tried to step through thecode
> using eclipseit would throw a null pointer exception and hang.
> 
> Thanks for assistance.

Are you in an action?
The profile should always be set.

     public void doPerform(RunData data) throws Exception
      {
          Profile profile = ((JetspeedRunData)
          data).getCustomizedProfile();


        Portlets portlets =
          profile.getDocument().getPortlets();

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to