Good afternoon,
I found very good examples for ajax + asp:
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/ConfirmButton/ConfirmButton.aspx
For example, confirm button
May I know where I can find similar examples for
Struts2 + dojo + ajax for confirm button please?
Thanks a lot!
--
Lu Ying
+ asp:
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/ConfirmButton/ConfirmButton.aspx
For example, confirm button
May I know where I can find similar examples for
Struts2 + dojo + ajax for confirm button please?
Thanks a lot!
--
Lu Ying
On 02/16/2011 03:13 PM, Dave Newton wrote:
Please, please be aware that the S2 Dojo plugin is *deprecated*, for
good reasons. If you're just using raw Dojo, your best bet is the Dojo
documentation/samples.
Ok.
If dojo is deprecated, then how struts2 supports ajax?
--
Lu Ying
On Wed, Feb
. If you're just using raw Dojo, your best bet is the Dojo
documentation/samples.
Ok.
If dojo is deprecated, then how struts2 supports ajax?
--
Lu Ying
On Wed, Feb 16, 2011 at 2:52 PM, Emi Luem...@encs.concordia.ca wrote:
Good afternoon,
I found very good examples for ajax + asp
is *deprecated*, for
good reasons. If you're just using raw Dojo, your best bet is the Dojo
documentation/samples.
Ok.
If dojo is deprecated, then how struts2 supports ajax?
--
Lu Ying
On Wed, Feb 16, 2011 at 2:52 PM, Emi Luem...@encs.concordia.cawrote:
Good afternoon,
I found very good
Hi All,
Anyone implemented struts2 file upload with Ajax? file upload will display
progress bar for showing file upload status.
I tried below one but it is not working
http://www.struts2.org/ajax-file-upload-in-struts2-using-ajax-file-upload-plugin/
Please send me links
Hi All,
Anyone implemented struts2 file upload with Ajax? file upload will display
progress bar for showing file upload status.
I tried below one but it is not working
http://www.struts2.org/ajax-file-upload-in-struts2-using-ajax-file-upload-plugin/
Please send me links
Hi
on thing i noticed is that you have a notifyTopics attribute on you submit
tag which i dont think is necessary and used wrong.
i havent used dojo for a long time, so i am not sure if they changed any api
or settings.
but just a reminder you might need to take a look.
you dont have to specify
On Tuesday 28 October 2008 20:01:41 Kanade, Sayali wrote:
Thanks for your reply, but not sure it answers my question.
My question is: How can I prevent a div from refreshing its contents on
page load? The div should only be refreshed on button click.
My problem is that, my div loads on page
to Struts 2 and got all confused.
Thanks again,
Regards,
Sayali.
-Original Message-
From: Roger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2008 7:56 AM
To: Struts Users Mailing List
Subject: Re: Struts2 : Calling AJAX function on button click(ONLY)
On Tuesday 28 October 2008 20:01
WARNING!: Struts2 : Calling AJAX function on button click
and passing form parameters to the same
Hi All,
I am new to Struts 2, so please forgive me if this question is inane.
I have a very simple form which has some checkboxes and on the click of
the submit button of the form, I want to pass
-Original Message-
From: Kanade, Sayali [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2008 11:05 AM
To: user@struts.apache.org
Subject: RE: Struts2 : Calling AJAX function on button click and passing
form parameters to the same
Hi,
Can someone please help me out with the problem I mentioned
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2008 11:10 AM
To: Kanade, Sayali; user@struts.apache.org
Subject: RE: Struts2 : Calling AJAX function on button click and passing form
parameters to the same
Hi,
I don't' know if I get the idea about what do u want to do, but I will try
to copy some
, October 28, 2008 2:02 PM
To: Mileidys Gonzalez Prieto; user@struts.apache.org
Subject: SPAM WARNING!: RE: Struts2 : Calling AJAX function on button
click(ONLY)
Thanks for your reply, but not sure it answers my question.
My question is: How can I prevent a div from refreshing its contents on page
Hi All,
I am new to Struts 2, so please forgive me if this question is inane.
I have a very simple form which has some checkboxes and on the click of
the submit button of the form, I want to pass the values of the form to
an AJAX action.
CODE SNIPPET
]
--
View this message in context:
http://www.nabble.com/struts2%3A-simple-ajax-form---returns-value-to-a-new-page-%28not-to-a-DIV%29-tp15562626p19065871.html
Sent from the Struts - User mailing list archive at Nabble.com
MyAshok wrote:
Hi all,
Thanks for all your response.
Finally i isolated the problem and found that the problem is with the ajax
submit of the same div. (i.e) my form and the submit targets to the same
div. This scenerio creates the problem that the values in the jsp is not
populated to the
]
--
View this message in context:
http://www.nabble.com/struts2%3A-simple-ajax-form---returns-value-to-a-new-page-%28not-to-a-DIV%29-tp15562626p19067009.html
Sent from the Struts - User mailing list archive at Nabble.com
- On Wed, 8/20/08, MyAshok wrote:
Can you tell me whats might be the problem with my IE.
It's IE.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dave Newton wrote:
- On Wed, 8/20/08, MyAshok wrote:
Can you tell me whats might be the problem with my IE.
It's IE.
Dave
He he he.
I don't know for certain, but I think it's due to IE's non-standard
event-handling (event ordering) and Dojo's/widget's failure to
accommodate
Indeed, can't wait for 2.1 to come out, at least this setting will be
set to false by default.
On Wed, Aug 20, 2008 at 8:07 PM, Jeromy Evans
[EMAIL PROTECTED] wrote:
Dave Newton wrote:
- On Wed, 8/20/08, MyAshok wrote:
Can you tell me whats might be the problem with my IE.
It's IE.
MyAshok wrote:
I do have the same issue. on click of submit, the loadingtext is displaying
but the result in a new page as i am redirect to a action.
Any solutions? please asap.
action name=activateSubscriber class=subscriberAction
method=activateSubscriber
,
turn off the loadingText message.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/struts2%3A-simple-ajax-form
: Re: struts2: simple ajax form - returns value to a new page (not to
a DIV)
To: user@struts.apache.org
Date: Monday, August 18, 2008, 8:08 AM
Thanks Evans,
In IE, instead of loading text it shows [object error]. But
it redirects to
a new page.
In Firefox, neither showing loading text nor
Dave Newton wrote:
I'd be immediately suspicious of your manual form submission; as a guess I'd
say that bypasses the normal form submission process, making it a non-XHR
request.
Off-the-cuff guess, though.
Dave
Absolutely positive that's it.
This line:
: [EMAIL PROTECTED]
To: user@struts.apache.org
Subject: Re: struts2: simple ajax form - returns value to a new page (not to
a DIV)
MyAshok wrote:
I do have the same issue. on click of submit, the loadingtext is displaying
but the result in a new page as i am redirect to a action.
Any
Martin Gainty wrote:
var xmlhttp=dojo.hostenv.getXmlhttpObject()
var response= xmlhttp.responseXML;
var parsed_response=SomeXMLParser(response);
document.getElementByTagId(div).innerHtml = parsed_response;
--
/script
yes/no?
Martin
That would work, but dojo already includes code to
/javascript
src=/struts2-showcase/struts/dojo/dojo.js/script
script type=text/javascript
src=/struts2-showcase/struts/simple/dojoRequire.js/script
script type=text/javascript
src=/struts2-showcase/struts/ajax/dojoRequire.js/script
script type=text/javascript
src
PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/struts2%3A-simple-ajax-form---returns-value-to-a-new-page-%28not-to-a-DIV%29-tp15562626p15595878.html
Sent from the Struts - User mailing list archive at Nabble.com
=\data\/br/
Q: How can I incorporate the \'data\' value in the DIV and not in a new page?
--
View this message in context:
http://www.nabble.com/struts2%3A-simple-ajax-form---returns-value-to-a-new-page-%28not-to-a-DIV%29-tp15562626p15562626.html
Sent from the Struts - User mailing list
(\Expires\, 0); //prevents caching at the
proxy
server
%
The value you entered was: s:property value=\data\/br/
Q: How can I incorporate the \'data\' value in the DIV and not in a new
page?
--
View this message in context:
http://www.nabble.com/struts2%3A-simple-ajax-form---returns-value
Use the FireBug plugin for FF.
Check that dojo is setup in the head of your page (view the html) and
that all of the resources it requires are loaded (using the net tab).
Ensure that struts filter is receiving requests for the /struts/* resources.
xianwinwin wrote:
:-(
I think I have an
]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/struts2%3A-simple-ajax-form---returns-value-to-a-new-page-%28not-to-a-DIV%29-tp15562626p15601041.html
Sent from the Struts - User mailing list archive
=text/javascript
src=/struts2-showcase/struts/ajax/dojoRequire.js/script
script type=text/javascript
src=/struts2-showcase/struts/CommonFunctions.js/script
In FireBug, you should see all those scripts being found.
xianwinwin wrote:
Check that dojo is setup in the head of your page
was: s:property value=data/br/
Q: How can I incorporate the 'data' value in the DIV and not in a new page?
--
View this message in context:
http://www.nabble.com/struts2%3A-simple-ajax-form---returns-value-to-a-new-page-%28not-to-a-DIV%29-tp15562626p15562626.html
Sent from the Struts - User
Your code looks valid, but have you included the s:head theme=ajax/
tag in your head section?
It looks like the default event is executing (submit form for new page)
rather than Dojo using ajax to post it.
Also, as your target is theForm2, add showLoadingText=false to your
submit button.
%
The value you entered was: s:property value=data/br/
Q: How can I incorporate the 'data' value in the DIV and not in a new
page?
--
View this message in context:
http://www.nabble.com/struts2%3A-simple-ajax-form---returns-value-to-a-new-page-%28not-to-a-DIV%29
No, it seems fine now.
Turn on debugging:
s:head theme=ajax debug=true/
Also use FireBug to see if there's any javascript errors reported.
xianwinwin wrote:
thanks you for the reply. I added the code:
s:head theme=ajax/
on top, plus
s:submit value=GO2 showLoadingText=false
Hi,
I am using a very basic AJAX code snippet with struts. No it's not
dojo.
req = new XMLHttpRequest();
var url='http://localhost:8084/StrutsAjax/example/SearchAJAX.action';
req.open(POST,url,true);
req.onreadystatechange=searchResults;
req.send(null);
in searchResults() function I
Hi,
In your action class you have to return null after you write the
response for eg:-
public String ajax() throws Exception {
respone.getWriter().println(hello);
respone.getWriter().close();
return null;
}
and also i dont think you need to specify the full URL
List user@struts.apache.org
Sent: Saturday, December 16, 2006 12:22 AM
Subject: Re: Struts2 with AJAX file upload??
What do you mean by trying to find controller tags in struts.xml? How
do you have it implemented in Struts 1?
Don
On 12/15/06, Nagraj Rao [EMAIL PROTECTED] wrote:
Hi guys
I
Hi guys
I want to implement AJAX file upload in Struts2. tried searching over on the
net, but couldn't find much. I have an AJAX based file uploader working in
Struts1.x but i'm not able to migrate it to Struts2 due to some uncommon
controller mappings (such as i'm not finding any conroller
What do you mean by trying to find controller tags in struts.xml? How
do you have it implemented in Struts 1?
Don
On 12/15/06, Nagraj Rao [EMAIL PROTECTED] wrote:
Hi guys
I want to implement AJAX file upload in Struts2. tried searching over on the
net, but couldn't find much. I have an AJAX
]
To: Struts Users Mailing List user@struts.apache.org
Sent: Saturday, December 16, 2006 12:22 AM
Subject: Re: Struts2 with AJAX file upload??
What do you mean by trying to find controller tags in struts.xml? How
do you have it implemented in Struts 1?
Don
On 12/15/06, Nagraj Rao [EMAIL PROTECTED] wrote
the refreshment, but always the there was an
error message.
Can anyone help please ?
--
View this message in context:
http://www.nabble.com/Struts2-and-Ajax-pb-tf2776562.html#a7745973
Sent from the Struts - User mailing list archive at Nabble.com
walidito [mailto:[EMAIL PROTECTED]
href=/dashboard/actions/AjaxTest.action
Do you have a mapping to that action?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
First try putting the full url for your action on your browser , and
make sure you are getting the expected page, just to get any ajax
problem out of the way. After you get that working, try the div, which
should work.
regards
musachy
walidito wrote:
Hi,
I hava followed one of the showcase
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/Struts2-and-Ajax-pb-tf2776562.html#a7746317
Sent from the Struts - User mailing list archive at Nabble.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/Struts2-and-Ajax-pb-tf2776562.html#a7746431
Sent from the Struts - User mailing list archive at Nabble.com
for your answers...
Regards,
Juan Espinosa
-Mensaje original-
De: Don Brown [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 20 de Noviembre de 2006 02:05 p.m.
Para: Struts Users Mailing List
Asunto: Re: STRUTS2 and AJAX
On 11/20/06, Juan Espinosa [EMAIL PROTECTED] wrote:
Hi to all
to be updated without reloading the whole page, for example. I
need some advise where to start, struts2 ajax support, etc...
well thats all, thanks for helping me.
Regards,
Juan Espinosa
51 matches
Mail list logo