Examples of findWidgetInstanceByIdKey()


Examples of org.apache.wookie.beans.util.IPersistenceManager.findWidgetInstanceByIdKey()

    // If the page contains an IdKey, Lets and make sure we include the
    // API key and Shared Data Key: in combination with
    // the Widget URL it uniquely identifies sibling instances
   
        IPersistenceManager persistenceManager = PersistenceManagerFactory.getPersistenceManager();
        IWidgetInstance widgetInstance = persistenceManager.findWidgetInstanceByIdKey((String)parmsMap.get("idkey"));
    // Invalid instance
    if(widgetInstance==null) return super.normalizePage(page);

    // Strip off query and add on API key and shared data key
    setNormalizeIncludesQueryString(false);
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.