|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.expl.UIFunctions
@Deprecated public final class UIFunctions
Implements some of the EL functions in the { @link UIConstants#MARLIN_NAMESPACE }. In the examples in this javaDoc assume that the prefix 'ui' is bound to { @link UIConstants#MARLIN_NAMESPACE }.
| Method Summary | |
|---|---|
static java.lang.String |
concat(java.lang.String str1,
java.lang.String str2)
Deprecated. Concatenates two strings. |
static java.lang.Object |
cond(boolean test,
java.lang.Object ifTrue,
java.lang.Object ifFalse)
Deprecated. Performs a test. |
static java.lang.Object |
defaulting(java.lang.Object arg1,
java.lang.Object arg2)
Deprecated. Returns arg1 unless it is null, in which case returns arg2. |
static java.lang.String |
encodeParameter(UIImplicitObject uix,
java.lang.String parameterName)
Deprecated. Given the logical name of a parameter, return the parameter key that should be used in the URL. |
static java.lang.String |
hyphenate(UIImplicitObject uix,
java.lang.String text,
java.lang.String breakChars)
Deprecated. Inserts the soft hyphen character. |
static java.lang.Object |
imageIcon(UIImplicitObject uix,
java.lang.String name)
Deprecated. Gets the Skin image Icon for the specified namespace/name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String encodeParameter(UIImplicitObject uix,
java.lang.String parameterName)
<formValue name="${ui:encodeParameter(uix,'event')}"
value="viewSource"/>
URLEncoder.encodeParameter(java.lang.String)
public static java.lang.Object defaulting(java.lang.Object arg1,
java.lang.Object arg2)
${ui:defaulting(null,'The default')}
public static java.lang.Object cond(boolean test,
java.lang.Object ifTrue,
java.lang.Object ifFalse)
test - the condition to testifTrue - the object to return if the test is trueifFalse - the object to return if the test is false
${ui:cond(blockSize > 100, 'Too Many Records', 'Detailed List')}
public static java.lang.String hyphenate(UIImplicitObject uix,
java.lang.String text,
java.lang.String breakChars)
${ui:hyphenate(uix, '/src/oracle/cabo/ui/laf/oracle/desktop/table','/')}
text - the soft hyphen character, ­ , is inserted into this
string.breakChars - ­ is inserted after each occurence of any of
the characters in this string.
public static java.lang.String concat(java.lang.String str1,
java.lang.String str2)
${ui:concat('Julius','Caesar')}
public static java.lang.Object imageIcon(UIImplicitObject uix,
java.lang.String name)
The object that is returned returned provides access to three values:
uix - The UIX implicit objectnamespace - The namespace of the Image to retrievename - The name of the icon to retrieve.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||