|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.engine.DirectServiceParameter
net.sf.tacos.ajax.AjaxDirectServiceParameter
public class AjaxDirectServiceParameter
Adds additional functionality to DirectServiceParameter in
the form of being able to specify optional id's of components that
should have their contents replaced on a page.
| Field Summary | |
|---|---|
protected boolean |
processScripts
Whether or not response invoked from link should process client side javascript. |
protected boolean |
updateDirect
Whether or not to update the components directly |
protected String[] |
updateIds
List of components to update |
| Constructor Summary | |
|---|---|
AjaxDirectServiceParameter(org.apache.tapestry.IDirect direct,
Object[] parameters,
String[] updateIds)
Creates a parameter list that will cause the entire page to re-render, with only the contents of the specified IComponents
returned and updated on the client. |
|
AjaxDirectServiceParameter(org.apache.tapestry.IDirect direct,
Object[] parameters,
String[] updateIds,
boolean updateDirect)
Same as AjaxDirectServiceParameter(IDirect, Object[], String[]),
except the additional paramter updateDirect overrides the default
behaviour of having the components rendered by direct invocation, rather than
having the entire page re-rendered with only the ajax output returned to the client. |
|
AjaxDirectServiceParameter(org.apache.tapestry.IDirect direct,
Object[] parameters,
String[] updateIds,
boolean updateDirect,
boolean processScripts)
Same as others, with additional processScripts parameter controlling whether or not link invoked should process javascript on the client side on response returned. |
|
AjaxDirectServiceParameter(org.apache.tapestry.IDirect direct,
Object[] parameters,
String[] updateIds,
String[] updateBlocks)
Deprecated. Use AjaxDirectServiceParameter(org.apache.tapestry.IDirect,
Object[], String[]) - will be removed before tacos4-final |
|
AjaxDirectServiceParameter(org.apache.tapestry.IDirect direct,
Object[] parameters,
String[] updateIds,
String[] updateBlocks,
boolean updateDirect)
Deprecated. Use AjaxDirectServiceParameter(org.apache.tapestry.IDirect,
Object[], String[], boolean) )} - will be removed before tacos4-final |
|
AjaxDirectServiceParameter(org.apache.tapestry.IDirect direct,
Object[] parameters,
String[] updateIds,
String[] updateBlocks,
boolean updateDirect,
boolean processScripts)
Deprecated. Use AjaxDirectServiceParameter(org.apache.tapestry.IDirect,
Object[], String[], boolean, boolean) )} - will be removed before tacos4-final |
|
| Method Summary | |
|---|---|
String[] |
getUpdateBlocks()
Deprecated. always returns null - will be removed before tacos4-final |
String[] |
getUpdateIds()
List of component ids to update. |
boolean |
isProcessScripts()
Whether or not response invoked from this link should evaluate embedded javascript calls. |
boolean |
isUpdateDirect()
|
| Methods inherited from class org.apache.tapestry.engine.DirectServiceParameter |
|---|
getDirect, getServiceParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String[] updateIds
protected boolean updateDirect
protected boolean processScripts
| Constructor Detail |
|---|
public AjaxDirectServiceParameter(org.apache.tapestry.IDirect direct,
Object[] parameters,
String[] updateIds)
IComponents
returned and updated on the client.The components will be updated directly and the response will not process client side javascript.
direct - parameters - updateIds -
public AjaxDirectServiceParameter(org.apache.tapestry.IDirect direct,
Object[] parameters,
String[] updateIds,
boolean updateDirect)
AjaxDirectServiceParameter(IDirect, Object[], String[]),
except the additional paramter updateDirect overrides the default
behaviour of having the components rendered by direct invocation, rather than
having the entire page re-rendered with only the ajax output returned to the client.
The response will not process client side javascript.
direct - parameters - updateIds - updateDirect - If false, causes the entire page to be re-rendered. The default
is true, which causes only the specified components to be invoked directly.
public AjaxDirectServiceParameter(org.apache.tapestry.IDirect direct,
Object[] parameters,
String[] updateIds,
boolean updateDirect,
boolean processScripts)
direct - parameters - updateIds - updateDirect - processScripts -
public AjaxDirectServiceParameter(org.apache.tapestry.IDirect direct,
Object[] parameters,
String[] updateIds,
String[] updateBlocks)
AjaxDirectServiceParameter(org.apache.tapestry.IDirect,
Object[], String[]) - will be removed before tacos4-final
public AjaxDirectServiceParameter(org.apache.tapestry.IDirect direct,
Object[] parameters,
String[] updateIds,
String[] updateBlocks,
boolean updateDirect)
AjaxDirectServiceParameter(org.apache.tapestry.IDirect,
Object[], String[], boolean) )} - will be removed before tacos4-final
public AjaxDirectServiceParameter(org.apache.tapestry.IDirect direct,
Object[] parameters,
String[] updateIds,
String[] updateBlocks,
boolean updateDirect,
boolean processScripts)
AjaxDirectServiceParameter(org.apache.tapestry.IDirect,
Object[], String[], boolean, boolean) )} - will be removed before tacos4-final
| Method Detail |
|---|
public String[] getUpdateIds()
public String[] getUpdateBlocks()
public boolean isUpdateDirect()
public boolean isProcessScripts()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||