|
UIX 2.2.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.expl.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)
Concatenates two strings. |
static java.lang.Object |
cond(boolean test,
java.lang.Object ifTrue,
java.lang.Object ifFalse)
Performs a test. |
static java.lang.Object |
defaulting(java.lang.Object arg1,
java.lang.Object arg2)
Returns arg1 unless it is null, in which case returns arg2. |
static java.lang.String |
encodeParameter(UIImplicitObject uix,
java.lang.String parameterName)
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)
Inserts the soft hyphen character. |
static java.lang.Object |
imageIcon(UIImplicitObject uix,
java.lang.String namespace,
java.lang.String name)
Gets the LookAndFeel image Icon for the specified namespace/name. |
static int |
tableSelectedIndex(UIImplicitObject uix,
java.lang.String tableName)
Gets the selected index from a singleSelection table. |
static int[] |
tableSelection(UIImplicitObject uix,
java.lang.String tableName)
Gets the selected indices from a multipleSelection table. |
static java.lang.String |
transformId(UIImplicitObject uix,
java.lang.String text)
Returns a transformed version of text; used most commonly for transforming IDs within a table. |
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.String transformId(UIImplicitObject uix, java.lang.String text)
id="${ui:transformId(uix, 'anId')}"
uix
- the current set of implicit objectstext
- the ID to transform.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 int tableSelectedIndex(UIImplicitObject uix, java.lang.String tableName) throws ExplException
<set target="${sessionScope}" property="selectedIndex" value="${ui:tableSelectedIndex(uix, 'CustomerView')}" />
tableName
- the name of the table to get the selected index from.public static int[] tableSelection(UIImplicitObject uix, java.lang.String tableName) throws ExplException
<set target="${sessionScope}" property="selection" value="${ui:tableSelection(uix, 'CustomerView')}" />
tableName
- the name of the table to get the selected index from.public static java.lang.Object imageIcon(UIImplicitObject uix, java.lang.String namespace, 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.
|
UIX 2.2.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |