Package org.zkoss.zul

Examples of org.zkoss.zul.Panel.addEventListener()


    @SuppressWarnings("unchecked")
    private void createPortlet(Map params)
    {
        final Panel topoPanel = (Panel)execution.createComponents("/topoPortlet.zul", null, params);
      
        topoPanel.addEventListener("onClose", new EventListener()
        {
            @Override
            public void onEvent(Event arg0) throws Exception
            {
                portletKeySet.remove(topoPanel.getAttribute("portletKey"));
View Full Code Here


    @SuppressWarnings("unchecked")
    private void createPortlet2(Map params)
    {
        final Panel topoPanel = (Panel)execution.createComponents("/topoPortlet.zul", null, params);
      
        topoPanel.addEventListener("onClose", new EventListener()
        {
            @Override
            public void onEvent(Event arg0) throws Exception
            {
                portletKeySet.remove(topoPanel.getAttribute("portletKey"));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.