Class AddPopupInterface

    • Constructor Detail

      • AddPopupInterface

        public AddPopupInterface()
    • Method Detail

      • getActionJavascript

        public java.lang.String getActionJavascript​(ServiceInstanceConfig serviceInstance,
                                                    org.w3c.dom.Element menuItemDefinition)
                                             throws PortalException
        Description copied from interface: IServiceInstanceMenuItem
        Returns the javascript code to be executed when this menu item is triggered by the user.
        Specified by:
        getActionJavascript in interface IServiceInstanceMenuItem
        Parameters:
        serviceInstance - the service instance this menu item is being triggered on.
        menuItemDefinition - the xml element containing the definition of this menu item.
        Returns:
        the javascript code.
        Throws:
        PortalException - if the menu item cannot be executed, the message of this exception is to be displayed to the user.