You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by si...@apache.org on 2010/01/14 13:51:54 UTC

svn commit: r899184 - /labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/producers/ParametrizableProducerBase.java

Author: simoneg
Date: Thu Jan 14 12:51:53 2010
New Revision: 899184

URL: http://svn.apache.org/viewvc?rev=899184&view=rev
Log:
Added helper also to raw producers with parameters

Modified:
    labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/producers/ParametrizableProducerBase.java

Modified: labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/producers/ParametrizableProducerBase.java
URL: http://svn.apache.org/viewvc/labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/producers/ParametrizableProducerBase.java?rev=899184&r1=899183&r2=899184&view=diff
==============================================================================
--- labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/producers/ParametrizableProducerBase.java (original)
+++ labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/producers/ParametrizableProducerBase.java Thu Jan 14 12:51:53 2010
@@ -23,6 +23,13 @@
 
 	protected ProducerParameters parameters = new ProducerParameters();
 	
+	{
+		ProducerHelper ph = new ProducerHelper();
+		// Kept here for legacy reasons, may be removed in the future
+		parameters.addParameter("i18n", ph);
+		parameters.addParameter("mag", ph);
+	}
+	
 	public ParametrizableProducer addParameter(Object param) {
 		parameters.addParameter(param);
 		return this;		



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org