Class AjaxComponentServiceAction

  • java.lang.Object
    • org.apache.struts.action.Action

  • public class AjaxComponentServiceAction
    The Ajax Component Service Action class provides a Struts Action implementation that can be used to invoke a component service for an Ajax style request. The configured parameter must be of the form "id.clientMethod" where "id" is the configured component ID and "clientMethod" is the web friendly method on the component client facade that will be used to invoke the component service. The client facade must be configured in the struts-config.xml file using the ComponentPlugIn plug-in implementation.

    The following example demonstrates a possible component client facade configuration:

     <plug-in className="">
       <set-property property="componentId" value="order"/>
       <set-property property="clientFacadeClassName" value=""/>

    This component facade declaration could then be referenced in an action mapping declaration:

         path="/AjaxSubmitOrder" type="">

    • Field Summary

      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructor and Description
      Construct new instance of the component service action.
    • Method Summary

      • Methods inherited from class

      • Methods inherited from class org.apache.struts.action.Action

        execute, getServlet, setServlet
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail


        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AjaxComponentServiceAction

        public AjaxComponentServiceAction()
        Construct new instance of the component service action.