source: vanHelsing/branches/guitechdemo/src/de/dass_it/vanhelsing/gui/BeanUtil.java@ 1122

Last change on this file since 1122 was 848, checked in by tobias, on Mar 22, 2010 at 5:12:11 PM

table output added

File size: 734 bytes
Line 
1package de.dass_it.vanhelsing.gui;
2
3import javax.faces.context.FacesContext;
4
5
6//import org.apache.log4j.Logger;
7
8/*
9 * Helper class to encapsulate common bean methods.
10 * Managed beans will extend this class either directly or
11 * via a data structure helper class like TreeNavigation
12 */
13public class BeanUtil {
14 //Logging
15
16 //protected final Logger logger = Logger.getLogger(this.getClass());
17
18 //Messagebundles
19
20 //Linkout to Bacula documentation
21 //ListItemsConfigView
22 //ListItemsTopologyView
23 //ListItemsJobSchedule
24
25 //GetParameterFromContext
26 public static String getRequestParameter(String name){
27 return (String) FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(name);
28 }
29}
Note: See TracBrowser for help on using the repository browser.