Have you tried add the entry in .xreg by hand?
I read the portlet how-to it says you should add it by hand.
i don't know this info is correct or not.
Peter Chi
----- Original Message -----
From: "Bui Quoc Thai" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Thursday, August 29, 2002 5:03 PM
Subject: addMediaType() for portlet-entry?
> Hi,
>
> I create a portlet-entry by using BasePortletEntry()
> BasePortletEntry bpe = new BasePortletEntry();
> Then I add MediaType like this
> bpe.addMediaType("html");
>
> But there is an error "java.lang.NullPointerException" occured. So the
> portlet-entry can't be created in .xreg file.
> Can you help me to add Media Type for portlet entry?
> I'm using Tomcat4.0.3 and Jetspeed 1.4b1
>
> Thank you very much!
> Thai
>
>
> --------------------------
> Email: [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Room: C34
> Tel: 524-7099
>
> ----------------------------------------------------------
> This mail sent through AIT WebMail : http://www.ait.ac.th/
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>