Package org.apache.pluto.container.om.portlet

Examples of org.apache.pluto.container.om.portlet.PortletInfo


            }
        }
        target.setResourceBundle(src.resourceBundle);
        if (src.portletInfo != null)
        {
            PortletInfo pi = target.getPortletInfo();
            pi.setTitle(src.portletInfo.title);
            pi.setShortTitle(src.portletInfo.shortTitle);
            pi.setKeywords(src.portletInfo.keywords);
        }
        if (src.portletPreferences != null)
        {
            Preferences prefs = target.getPortletPreferences();
            prefs.setPreferencesValidator(src.portletPreferences.preferencesValidator);
View Full Code Here


            }
        }
        target.setResourceBundle(src.resourceBundle);
        if (src.portletInfo != null)
        {
            PortletInfo pi = target.getPortletInfo();
            pi.setTitle(src.portletInfo.title);
            pi.setShortTitle(src.portletInfo.shortTitle);
            pi.setKeywords(src.portletInfo.keywords);
        }
        if (src.portletPreferences != null)
        {
            Preferences prefs = target.getPortletPreferences();
            prefs.setPreferencesValidator(src.portletPreferences.preferencesValidator);
View Full Code Here

    public void setUp() throws Exception {
        super.setUp();

        validDD = new PortletType();

        PortletInfo info = validDD.getPortletInfo();
        info.setTitle("Info Title");
        info.setShortTitle("Info Short Title");
        info.setKeywords("Info Keywords");
        validDD.setResourceBundle(TestResourceBundle.class.getName());
    }
View Full Code Here

        bundleName = dd.getResourceBundle();
        if(LOG.isDebugEnabled()) {
            LOG.debug("Resource Bundle Created: "+bundleName);
        }

        PortletInfo info = dd.getPortletInfo();


        if(info != null) {
            String title = windowInfo == null ? info.getTitle() : windowInfo.getTitle();
            String shortTitle = windowInfo == null ? info.getShortTitle() : windowInfo.getShortTitle();
            String keywords = windowInfo == null ? info.getKeywords() : windowInfo.getKeywords();

            defaultBundle = new InlinePortletResourceBundle(
                    title, shortTitle, keywords
            );
        }
View Full Code Here

TOP

Related Classes of org.apache.pluto.container.om.portlet.PortletInfo

Copyright © 2018 www.massapicom. 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.