// Path: src/main/java/com/trsvax/facebook/ColorScheme.java
// public enum ColorScheme {
// 
// 	LIGHT,DARK;
// }
// 
// Path: src/main/java/com/trsvax/facebook/Font.java
// public enum Font {
// 	ARIAL,LUCIDA_GRANDE,SEGOE_UI,TAHOMA,TREBUCHET_MS,VERDANA;
// }
// 
// Path: src/main/java/com/trsvax/facebook/LinkTarget.java
// public enum LinkTarget {
// 	BLANK,TOP,PARENT;
// }
// 
// Path: src/main/java/com/trsvax/facebook/environment/FacebookEnvironment.java
// public interface FacebookEnvironment {
// 
// 		public boolean isLoadJS();
// 		public void setLoadJS(boolean value);
// 		
// 		public void addInitializerCall(String script);
// 		public List<String> getInitializerCalls();
// }


import org.apache.tapestry5.ComponentResources;
import org.apache.tapestry5.MarkupWriter;
import org.apache.tapestry5.annotations.BeginRender;
import org.apache.tapestry5.annotations.Environmental;
import org.apache.tapestry5.annotations.Parameter;
import org.apache.tapestry5.dom.Element;
import org.apache.tapestry5.ioc.annotations.Inject;
import com.trsvax.facebook.ColorScheme;
import com.trsvax.facebook.Font;
import com.trsvax.facebook.LinkTarget;
import com.trsvax.facebook.environment.FacebookEnvironment;
	
	/**
	 * This specifies the context in which content links are opened. By default all links within the plugin will 
	 * open a new window. If you want the content links to open in the same window, you can set this parameter to
	 *  _top or _parent. Links to Facebook URLs will always open in a new window.
	 */
	@Parameter
	private LinkTarget linkTarget;
	
	/**
	 * a label for tracking referrals; must be less than 50 characters and can contain alphanumeric characters 
	 * and some punctuation (currently +/=-.:_). Specifying a value for the ref attribute adds the 'fb_ref' parameter
	 *  to the any links back to your site which are clicked from within the plugin. Using different values for the 
	 *  ref parameter for different positions and configurations of this plugin within your pages allows you to 
	 *  track which instances are performing the best.
	 */
	@Parameter
	private String ref;
	
	/**
	 * a limit on recommendation and creation time of articles that are surfaced in the plugins, the default is 0 
	 * (we donÕt take age into account). Otherwise the valid values are 1-180, which specifies the number of days.
	 */
	@Parameter
	private Integer maxAge;
	
	@Environmental
	private FacebookEnvironment environment;
	

// Path: src/main/java/com/trsvax/facebook/ColorScheme.java
// public enum ColorScheme {
// 
// 	LIGHT,DARK;
// }
// 
// Path: src/main/java/com/trsvax/facebook/Font.java
// public enum Font {
// 	ARIAL,LUCIDA_GRANDE,SEGOE_UI,TAHOMA,TREBUCHET_MS,VERDANA;
// }
// 
// Path: src/main/java/com/trsvax/facebook/LinkTarget.java
// public enum LinkTarget {
// 	BLANK,TOP,PARENT;
// }
// 
// Path: src/main/java/com/trsvax/facebook/environment/FacebookEnvironment.java
// public interface FacebookEnvironment {
// 
// 		public boolean isLoadJS();
// 		public void setLoadJS(boolean value);
// 		
// 		public void addInitializerCall(String script);
// 		public List<String> getInitializerCalls();
// }


// Path: src/main/java/com/trsvax/facebook/components/Activity.java
import org.apache.tapestry5.ComponentResources;
import org.apache.tapestry5.MarkupWriter;
import org.apache.tapestry5.annotations.BeginRender;
import org.apache.tapestry5.annotations.Environmental;
import org.apache.tapestry5.annotations.Parameter;
import org.apache.tapestry5.dom.Element;
import org.apache.tapestry5.ioc.annotations.Inject;
import com.trsvax.facebook.ColorScheme;
import com.trsvax.facebook.Font;
import com.trsvax.facebook.LinkTarget;
import com.trsvax.facebook.environment.FacebookEnvironment;

	
	/**
	 * This specifies the context in which content links are opened. By default all links within the plugin will 
	 * open a new window. If you want the content links to open in the same window, you can set this parameter to
	 *  _top or _parent. Links to Facebook URLs will always open in a new window.
	 */
	@Parameter
	private LinkTarget linkTarget;
	
	/**
	 * a label for tracking referrals; must be less than 50 characters and can contain alphanumeric characters 
	 * and some punctuation (currently +/=-.:_). Specifying a value for the ref attribute adds the 'fb_ref' parameter
	 *  to the any links back to your site which are clicked from within the plugin. Using different values for the 
	 *  ref parameter for different positions and configurations of this plugin within your pages allows you to 
	 *  track which instances are performing the best.
	 */
	@Parameter
	private String ref;
	
	/**
	 * a limit on recommendation and creation time of articles that are surfaced in the plugins, the default is 0 
	 * (we donÕt take age into account). Otherwise the valid values are 1-180, which specifies the number of days.
	 */
	@Parameter
	private Integer maxAge;
	
	@Environmental
	private FacebookEnvironment environment;
	

	@BeginRender