| |
|
| java.lang.Object com.icesoft.faces.webapp.parser.ImplementationUtil
ImplementationUtil | public class ImplementationUtil (Code) | | For ICEfaces to support JSF-RI, MyFaces, or any other future JSF
implementations, it may require some logic specific to the implementation.
Obviously this is not a good thing but it may be unavoidable if we need to
access something under the hood that isn't available through public API
calls. This class is available to encapsulate implementation specific
anomalies.
|
Field Summary | |
protected static Log | log Logging instance for this class. |
Method Summary | |
public static List | getComponentStack(PageContext pageContext) | public static String | getComponentStackKey() Returns the key used to get the component stack from the PageContext. | public static boolean | isJSF12() | public static boolean | isMyFaces() Identifies if the JSF implementation we are running in is Apache's
MyFaces implementation. | public static boolean | isRI() Identifies if the JSF implementation we are running in is Sun's JSF
reference implemenation (RI). |
log | protected static Log log(Code) | | Logging instance for this class.
|
getComponentStack | public static List getComponentStack(PageContext pageContext)(Code) | | Returns the component tag stack, including checking in the current
request as is the strategy of JSF 1.1_02
Parameters: pageContext - list being the component tag stack |
getComponentStackKey | public static String getComponentStackKey()(Code) | | Returns the key used to get the component stack from the PageContext. The
key is a private member of UIComponentTag class but differs between the
known JSF implementations. We detect the correct implementation in this
class and provide the proper key.
String |
isJSF12 | public static boolean isJSF12()(Code) | | Identifies if the JSF implementation we are running in is JSF 1.2
true if the JSF implementation is JSF 1.2 |
isMyFaces | public static boolean isMyFaces()(Code) | | Identifies if the JSF implementation we are running in is Apache's
MyFaces implementation.
true if the JSF implementation is Apache MyFaces. |
isRI | public static boolean isRI()(Code) | | Identifies if the JSF implementation we are running in is Sun's JSF
reference implemenation (RI).
true if the JSF implementation is Sun's JSF referenceimplemenation |
|
|
|