PDA

View Full Version : Extending portlets



abcdef
15 Jun 2010, 10:22 PM
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 decide what form fields and what buttons go in the settings window. Additional elements might also get created and inherited with overrides in the children.

Is there a best practice to achieve this? Can anyone point me to a reference to get started?

Thanks in advance!

16 Jun 2010, 6:26 PM
In general, I would suggest learning about Object Oriented JavaScript and how it applies to Ext JS. My book handles the Ext JS side.

Also, I have a screencast at http://tdg-i.com/364/ that discusses abstract classes with Ext JS.