|
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.action.ClientAction
|
+--oracle.cabo.ui.action.FireAction
|
+--oracle.cabo.ui.action.FirePartialAction
An implementation of FireAction which supports Partial Page Rendering.
| Fields inherited from class oracle.cabo.ui.action.FireAction |
FULL_END_SCRIPT, FULL_START_SCRIPT |
| Constructor Summary | |
FirePartialAction()
Creates a FirePartialAction with the no partial targets which will fire an update event by submiting the enclosing form. |
|
FirePartialAction(java.lang.String event)
Creates a FirePartialAction with the specified partial targets which will submit the enclosing form. |
|
FirePartialAction(java.lang.String[] targets)
Creates a FirePartialAction with the specified partial targets which will submit the enclosing form. |
|
FirePartialAction(java.lang.String event,
boolean submit)
Creates a FirePartialAction with the specified partial targets and event name which will submit the enclosing form. |
|
FirePartialAction(java.lang.String event,
boolean submit,
java.lang.String[] targets)
Creates a FirePartialAction with the specified partial targets and event name. |
|
FirePartialAction(java.lang.String event,
boolean submit,
java.lang.String[] targets,
java.lang.String triggerText)
Creates a FirePartialAction with the specified partial targets and event name. |
|
| Method Summary | |
protected java.lang.String |
getChangeScript(RenderingContext context,
UINode node,
java.lang.String returnScript)
|
Parameter[] |
getParameters(RenderingContext context,
UINode node)
Returns an array of all parameters to this ClientAction. |
protected java.lang.String |
getSubmitScript(RenderingContext context,
UINode node,
java.lang.String returnScript)
Implementation of FireAction.getSubmitScript(). |
java.lang.String[] |
getTargets()
Returns the set of partial targets that are updated when this ClientAction is activated. |
java.lang.String |
getTriggerText()
Returns the set of partial targets that are updated when this ClientAction is activated. |
boolean |
isTriggerRequired(RenderingContext context,
UINode node)
Override of ClientAction.isTriggerRequired() |
boolean |
renderAsEvent(RenderingContext context,
UINode node)
Override of FireAction.renderAsEvent(). |
void |
renderTrigger(RenderingContext context,
UINode node)
Override of ClientAction.renderTrigger(). |
void |
renderTrigger(RenderingContext context,
UINode node,
java.lang.Object text,
java.lang.Object accessKey)
Override of ClientAction.renderTrigger(). |
void |
setTargets(java.lang.String[] partialTargets)
Sets the partial targets to update. |
void |
setTargetsBinding(BoundValue partialTargetsBinding)
Sets a BoundValue that will dynamically evaluate the partial targets. |
void |
setTriggerText(java.lang.String triggerText)
Sets the text that will be rendered on the ClientAction button or link if the target browser does not support partial page rendering, and a button or link has to be rendered to trigger the action. |
void |
setTriggerTextBinding(BoundValue triggerTextBinding)
Sets a BoundValue that will dynamically evaluate the partial targets. |
void |
writeDependencies(RenderingContext context,
UINode node)
Override of ClientAction.writeDependencies(). |
| Methods inherited from class oracle.cabo.ui.action.ClientAction |
renderTrigger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FirePartialAction()
public FirePartialAction(java.lang.String event)
event - The name of the event that should be sent when
the FirePartialAction is activated. If
null, the event name defaults to "update".public FirePartialAction(java.lang.String[] targets)
targets - The IDs of the partial target nodes to update in
response to the event generated by this action.
public FirePartialAction(java.lang.String event,
boolean submit)
event - The name of the event that should be sent when
the FirePartialAction is activated. If
null, the event name defaults to "update".submit - Whether or not a form submit will be used to fire the event
public FirePartialAction(java.lang.String event,
boolean submit,
java.lang.String[] targets)
event - The name of the event that should be sent when
the FirePartialAction is activated. If
null, the event name defaults to "update".submit - Whether or not a form submit will be used to fire the eventtargets - The IDs of the partial target nodes to update in
response to the event generated by this action.
public FirePartialAction(java.lang.String event,
boolean submit,
java.lang.String[] targets,
java.lang.String triggerText)
event - The name of the event that should be sent when
the FirePartialAction is activated. If
null, the event name defaults to "update".submit - Whether or not a form submit will be used to fire the eventtargets - The IDs of the partial target nodes to update in
response to the event generated by this action.triggerText - The text that will be rendered on the ClientAction
button or link if the target browser does not support
partial page rendering, and a button or link has to be
rendered to trigger the action.| Method Detail |
protected java.lang.String getSubmitScript(RenderingContext context,
UINode node,
java.lang.String returnScript)
getSubmitScript in class FireAction
protected java.lang.String getChangeScript(RenderingContext context,
UINode node,
java.lang.String returnScript)
getChangeScript in class FireActionpublic final java.lang.String[] getTargets()
public final java.lang.String getTriggerText()
public boolean renderAsEvent(RenderingContext context,
UINode node)
renderAsEvent in class FireActionoracle.cabo.ui.action.ClientActioncontext - The current RenderingContext.node - The target UINode.getParameters()public final void setTargets(java.lang.String[] partialTargets)
public void setTargetsBinding(BoundValue partialTargetsBinding)
public final void setTriggerText(java.lang.String triggerText)
public void setTriggerTextBinding(BoundValue triggerTextBinding)
public void writeDependencies(RenderingContext context,
UINode node)
throws java.io.IOException
writeDependencies in class FireActionoracle.cabo.ui.action.ClientActioncontext - The current RenderingContext.node - The target UINode.
public boolean isTriggerRequired(RenderingContext context,
UINode node)
isTriggerRequired in class ClientActionoracle.cabo.ui.action.ClientActioncontext - The current RenderingContext.node - The target UINode.renderTrigger()
public void renderTrigger(RenderingContext context,
UINode node)
throws java.io.IOException
renderTrigger in class ClientActionoracle.cabo.ui.action.ClientActioncontext - The current RenderingContext.node - The target UINode.isTriggerRequired()
public void renderTrigger(RenderingContext context,
UINode node,
java.lang.Object text,
java.lang.Object accessKey)
throws java.io.IOException
public Parameter[] getParameters(RenderingContext context,
UINode node)
ClientActiongetParameters in class FireActionoracle.cabo.ui.action.ClientActioncontext - The current RenderingContext.node - The target UINode.
|
UIX 2.2.16 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||