com.sas.portal.portlets.JspPortlet
Class JspPortletInitializer

com.sas.portal.portlets.JspPortlet.JspPortletInitializer
All Implemented Interfaces:
PortletInitializerInterface, java.io.Serializable

public class JspPortletInitializer
implements PortletInitializerInterface

Convenience action for initializing simple JSP (HTML) portlets. This initializer is run when the portlet is first run by a user after logging on.

See Also:
Serialized Form

Constructor Summary
JspPortletInitializer()
           
 
Method Summary
 void initialize(java.util.Properties initProperties, PortletContext context)
          Runs when the portlet is first initialized, on a per-user basis.
 

Constructor Detail

JspPortletInitializer

public JspPortletInitializer()
Method Detail

initialize

public void initialize(java.util.Properties initProperties,
                       PortletContext context)
Runs when the portlet is first initialized, on a per-user basis. This initializes information that is needed on future rendering of this portlet. This is called only on the first time that the portlet is rendered on a user's login. The information stored here should be only that which is expected to persist across the growth of information in the portlet, such as the success and failure paths for the portlet.

Specified by:
initialize in interface PortletInitializerInterface
Parameters:
initProperties - The properties to get information from, such as initProperties.getProperty("display-page") and initProperties.getProperty("empty-page")
context - where to store information, such as context.setAttribute("display-page", initProperties.getProperty("display-page"))



Copyright © 2009 SAS Institute Inc. All Rights Reserved.