Thursday, October 15, 2009

Show/Hide portlet in Runtime

Question :
I have been trying to hide a portlet at runtime using portletBackingContext.setVisible(false) in preRender() method of the backing file.
 But still that portlet is visible. how to hide the portlet in runtime.

 
Answer :

setVisible(false) and return false from the prerender method.

2 comments:

  1. Hi Venkat,

    Could you please give some pointers to some weblogic developer certification.

    Curenlty Working in Infosys Technologies limited as a weblogic portal application developer for past 1 year, now iam very much interested in portal devlopment and would like to go professional in this stream,

    Thanking you in advance.

    Regards
    Jasheer_kv@live.in
    +919731566331

    ReplyDelete