|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.jee.FacesConfigIf
public class FacesConfigIf
The "if" element defines a condition that must resolve to true in order for the navigation case on which it is defined to be matched, with the existing match criteria (action method and outcome) as a prerequiste, if present. The condition is defined declaratively using a value expression in the body of this element. The expression is evaluated at the time the navigation case is being matched. If the "from-outcome" is omitted and this element is present, the navigation handler will match a null outcome and use the condition return value to determine if the case should be considered a match.
When used in a <switch> within a flow, if the
expresion returns true, the
<from-outcome> sibling element's outcome is used as
the id of the node in the flow graph to which control must be
passed.
Java class for faces-config-ifType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-ifType">
<simpleContent>
<extension base="<http://xmlns.jcp.org/xml/ns/javaee>faces-config-el-expressionType">
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</extension>
</simpleContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
id
|
protected String |
value
|
| Constructor Summary | |
|---|---|
FacesConfigIf()
|
|
| Method Summary | |
|---|---|
String |
getId()
Gets the value of the id property. |
String |
getValue()
EL expressions present within a faces config file must start with the character sequence of '#{' and end with '}'. |
void |
setId(String value)
Sets the value of the id property. |
void |
setValue(String value)
Sets the value of the value property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String value
protected String id
| Constructor Detail |
|---|
public FacesConfigIf()
| Method Detail |
|---|
public String getValue()
EL expressions present within a faces config file must start with the character sequence of '#{' and end with '}'.
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic String getId()
Stringpublic void setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||