Hi,

 I create portlet entry by progamming, I use BasePortletEntry to create a new 
entry, after that I use their methods to add other information for the 
portlet, such as: setName(), setTitle(),...
 However, I cann't set MediaType properly. In particularly, I use setMediaTypes
() then it create the element:
       <media-type>html</media-type>
 instead of:
       <media-type ref="html"/>

 This leads to an error in the portlet list for adding portlet (the portlet 
table has no portlet).

Has someone done this problem? Please, give me some commnend!
Thank you so 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:jetspeed-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@;jakarta.apache.org>

Reply via email to