You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by gomathi <go...@koensoft.com> on 2006/03/22 06:37:36 UTC

jsp with ajax


Hai
In our project use jsp with ajax.How to include ajax technique in our project
anybody knows
in which tutorial follows this.
any samples
kindly regards
gomes





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: jsp with ajax

Posted by "JEEVANATHAM P. /BPCRP/INFOTECH/VASHI" <je...@3i-infotech.com>.
Use AjaxAnywhere tags.
That can be used both in jsp and jsf. That's very cool.

<%@ taglib uri="http://ajaxanywhere.sourceforge.net/" prefix="aa" %>
<body>
<script src="js/aa.js"></script>
        <script> 
            ajaxAnywhere.formName = "yourform";
        </script>
<aa:zone name="area">
Your area to be refresshed
</aa:zone>
</body>
<script>
ajaxAnywhere.getZonesToReload = function(url,submitButton) {
            var frm=document. yourform;
 
if((frm.actioncondition.value!="SAVE")&&(frm.actioncondition.value!="CANCEL"
)&&(frm.actioncondition.value!="INSERT")){
                       return " area ";
                       }
            }
            ajaxAnywhere.formName = " yourform ";
            ajaxAnywhere.substituteFormSubmitFunction();
            ajaxAnywhere.substituteSubmitButtonsBehavior(true);
              
</script>

For instance validation you have write separate XMLHttpRequest to handle
this.


-----Original Message-----
From: gomathi [mailto:gomathi@koensoft.com] 
Sent: Wednesday, March 22, 2006 11:08 AM
To: user@struts.apache.org
Subject: jsp with ajax



Hai
In our project use jsp with ajax.How to include ajax technique in our
project
anybody knows
in which tutorial follows this.
any samples
kindly regards
gomes





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

-- 
Greetings!

 


ICICI Infotech is now 3i Infotech.


The e-mail addresses of the company's employees have been changed to <existing name>@3i-infotech.com. You are requested to take note of this new e-mail ID and make use of the same in future

 
"This e-mail message may contain confidential, proprietary or legally privileged information. It should not be used by anyone who is not the original intended recipient. If you have erroneously received this message, please delete it immediately and notify the sender. The recipient acknowledges that 3i Infotech or its subsidiaries and associated companies, (collectively "3i Infotech"), are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of 3i Infotech. Before opening any attachments please check them for viruses and defects."