portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morci...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets GenericMVCPortlet.java
Date Tue, 25 Jan 2005 23:43:17 GMT
morciuch    2005/01/25 15:43:17

  Modified:    src/java/org/apache/jetspeed/portal/portlets
                        GenericMVCPortlet.java
  Log:
  Converted some info messages to debugs
  
  Revision  Changes    Path
  1.10      +22 -13    jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/GenericMVCPortlet.java
  
  Index: GenericMVCPortlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/GenericMVCPortlet.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- GenericMVCPortlet.java	31 Aug 2004 19:01:23 -0000	1.9
  +++ GenericMVCPortlet.java	25 Jan 2005 23:43:16 -0000	1.10
  @@ -139,11 +139,14 @@
           template = getPortletConfig().getInitParameter("template");
   
           // get viewprocessor from factory
  -        logger.info(
  -            "GenericMVCPortlet - creating view processor for viewtype = "
  -                + viewType
  -                + ", template = "
  -                + template);
  +        if (logger.isDebugEnabled())
  +        {
  +			logger.debug(
  +				"GenericMVCPortlet - creating view processor for viewtype = "
  +					+ viewType
  +					+ ", template = "
  +					+ template);
  +        }
           processor = ViewProcessorFactory.getViewProcessor(viewType);
   
           // initialize view processor with portlet info
  @@ -166,12 +169,12 @@
           return getPortletConfig().getInitParameter(IS_CACHEABLE, "true").equalsIgnoreCase("true");
       }
   
  -/**
  - * Whether or not this portlet provides it's own customizer.
  - * This can be set at the registry level by adding a 
  - * boolean paramter "provides.customization"
  - * Defaults to "false"
  - */
  +	/**
  + 	 * Whether or not this portlet provides it's own customizer.
  + 	 * This can be set at the registry level by adding a 
  + 	 * boolean paramter "provides.customization"
  + 	 * Defaults to "false"
  + 	 */
       public boolean providesCustomization()
       {
           return providesCustomization;
  @@ -282,10 +285,16 @@
   
           // Process View
           // call processView method
  -        logger.info("GenericMVCPortlet - calling processView on processor");
  +		if (logger.isDebugEnabled())
  +		{        
  +        	logger.debug("GenericMVCPortlet - calling processView on processor");
  +		}
   
           ConcreteElement result = (ConcreteElement) processor.processView(context);
  -        logger.info("GenericMVCPortlet - setting this portlet's content");
  +		if (logger.isDebugEnabled())
  +		{
  +        	logger.debug("GenericMVCPortlet - setting this portlet's content");
  +		}
           clearContent();
           setContent(result); // only needed when caching is true I believe
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message