To edit the primaryClientAction attribute for a client action enabled component:
The PrimaryClientAction dialog displays.
event
- Enter the name of the event to generate in the
Action Event field. Default is update.
formSubmitted
- Select the Fire
action by submitting Form checkbox to use form submission to
fire the event.
unvalidated
-Select the Don't
validate page before firing checkbox to disable client side
validation when the action is invoked. Note that the formSubmitted
attribute takes precedence over this attribute.
parameters
- In the Action
Parameters section, enter any arbitrary parameter you wish to
send with the form in a partial page update event. For each event
parameter that you add, you must also set a formValue element. See
Inserting a FormValue.
targets
- (For
firePartialAction only). Select the Fire
Partial Targets checkbox to specify the components (partial
targets) to update. In the Component to Update
area, select the partial targets for updating. Only those components whose ID
is set will appear in this area.
triggerText
- (For
firePartialAction only). In the Trigger Text
field, enter the text to render in the trigger button or link when
partial page rendering is not supported on the target browser. If no
text is specified, then a localized version of the 'Go' button will
be rendered.
source
- (For fireAction
only). Enter the name to send as the source parameter when the event is
delivered. If this attribute is not set, the ID of the component to
which the action is attached will be sent. If the ID is not set, the
value of the name attribute of the parent component will be sent.
Note: To use data binding, see also Data Binding a Component Attribute.
...
<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>
...
About Client Actions
About Partial Page Rendering
Copyright © 1997, 2004, Oracle. All rights reserved.