portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bui Quoc Thai <st027...@ait.ac.th>
Subject addMediaType() for portlet-entry
Date Wed, 28 Aug 2002 05:48:26 GMT
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-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message