View Full Version : Invoking settings tool on a portlet on render?

14 Jun 2010, 9:50 PM

Id' like to invoke the settings tool on a portlet when its added to the portal. Is there way to simulate a click on the Gear button once the portlet is rendered? Is there another way to do this?

Thanks in advance..

15 Jun 2010, 6:51 AM
You can create a function that both the settings button uses, and the programmatic logic uses.

15 Jun 2010, 9:46 PM

Thanks for your reply, although I didn't really get it. Sorry. I am trying to get a Portlet extension working. A window has to show up when one clicks on the gear handler and that is fine but I would like to extend the portlet and let other portlets inherit from it. So Id' like to let the portlets that inherit from it it decide what form fields go in and what buttons go in the settings window. Additional elements might also get created and inherited with overrides in the children.

Could you please advise me in this regard, or point me to a forum post to get an idea?

Thanks a lot!

16 Jun 2010, 6:06 AM
Here are some articles on writing your own custom components.