메소드 | 설명 | |
---|---|---|
AutoCompleteInputText ( String elementId, String url, IDictionary options ) : String |
Generates an javascript block enabling auto completion for the specified input text id ( it is assumed that the url invoked returns an unordered list. |
|
BuildFormRemoteTag ( IDictionary options ) : String |
Returns a form tag that will submit using XMLHttpRequest in the background instead of the regular reloading POST arrangement. Even though it is using Javascript to serialize the form elements, the form submission will work just like a regular submission as viewed by the receiving side (all elements available).
|
|
BuildFormRemoteTag ( String url, IDictionary options ) : String |
Returns a form tag that will submit using XMLHttpRequest in the background instead of the regular reloading POST arrangement. Even though it is using Javascript to serialize the form elements, the form submission will work just like a regular submission as viewed by the receiving side (all elements available).
|
|
BuildRemoteFunction ( String url, IDictionary options ) : String |
Returns a function that makes a remote invocation, using the supplied parameters
|
|
ButtonToFunction ( String innerContent, String functionCodeOrName ) : String |
Returns a button that will trigger a javascript function using the onclick handler and return false after the fact.
|
|
ButtonToFunction ( String innerContent, String functionCodeOrName, IDictionary attributes ) : String |
Returns a button that will trigger a javascript function using the onclick handler and return false after the fact.
|
|
ButtonToRemote ( String innerContent, String url, IDictionary options ) : String |
Creates a button that if clicked will fire an Ajax invocation.
|
|
ButtonToRemote ( String innerContent, String url, IDictionary options, IDictionary htmloptions ) : String |
Creates a button that if clicked will fire an Ajax invocation.
|
|
GenerateJSProxy ( string proxyName ) : String |
Generates an AJAX JavaScript proxy for the current controller.
|
|
GenerateJSProxy ( string proxyName, string controller ) : String |
Generates an AJAX JavaScript proxy for a given controller.
|
|
GenerateJSProxy ( string proxyName, string area, string controller ) : String |
Generates an AJAX JavaScript proxy for a given controller.
|
|
GetOptions ( String url, IDictionary options ) : IDictionary |
Gets the options.
|
|
GetOptions ( String url, String idOfElementToBeUpdated, object with, String loading, String loaded, String complete, String interactive ) : IDictionary |
Gets the options.
|
|
InputTextWithAutoCompletion ( IDictionary options, IDictionary tagAttributes ) : String |
Rendes a input field with Google style autocomplete enabled. The specified The following entries must exist in the options:
it is assumed that the url invoked returns an unordered list. |
|
InputTextWithAutoCompletion ( String inputName, String url, IDictionary tagAttributes, IDictionary completionOptions ) : String |
Rendes a input field with Google style autocomplete enabled. The specified url is used to gather the contents for the auto complete panel, so and your action should return filtered and sorted results. AutoCompleteInputText it is assumed that the url invoked returns an unordered list. |
|
InstallScripts ( ) : String |
Renders a Javascript library inside a single script tag.
|
|
LinkToFunction ( String innerContent, String functionCodeOrName ) : String |
Returns a link that will trigger a javascript function using the onclick handler and return false after the fact.
|
|
LinkToFunction ( String innerContent, String functionCodeOrName, IDictionary attributes ) : String |
Returns a link that will trigger a javascript function using the onclick handler and return false after the fact.
|
|
LinkToFunction ( String innerContent, String functionCodeOrName, String confirm ) : String |
Returns a link that will trigger a javascript function using the onclick handler and return false after the fact.
|
|
LinkToFunction ( String innerContent, String functionCodeOrName, string confirm, IDictionary attributes ) : String |
Returns a link that will trigger a javascript function using the onclick handler and return false after the fact.
|
|
LinkToRemote ( String innerContent, String url, IDictionary options ) : String |
Returns a link to a remote action defined by
|
|
LinkToRemote ( String innerContent, String url, IDictionary options, IDictionary htmloptions ) : String |
Returns a link to a remote action defined by
|
|
LinkToRemote ( String innerContent, String confirm, String url, IDictionary options ) : String |
Returns a link to a remote action defined by
|
|
ObserveField ( IDictionary options ) : String |
Observes the field with the DOM ID specified by The following entries must exist in the dictionary:
The following are optional entries:
|
|
ObserveField ( String fieldId, int frequency, String url, IDictionary options ) : String |
Observes the field with the DOM ID specified by
|
|
ObserveField ( String fieldId, int frequency, String url, String idOfElementToBeUpdated, String with ) : String |
Observes the field with the DOM ID specified by
|
|
ObserveForm ( IDictionary options ) : String |
Observes all elements within a form with the DOM ID specified by The following entries must exist in the dictionary:
The following are optional entries:
|
|
ObserveForm ( String formId, IDictionary options ) : String |
Like ObserveField(IDictionary), but operates on an entire form identified by the DOM ID
|
|
ObserveForm ( String formId, int frequency, String url, String idOfElementToBeUpdated, object with ) : String |
Like ObserveField(IDictionary), but operates on an entire form identified by the DOM ID
|
|
PeriodicallyCallRemote ( IDictionary options ) : String |
Periodically invokes the specified
|
|
PeriodicallyCallRemote ( String url, IDictionary options ) : String |
Periodically invokes the specified
|
|
RemoteFunction ( IDictionary options ) : String |
Returns a function that makes a remote invocation, using the supplied parameters
|
|
Service ( IServiceProvider provider ) : void |
Invoked by the framework in order to give a chance to obtain other services
|
메소드 | 설명 | |
---|---|---|
BuildAjaxOptions ( IDictionary jsOptions, IDictionary options ) : String |
Populates the jsOptions by analyzing the options set on the helper options The following options are analyzed |
|
BuildCallbackFunction ( CallbackEnum callback, String code, String &name ) : String |
Builds the callback function.
|
|
BuildObserver ( String clazz, String name, IDictionary options ) : String |
Builds the observer.
|
메소드 | 설명 | |
---|---|---|
BuildCallbacks ( IDictionary jsOptions, IDictionary options ) : void | ||
GetJavascriptFunctions ( ) : String | ||
GetUrlOption ( IDictionary options ) : String | ||
ProcessWith ( object with ) : string |
public AutoCompleteInputText ( String elementId, String url, IDictionary options ) : String | ||
elementId | String | The element id (input type=text) |
url | String | The url to be invoked returning results |
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
protected BuildAjaxOptions ( IDictionary jsOptions, IDictionary options ) : String | ||
jsOptions | IDictionary | Options that will be used on the js side |
options | IDictionary | Options passed to the helper method |
리턴 | String |
protected BuildCallbackFunction ( CallbackEnum callback, String code, String &name ) : String | ||
callback | CallbackEnum | The callback. |
code | String | The code. |
name | String | The name. |
리턴 | String |
public BuildFormRemoteTag ( IDictionary options ) : String | ||
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
public BuildFormRemoteTag ( String url, IDictionary options ) : String | ||
url | String | Target url |
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
protected BuildObserver ( String clazz, String name, IDictionary options ) : String | ||
clazz | String | The clazz. |
name | String | The name. |
options | IDictionary | The options. |
리턴 | String |
public BuildRemoteFunction ( String url, IDictionary options ) : String | ||
url | String | Target url |
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
public ButtonToFunction ( String innerContent, String functionCodeOrName ) : String | ||
innerContent | String | Button legend |
functionCodeOrName | String | Function definition or name |
리턴 | String |
public ButtonToFunction ( String innerContent, String functionCodeOrName, IDictionary attributes ) : String | ||
innerContent | String | Button legend |
functionCodeOrName | String | Function definition or name |
attributes | IDictionary | Attributes to be applied to the input html element |
리턴 | String |
public ButtonToRemote ( String innerContent, String url, IDictionary options ) : String | ||
innerContent | String | Button legend |
url | String | The URL of the Ajax action |
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
public ButtonToRemote ( String innerContent, String url, IDictionary options, IDictionary htmloptions ) : String | ||
innerContent | String | Button legend |
url | String | the target url |
options | IDictionary | the options for the Ajax invocation |
htmloptions | IDictionary | Attributes to be applied to the html element |
리턴 | String |
public GenerateJSProxy ( string proxyName ) : String | ||
proxyName | string | Name of the javascript proxy object |
리턴 | String |
public GenerateJSProxy ( string proxyName, string controller ) : String | ||
proxyName | string | Name of the javascript proxy object |
controller | string | Controller which will be target of the proxy |
리턴 | String |
public GenerateJSProxy ( string proxyName, string area, string controller ) : String | ||
proxyName | string | Name of the javascript proxy object |
area | string | area which the controller belongs to |
controller | string | Controller which will be target of the proxy |
리턴 | String |
public GetOptions ( String url, IDictionary options ) : IDictionary | ||
url | String | The URL. |
options | IDictionary | The options. |
리턴 | IDictionary |
public GetOptions ( String url, String idOfElementToBeUpdated, object with, String loading, String loaded, String complete, String interactive ) : IDictionary | ||
url | String | The URL. |
idOfElementToBeUpdated | String | The id of element to be updated. |
with | object | The with. |
loading | String | The loading. |
loaded | String | The loaded. |
complete | String | The complete. |
interactive | String | The interactive. |
리턴 | IDictionary |
public InputTextWithAutoCompletion ( IDictionary options, IDictionary tagAttributes ) : String | ||
options | IDictionary | the options for the Ajax invocation |
tagAttributes | IDictionary | attributes for the input html element |
리턴 | String |
public InputTextWithAutoCompletion ( String inputName, String url, IDictionary tagAttributes, IDictionary completionOptions ) : String | ||
inputName | String | input element id |
url | String | url used to gather results |
tagAttributes | IDictionary | attributes for the input element |
completionOptions | IDictionary | options for the autocomplete |
리턴 | String |
public LinkToFunction ( String innerContent, String functionCodeOrName ) : String | ||
innerContent | String | Link content |
functionCodeOrName | String | Function definition |
리턴 | String |
public LinkToFunction ( String innerContent, String functionCodeOrName, IDictionary attributes ) : String | ||
innerContent | String | Link content |
functionCodeOrName | String | Function definition |
attributes | IDictionary | Attributes to be applied to the html element |
리턴 | String |
public LinkToFunction ( String innerContent, String functionCodeOrName, String confirm ) : String | ||
innerContent | String | Link content |
functionCodeOrName | String | Function definition |
confirm | String | Confirm question |
리턴 | String |
public LinkToFunction ( String innerContent, String functionCodeOrName, string confirm, IDictionary attributes ) : String | ||
innerContent | String | Link content |
functionCodeOrName | String | Function definition |
confirm | string | Confirm question |
attributes | IDictionary | Attributes to be applied to the html element |
리턴 | String |
public LinkToRemote ( String innerContent, String url, IDictionary options ) : String | ||
innerContent | String | Link content |
url | String | Target url |
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
public LinkToRemote ( String innerContent, String url, IDictionary options, IDictionary htmloptions ) : String | ||
innerContent | String | Link content |
url | String | Target url |
options | IDictionary | the options for the Ajax invocation |
htmloptions | IDictionary | Attributes to be applied to the html element |
리턴 | String |
public LinkToRemote ( String innerContent, String confirm, String url, IDictionary options ) : String | ||
innerContent | String | Link content |
confirm | String | the confirm question |
url | String | Target url |
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
public ObserveField ( IDictionary options ) : String | ||
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
public ObserveField ( String fieldId, int frequency, String url, IDictionary options ) : String | ||
fieldId | String | Form field to be observed |
frequency | int | The frequency (in seconds) at which changes to /// this field will be detected. (required) |
url | String | url for the action to call /// when the field has changed (required) |
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
public ObserveField ( String fieldId, int frequency, String url, String idOfElementToBeUpdated, String with ) : String | ||
fieldId | String | Form field to be observed |
frequency | int | The frequency (in seconds) at which changes to /// this field will be detected. (required) |
url | String | url for the action to call /// when the field has changed (required) |
idOfElementToBeUpdated | String | Specifies the DOM ID of the element whose /// innerHTML should be updated with the /// XMLHttpRequest response text. |
with | String | A Javascript expression specifying the /// parameters for the XMLHttpRequest. This defaults /// to 'value', which in the evaluated context /// refers to the new field value. |
리턴 | String |
public ObserveForm ( IDictionary options ) : String | ||
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
public ObserveForm ( String formId, IDictionary options ) : String | ||
formId | String | Form to be observed |
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
public ObserveForm ( String formId, int frequency, String url, String idOfElementToBeUpdated, object with ) : String | ||
formId | String | Form to be observed |
frequency | int | The frequency (in seconds) at which changes to /// this field will be detected. (required) |
url | String | url for the action to call /// when the field has changed (required) |
idOfElementToBeUpdated | String | Specifies the DOM ID of the element whose /// innerHTML should be updated with the /// XMLHttpRequest response text. |
with | object | A Javascript expression specifying the /// parameters for the XMLHttpRequest. This defaults /// to 'value', which in the evaluated context /// refers to the new field value. |
리턴 | String |
public PeriodicallyCallRemote ( IDictionary options ) : String | ||
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
public PeriodicallyCallRemote ( String url, IDictionary options ) : String | ||
url | String | url to be invoked periodically |
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
public RemoteFunction ( IDictionary options ) : String | ||
options | IDictionary | the options for the Ajax invocation |
리턴 | String |
public Service ( IServiceProvider provider ) : void | ||
provider | IServiceProvider | The service proviver |
리턴 | void |