Creating a Link
To create a link:
-
In the UIX Visual Editor or Design Structure Window of the desired
file, locate the component or node in which you wish to insert a link.
-
In the Component Palette, select Simple Components
from the dropdown list, and then drag and drop the link
component from the list to the parent node.
-
In the Property Inspector, set the following attributes for the new
link:
-
text - Enter the text for the link.
-
destination - Enter the URL that this component references.
-
name - Enter a name for the component.
-
disabled - Select true to render the component as disabled.
Default is false.
-
longDesc - Enter the text for a description that is
associated with the component.
-
primaryClientAction - Enter the clientAction to fire. In
the right column, click the
icon to enter a ClientAction. See
Editing the PrimaryClientAction Attribute for details. Alternatively, use
the Advanced tab to enter an EL syntax
data binding expression or use the Bind to Data dialog to select a
data source for this complex attribute.
-
selected - Default is false. Select true to specify that
this component is selected.
-
targetFrame - Specifies the target frame for the component,
if any
-
textAndAccessKey - To set both the text and an access key,
use the ampersand ('&') notation. For example, setting this
attribute to "T&ext" will display the text as"Text" and set the
access key to 'e'.
Note: To use data binding, see
Data Binding a Component Attribute.
Example (UIX XML)
...
<link text="Client action enabled link">
<primaryClientAction>
<!-- client actions here -->
<firePartialAction event="anyEvent"
formSubmitted="true"
targets="someTargetId">
<parameters>
<parameter key="keyone" value="keyvalue1"/>
<parameter key="keytwo" value="keyvalue2"/>
</parameters>
</firePartialAction>
</primaryClientAction>
</link>
...
Related topics
About Link
About Client Actions
Working with Simple and
Miscellaneous Components
Working with Navigation Components
Copyright © 1997, 2004, Oracle.
All rights reserved.