[prev in list] [next in list] [prev in thread] [next in thread]
List: jetspeed-user
Subject: Re: addMediaType() for portlet-entry?
From: Bui Quoc Thai <st027235 () ait ! ac ! th>
Date: 2002-08-29 11:43:18
[Download RAW message or body]
Hi,
I have already added the entry by hand, It's okay. And I have also added by
programming like that. It's also okay if I don't use that method, addMediaType
(). An error is occured if using addMediaType().
Thai
Quoting peterchi <peter@fto.com.tw>:
> 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" <st027235@ait.ac.th>
> To: "Jetspeed Users List" <jetspeed-user@jakarta.apache.org>
> 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: st027235@ait.ac.th
> > bqthai@ctu.edu.vn
> > Room: C34
> > Tel: 524-7099
> >
> > ----------------------------------------------------------
> > This mail sent through AIT WebMail : http://www.ait.ac.th/
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:jetspeed-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:jetspeed-user-help@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:jetspeed-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:jetspeed-user-help@jakarta.apache.org>
>
--------------------------
Email: st027235@ait.ac.th
bqthai@ctu.edu.vn
Room: C34
Tel: 524-7099
----------------------------------------------------------
This mail sent through AIT WebMail : http://www.ait.ac.th/
--
To unsubscribe, e-mail: <mailto:jetspeed-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@jakarta.apache.org>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic