|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.action.ClientAction
org.apache.myfaces.trinidadinternal.ui.action.FireAction
org.apache.myfaces.trinidadinternal.ui.action.FirePartialAction
@Deprecated public class FirePartialAction
An implementation of FireAction which supports Partial Page Rendering.
| Field Summary |
|---|
| Fields inherited from class org.apache.myfaces.trinidadinternal.ui.action.FireAction |
|---|
_BLOCK_SCRIPT, _SUBMIT_START, FULL_END_SCRIPT, FULL_START_SCRIPT |
| Constructor Summary | |
|---|---|
FirePartialAction()
Deprecated. Creates a FirePartialAction with the no partial targets which will fire an update event by submiting the enclosing form. |
|
FirePartialAction(java.lang.String event)
Deprecated. Creates a FirePartialAction with the specified partial targets which will submit the enclosing form. |
|
FirePartialAction(java.lang.String[] targets)
Deprecated. Creates a FirePartialAction with the specified partial targets which will submit the enclosing form. |
|
FirePartialAction(java.lang.String event,
boolean submit)
Deprecated. 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)
Deprecated. 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)
Deprecated. Creates a FirePartialAction with the specified partial targets and event name. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getChangeScript(UIXRenderingContext context,
UINode node,
java.lang.String returnScript)
Deprecated. |
Parameter[] |
getParameters(UIXRenderingContext context,
UINode node)
Deprecated. Returns an array of all parameters to this ClientAction. |
protected java.lang.String |
getSubmitScript(UIXRenderingContext context,
UINode node,
java.lang.String returnScript)
Deprecated. Implementation of FireAction.getSubmitScript(). |
java.lang.String[] |
getTargets()
Deprecated. Returns the set of partial targets that are updated when this ClientAction is activated. |
java.lang.String |
getTriggerText()
Deprecated. Returns the set of partial targets that are updated when this ClientAction is activated. |
boolean |
isTriggerRequired(UIXRenderingContext context,
UINode node)
Deprecated. Override of ClientAction.isTriggerRequired() |
boolean |
renderAsEvent(UIXRenderingContext context,
UINode node)
Deprecated. Override of FireAction.renderAsEvent(). |
void |
renderTrigger(UIXRenderingContext context,
UINode node)
Deprecated. Override of ClientAction.renderTrigger(). |
void |
renderTrigger(UIXRenderingContext context,
UINode node,
java.lang.Object text,
java.lang.Object accessKey)
Deprecated. Override of ClientAction.renderTrigger(). |
void |
setTargets(java.lang.String[] partialTargets)
Deprecated. Sets the partial targets to update. |
void |
setTargetsBinding(BoundValue partialTargetsBinding)
Deprecated. Sets a BoundValue that will dynamically evaluate the partial targets. |
void |
setTriggerText(java.lang.String triggerText)
Deprecated. 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 |
writeDependencies(UIXRenderingContext context,
UINode node)
Deprecated. Override of ClientAction.writeDependencies(). |
| Methods inherited from class org.apache.myfaces.trinidadinternal.ui.action.FireAction |
|---|
appendClientParameters, appendJSParameter, appendURLParameter, getBufferSize, getChangeScript, getClientParametersSize, getDestination, getEvent, getEventValue, getFormName, getParameters, getScript, getSource, getSource, getSourceKey, isFormSubmitted, isUnvalidated, isUnvalidated, setBlocking, setEvent, setEventBinding, setFormName, setFormNameBinding, setFormSubmitted, setParameters, setSource, setSourceBinding, setUnvalidated, setUnvalidatedBinding |
| Methods inherited from class org.apache.myfaces.trinidadinternal.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(UIXRenderingContext context,
UINode node,
java.lang.String returnScript)
getSubmitScript in class FireAction
protected java.lang.String getChangeScript(UIXRenderingContext 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(UIXRenderingContext context,
UINode node)
renderAsEvent in class FireActioncontext - 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 writeDependencies(UIXRenderingContext context,
UINode node)
throws java.io.IOException
writeDependencies in class FireActioncontext - The current RenderingContext.node - The target UINode.
java.io.IOException
public boolean isTriggerRequired(UIXRenderingContext context,
UINode node)
isTriggerRequired in class ClientActioncontext - The current RenderingContext.node - The target UINode.renderTrigger()
public void renderTrigger(UIXRenderingContext context,
UINode node)
throws java.io.IOException
renderTrigger in class ClientActioncontext - The current RenderingContext.node - The target UINode.
java.io.IOExceptionisTriggerRequired()
public void renderTrigger(UIXRenderingContext context,
UINode node,
java.lang.Object text,
java.lang.Object accessKey)
throws java.io.IOException
java.io.IOException
public Parameter[] getParameters(UIXRenderingContext context,
UINode node)
ClientAction
getParameters in class FireActioncontext - The current RenderingContext.node - The target UINode.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||