Line | |
---|
1 | package de.dass_it.vanhelsing.gui;
|
---|
2 |
|
---|
3 | import 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 | */
|
---|
13 | public 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.