|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--FacesRequest
Defined in xulfaces-bridge.js
Version: $Id: xulfaces-bridge.js,v 1.27 2007/07/17 20:22:32 kito31 Exp $
Author: kito31
Field Summary | |
Object |
parms
Contains the request parameters |
Object |
parmsIndex
Current param index |
Object |
server
Set the server URL that receives request |
Constructor Summary | |
FacesRequest
(serverUrl)
Defines a JSF Ajax Request. |
Method Summary | |
void
|
add(name,value)
Add a Param object to parms array with name and value. |
void
|
reset()
Reset the parms array and parmsIndex. |
Object
|
send(sendParams)
Send the request to the server. The params array is sent to server if sendParams is true. |
Object
|
sendAsynchronously(sendParams)
Send the request to the server in asynchronous mode (processHttpRequest method is called when ready, onRequestProgress in progress). The params array is sent to server if sendParams is true. |
void
|
setURL(url)
Change the server URL. |
Field Detail |
Object parms
Object parmsIndex
Object server
Constructor Detail |
FacesRequest(serverUrl)
Defines a JSF Ajax Request.
Method Detail |
void add(name,value)
Add a Param object to parms array with name and value.
name
- The parameter name (String)
value
- The parameter value (Object)
void reset()
Reset the parms array and parmsIndex.
Object send(sendParams)
Send the request to the server.
The params array is sent to server if sendParams is true.
sendParams
- Send or not the parameters ? (Boolean)
Object sendAsynchronously(sendParams)
Send the request to the server in asynchronous mode (processHttpRequest method is called when ready, onRequestProgress in progress).
The params array is sent to server if sendParams is true.
sendParams
- Send or not the parameters ? (Boolean)
void setURL(url)
Change the server URL.
url
- The URL (String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |