|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.primefaces.context.RequestContext
org.primefaces.context.DefaultRequestContext
public class DefaultRequestContext
| Constructor Summary | |
|---|---|
DefaultRequestContext()
|
|
| Method Summary | |
|---|---|
void |
addCallbackParam(String name,
Object value)
Add a parameter for ajax oncomplete client side callbacks. |
void |
execute(String script)
Execute a javascript after current ajax request is completed. |
Map<String,Object> |
getCallbackParams()
|
List<String> |
getScriptsToExecute()
|
WidgetBuilder |
getWidgetBuilder()
|
boolean |
isAjaxRequest()
|
void |
reset(Collection<String> ids)
Reset a collection of editableValueHolders. |
void |
reset(String id)
Reset an editableValueHolder. |
void |
scrollTo(String clientId)
Scroll to a component after ajax request is completed. |
void |
update(Collection<String> collection)
Update components with ajax. |
void |
update(String clientId)
Update a component with ajax. |
| Methods inherited from class org.primefaces.context.RequestContext |
|---|
getCurrentInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRequestContext()
| Method Detail |
|---|
public boolean isAjaxRequest()
isAjaxRequest in class RequestContext
public void addCallbackParam(String name,
Object value)
RequestContext
addCallbackParam in class RequestContextname - name of the parameter.public void execute(String script)
RequestContext
execute in class RequestContextscript - Javascript statement to execute.public Map<String,Object> getCallbackParams()
getCallbackParams in class RequestContextpublic List<String> getScriptsToExecute()
getScriptsToExecute in class RequestContextpublic WidgetBuilder getWidgetBuilder()
getWidgetBuilder in class RequestContextpublic void scrollTo(String clientId)
RequestContext
scrollTo in class RequestContextclientId - Client side identifier of the component.public void update(String clientId)
RequestContext
update in class RequestContextclientId - Client side identifier of the component.public void update(Collection<String> collection)
RequestContext
update in class RequestContextcollection - Client side identifiers of the components.public void reset(Collection<String> ids)
RequestContext
reset in class RequestContextids - Client side identifiers of the components.public void reset(String id)
RequestContext
reset in class RequestContextid - Client side identifier of the component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||