Re: Struts 2.1.6 with ajax and progressing image

2009-06-04 Thread rajeevP
Tahnks Dave I am using the sx: div fucntionalities. in this how can we disable/enable the submit button.? Giving my JSP with this, if you can say how and where to do these things, it will be very helpful. <%@ page contentType="text/html; charset=UTF-8"%> <%@ taglib prefix="s" uri="/str

Struts 2.1.6 with ajax and progressing image

2009-06-04 Thread rajeevP
Hi Everybody, We are using struts2.1.6 and ajax in our application. In one of our screen we have only 4 fields, in that one fields has ajax calling. so how can we stop the user to submit that form upto the ajax response came. Means upto that ajax repsonse reached in the screen, we need to restric

Re: AJAX issues in struts 2.1.6

2009-06-02 Thread rajeevP
Thanks Dave, i have added one property preload=false in sx:div , that stops the automatic calling of the url. Thanks very ... Rajeev -- View this message in context: http://www.nabble.com/AJAX-issues-in-struts-2.1.6-tp23584424p23836546.html Sent from the Struts - User mailing list a

Re: AJAX issues in struts 2.1.6

2009-06-02 Thread rajeevP
newton.dave wrote: > > Because that's what sx:div does by default; loads a URL via Ajax. > > Maybe the "preload" attribute has what you need. > > http://struts.apache.org/2.x/docs/dojo-div.html > > rajeevP wrote: >> Thanks for all your supp

Re: AJAX issues in struts 2.1.6

2009-06-02 Thread rajeevP
Thanks for all your support, after adding the sx:head i could able to work. But the problem is , while loading the jsp page itslef the url action is calling. Actually our intention to call the url , when the onchange of the text field happens. why it is happening like this? I am attaching my jsp w

Re: AJAX issues in struts 2.1.6

2009-05-24 Thread rajeevP
Hi All, Please help me in this regards. I am facing issues in AJAX as stated before, anybody have sample example for Struts2.1.6 and AJAX, Please send to me. Any kind of help very much appreciated. Expecting some hints and helps.. rajeev...@gmail.com, send the examples if anybody have..

Re: AJAX issues in struts 2.1.6

2009-05-17 Thread rajeevP
I have tried with this sample jsp <%@ taglib prefix="s" uri="/struts-tags"%> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %> Listing function show_details() { dojo.event.topic.publish("show_detail"); } and list of struts jar files struts2-codebehind-plugin-2.1.6.jar stru

AJAX issues in struts 2.1.6

2009-05-17 Thread rajeevP
Hi I am using struts2.1.6 jar files and tried with samples for AJAX available from internet community. But none of the examples are worked for me. Getting exceptions like FreeMarker template error! Expression parameters.pushId is undefined on line 24, column 6 in template/ajax/div-close.ftl. Th