package de.dass_it.vanhelsing.gui;

import javax.faces.context.FacesContext;


//import org.apache.log4j.Logger;

/*
 * Helper class to encapsulate common bean methods.
 * Managed beans will extend this class either directly or 
 * via a data structure helper class like TreeNavigation
 */
public class BeanUtil {
	//Logging
    
	//protected final Logger logger = Logger.getLogger(this.getClass());
    
	//Messagebundles
    
	//Linkout to Bacula documentation
	//ListItemsConfigView
	//ListItemsTopologyView
	//ListItemsJobSchedule
	
	//GetParameterFromContext
	public static String getRequestParameter(String name){
		return (String) FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(name);
	}
}
