Package org.springmodules.xt.ajax

Examples of org.springmodules.xt.ajax.AjaxResponse


        }
        // Create an ajax action for replacing the content of the "employees" element:
        ReplaceContentAction action = new ReplaceContentAction("employees", options);
       
        // Create the ajax response:
        AjaxResponse response = new AjaxResponseImpl();
        // Add the action:
        response.addAction(action);
       
        return response;
    }
View Full Code Here


        SetAttributeAction setFirstname = new SetAttributeAction("firstname", "value", e.getFirstname());
        // Create an ajax action for setting the "value" attribute of the "surname" html element:
        SetAttributeAction setSurname = new SetAttributeAction("surname", "value", e.getSurname());
       
        // Create the ajax response:
        AjaxResponse response = new AjaxResponseImpl();
        // Add the actions to the response:
        response.addAction(setFirstname);
        response.addAction(setSurname);
       
        return response;
    }
View Full Code Here

TOP

Related Classes of org.springmodules.xt.ajax.AjaxResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.