Package org.springmodules.xt.ajax.action

Examples of org.springmodules.xt.ajax.action.ReplaceElementAction


   
    public AjaxResponse replaceElement(AjaxActionEvent event) {
        // Create the new input field:
        InputField field = new InputField("replaced", "Replaced", InputField.InputType.TEXT);
        // Create an ajax action for replacing the old element:
        ReplaceElementAction action = new ReplaceElementAction("toReplace", field);
       
        // Create a concrete ajax response:
        AjaxResponse response = new AjaxResponseImpl();
        // Add the action:
        response.addAction(action);
View Full Code Here

TOP

Related Classes of org.springmodules.xt.ajax.action.ReplaceElementAction

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.