org.ajax4jsf.javascript
Class AjaxSubmitFunction

java.lang.Object
  extended by org.ajax4jsf.javascript.ScriptStringBase
      extended by org.ajax4jsf.javascript.JSFunction
          extended by org.ajax4jsf.javascript.AjaxSubmitFunction
All Implemented Interfaces:
ScriptString

public class AjaxSubmitFunction
extends JSFunction

Author:
shura

Field Summary
static String AJAX_FUNCTION_NAME
          Name Javasript function for submit AJAX request
static String AJAX_REGIONS_ATTRIBUTE
           
static String LIMITRENDER_ATTR_NAME
          Attribute to keep
static String ONCOMPLETE_ATTR_NAME
          Attribute for keep JavaScript funtion name for call after complete request.
static String STATUS_ATTR_NAME
          Attribute for keep clientId of status component
 
Constructor Summary
AjaxSubmitFunction(javax.faces.component.UIComponent component)
           
AjaxSubmitFunction(javax.faces.component.UIComponent component, String name)
           
 
Method Summary
 javax.faces.component.UIComponent getComponent()
           
 Map<String,Object> getOptions()
           
 Map<String,String> getRequestParameters()
           
 
Methods inherited from class org.ajax4jsf.javascript.JSFunction
addParameter, appendScript, getParameters
 
Methods inherited from class org.ajax4jsf.javascript.ScriptStringBase
appendScriptToStringBuilder, toScript, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ajax4jsf.javascript.ScriptString
appendScriptToStringBuilder, toScript
 

Field Detail

AJAX_FUNCTION_NAME

public static final String AJAX_FUNCTION_NAME
Name Javasript function for submit AJAX request

See Also:
Constant Field Values

AJAX_REGIONS_ATTRIBUTE

public static final String AJAX_REGIONS_ATTRIBUTE
See Also:
Constant Field Values

LIMITRENDER_ATTR_NAME

public static final String LIMITRENDER_ATTR_NAME
Attribute to keep

See Also:
Constant Field Values

ONCOMPLETE_ATTR_NAME

public static final String ONCOMPLETE_ATTR_NAME
Attribute for keep JavaScript funtion name for call after complete request.

See Also:
Constant Field Values

STATUS_ATTR_NAME

public static final String STATUS_ATTR_NAME
Attribute for keep clientId of status component

See Also:
Constant Field Values
Constructor Detail

AjaxSubmitFunction

public AjaxSubmitFunction(javax.faces.component.UIComponent component)

AjaxSubmitFunction

public AjaxSubmitFunction(javax.faces.component.UIComponent component,
                          String name)
Parameters:
name -
Method Detail

getOptions

public Map<String,Object> getOptions()
Returns:
the options

getRequestParameters

public Map<String,String> getRequestParameters()
Returns:
the requestParameters

getComponent

public javax.faces.component.UIComponent getComponent()


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.