You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

CP2: How would one know if a custom widget is extending a standard one

Accepted answer
edited Jun 5, 2018 5:16AM in Customer Portal 4 comments


I'm in the process of migrating to CP3. Having never worked on CP2, I'm not sure how I could figure out if a custom widget is extending another widget, extending and overriding it or created from scratch.

I looked at the controller file and this is what it contains:

class LogoutLink2 extends Widget { ... }

From that I can assume that it has been built from scratch (extending from base widget class) but just wanted to have a confirmation on that.

Also, if my assumption is right, what would a widget extending/overriding another widget have in the controller?



Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!