RE: struts 2 ajax choice

2013-05-14 Thread Martin Gainty
pour le contenu fourni. Date: Mon, 13 May 2013 15:07:01 -0700 From: sh_thorn_b...@yahoo.com Subject: Re: struts 2 ajax choice To: davelnew...@gmail.com; user@struts.apache.org Dave, so, as your experience, which one u recommend to use? JSON or S2Jquery? thanks in advance

Re: struts 2 ajax choice

2013-05-14 Thread Ken McWilliams
: sh_thorn_b...@yahoo.com Subject: Re: struts 2 ajax choice To: davelnew...@gmail.com; user@struts.apache.org Dave, so, as your experience, which one u recommend to use? JSON or S2Jquery? thanks in advance john From: Dave Newton

Re: struts 2 ajax choice

2013-05-14 Thread NIJO GEORGE
Use DWR(Direct Web Remoting) for easy ajax implementation from Struts2 NIJO GEORGE P Follow me on Twitter http://www.twitter.com/nijogeorgep Add me as Friend http://www.facebook.com/nijogeorgep View my Profile on LinkedIn http://in.linkedin.com/in/nijogeorgep +918089699703 On 14 May 2013 03:12,

Re: struts 2 ajax choice

2013-05-13 Thread Paul Benedict
Please note the Dojo plugin is deprecated. On Mon, May 13, 2013 at 4:42 PM, john lee sh_thorn_b...@yahoo.com wrote: from the document, Struts 2 support both DoJo plugin and JSON plugin, which one is easy to plugin and use? which one is more powerful? thanks in advance john

Re: struts 2 ajax choice

2013-05-13 Thread john lee
So, JSON is the only choice ? thanks john From: Paul Benedict pbened...@apache.org To: Struts Users Mailing List user@struts.apache.org; john lee sh_thorn_b...@yahoo.com Sent: Monday, May 13, 2013 4:43 PM Subject: Re: struts 2 ajax choice Please note

Re: struts 2 ajax choice

2013-05-13 Thread Dave Newton
...@yahoo.com Sent: Monday, May 13, 2013 4:43 PM Subject: Re: struts 2 ajax choice Please note the Dojo plugin is deprecated. On Mon, May 13, 2013 at 4:42 PM, john lee sh_thorn_b...@yahoo.com wrote: from the document, Struts 2 support both DoJo plugin and JSON plugin, which one

Re: struts 2 ajax choice

2013-05-13 Thread Mike Hao
Mailing List user@struts.apache.org; john lee sh_thorn_b...@yahoo.com Sent: Monday, May 13, 2013 4:43 PM Subject: Re: struts 2 ajax choice Please note the Dojo plugin is deprecated. On Mon, May 13, 2013 at 4:42 PM, john lee sh_thorn_b...@yahoo.com wrote: from the document

Re: struts 2 ajax choice

2013-05-13 Thread Dave Newton
On Mon, May 13, 2013 at 5:56 PM, Mike Hao mike@gmail.com wrote: Will the S2 jQuery plugin provide the similar functions as S2 dojo plugin? The docs and examples are available on the site I linked to. Is S2 jQuery plugin maintained by Struts 2 team? The S2 jQuery plugin I linked to is

Re: struts 2 ajax choice

2013-05-13 Thread Mike Hao
Hi Dave, Thank you so much for your quick response and your explanations. Regards, Mike On Mon, May 13, 2013 at 6:03 PM, Dave Newton davelnew...@gmail.com wrote: On Mon, May 13, 2013 at 5:56 PM, Mike Hao mike@gmail.com wrote: Will the S2 jQuery plugin provide the similar functions as

Re: struts 2 ajax choice

2013-05-13 Thread john lee
, 2013 5:03 PM Subject: Re: struts 2 ajax choice On Mon, May 13, 2013 at 5:56 PM, Mike Hao mike@gmail.com wrote: Will the S2 jQuery plugin provide the similar functions as S2 dojo plugin? The docs and examples are available on the site I linked to.   Is S2 jQuery plugin maintained

Re: Struts 2 AJAX error

2010-09-13 Thread Dave Newton
I do; s:head in S2.1+ is different than in S2.0; please read the documentation regarding the Dojo Ajax plugin. (Which is deprecated, by the way.) Dave On Mon, Sep 13, 2010 at 11:42 AM, Arpan arpan.deb...@gmail.com wrote: Hi All, I am getting the following error while using ajax theme in

Re: Struts 2 AJAX grid

2010-03-24 Thread srinivas1977
Hi Evans, I am working on Struts 2 Ajax Grid. I am getting the results using Ajax but could not able to display it in Grid. Grid is simple with sorting and pagination but no inline editining. The grid should be displayed inside Struts 2 Tabbed Panel. I am not what to use for the Grid inside

RE: Struts w/Ajax with Struts again

2009-07-23 Thread cpanon
the action was called?  --- On Tue, 7/21/09, Martin Gainty mgai...@hotmail.com wrote: From: Martin Gainty mgai...@hotmail.com Subject: RE: Struts w/Ajax with Struts again To: Struts Users Mailing List user@struts.apache.org Date: Tuesday, July 21, 2009, 3:08 PM post the complete contents

Re: Struts w/Ajax with Struts again

2009-07-23 Thread Dave Newton
cpanon wrote: What I was able to reproduce was that if I enter the action with an Ajax call, using prototype, and return with mapping.getInputForward(), the session objects do not get updated; even though I update them in the action. If, however I enter the action with a click off a html:submit

RE: Struts w/Ajax with Struts again

2009-07-23 Thread Martin Gainty
. Date: Thu, 23 Jul 2009 09:39:51 -0400 From: newton.d...@yahoo.com To: user@struts.apache.org Subject: Re: Struts w/Ajax with Struts again cpanon wrote: What I was able to reproduce was that if I enter the action with an Ajax call, using prototype, and return

RE: Struts w/Ajax with Struts again

2009-07-21 Thread cpanon
it in the request, I should see it on the forwarded form.  tia. --- On Mon, 7/20/09, Martin Gainty mgai...@hotmail.com wrote: From: Martin Gainty mgai...@hotmail.com Subject: RE: Struts w/Ajax with Struts again To: Struts Users Mailing List user@struts.apache.org Date: Monday, July 20, 2009, 10:18 AM

RE: Struts w/Ajax with Struts again

2009-07-21 Thread Martin Gainty
pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Tue, 21 Jul 2009 10:09:43 -0700 From: cpa...@yahoo.com Subject: RE: Struts w/Ajax

Re: Struts w/Ajax with Struts again

2009-07-21 Thread Dave Newton
Martin Gainty wrote: post the complete contents of struts-config.xml event timing is crucial specifically you'll need your Ajax control to detect ON_COMPLETE a fairly comprehensive example of handling ON_COMPLETE at http://struts.apache.org/2.0.14/docs/ajax-validation.html any objections to

Re: Struts w/Ajax with Struts again

2009-07-20 Thread Paweł Wielgus
Hi cpanon, I am looking for the simplest technique that would reprocess the session objects from the new values, regenerate the full jsp, then just refresh the whole page, by javascript after completion of ajax. Or do not use ajax at all, this will be most simple solution for You. Best

Re: Struts w/Ajax with Struts again

2009-07-20 Thread cpanon
...@gmail.com Subject: Re: Struts w/Ajax with Struts again To: Struts Users Mailing List user@struts.apache.org Date: Monday, July 20, 2009, 2:18 AM Hi cpanon, I am looking for the simplest technique that would reprocess the session objects from the new values, regenerate the full jsp, then just refresh

Re: Struts w/Ajax with Struts again

2009-07-20 Thread Paweł Wielgus
/09, Paweł Wielgus poulw...@gmail.com wrote: From: Paweł Wielgus poulw...@gmail.com Subject: Re: Struts w/Ajax with Struts again To: Struts Users Mailing List user@struts.apache.org Date: Monday, July 20, 2009, 2:18 AM Hi cpanon, I am looking for the simplest technique that would reprocess

RE: Struts w/Ajax with Struts again

2009-07-20 Thread Martin Gainty
...@yahoo.com Subject: Re: Struts w/Ajax with Struts again To: user@struts.apache.org Hi PW But I cant access the session objects with JS, nor can I iterate the collections I have in the session to display the updated values that were written in the Ajax processing action. Correct? --- On Mon

RE: Struts w/Ajax with Struts again

2009-07-19 Thread cpanon
for that processing.  --- On Sat, 7/18/09, Martin Gainty mgai...@hotmail.com wrote: From: Martin Gainty mgai...@hotmail.com Subject: RE: Struts w/Ajax with Struts again To: Struts Users Mailing List user@struts.apache.org Date: Saturday, July 18, 2009, 11:37 PM better off setting it in the action then access

Re: Struts w/Ajax with Struts again

2009-07-19 Thread Nils-Helge Garli Hegvik
The form will not be updated unless you refresh the values or the part of the page that displays the values you want to be updated. So you would have to manually do this processing some returned updated values in a json result, or by returning the result of a partial jsp which re-renders the part

RE: Struts w/Ajax with Struts again

2009-07-19 Thread Martin Gainty
accepter aucune responsabilité pour le contenu fourni. Date: Sun, 19 Jul 2009 05:34:00 -0700 From: cpa...@yahoo.com Subject: RE: Struts w/Ajax with Struts again To: user@struts.apache.org Hi Martin Thanks, however I havnt migrate to Struts2 yet. What I was hoping for was a technique

Re: Struts w/Ajax with Struts again

2009-07-19 Thread cpanon
Subject: Re: Struts w/Ajax with Struts again To: Struts Users Mailing List user@struts.apache.org Date: Sunday, July 19, 2009, 9:56 AM The form will not be updated unless you refresh the values or the part of the page that displays the values you want to be updated. So you would have to manually

RE: Struts w/Ajax with Struts again

2009-07-18 Thread Martin Gainty
ajax's responsibility is to return either json or html formatted text to innerHtml attribute of div tag identified in ajax call other activity such as refreshing session attributes would need to take place in the action class..upon return from action all tags of the jsp would re-display

RE: Struts w/Ajax with Struts again

2009-07-18 Thread cpanon
you clarify this?  tia. --- On Sat, 7/18/09, Martin Gainty mgai...@hotmail.com wrote: From: Martin Gainty mgai...@hotmail.com Subject: RE: Struts w/Ajax with Struts again To: Struts Users Mailing List user@struts.apache.org Date: Saturday, July 18, 2009, 9:32 PM ajax's responsibility

RE: Struts w/Ajax with Struts again

2009-07-18 Thread Martin Gainty
pour le contenu fourni. Date: Sat, 18 Jul 2009 19:07:26 -0700 From: cpa...@yahoo.com Subject: RE: Struts w/Ajax with Struts again To: user@struts.apache.org Hi Martin Thank you. So I may be misunderstanding something. If I return to the Ajax call with mapping.getInputForward

Re: Struts 2.1.6 ajax submit with datetimepicker

2009-05-07 Thread Raffek
solved - i didnt added @Override annotation on execute() method in the class. -- View this message in context: http://www.nabble.com/Struts-2.1.6-ajax-submit-with-datetimepicker-tp23415768p23425673.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: Struts 2.1.6 ajax submit with datetimepicker

2009-05-06 Thread Raffek
Raffek wrote: Hi guys. I faced such a problem today. I have created jsp, which looks like this: //file.jsp// sx:header debug=true / ... s:form action=niemaczasu namespace=/nodecorate theme=xhtml id=niemaczasu_form

Re: Struts 1.3.10 + Ajax

2009-03-31 Thread Mileidys Gonzalez Prieto
Im using Ajax Tags and its very good. http://ajaxtags.sourceforge.net/ Hope it helps Mileidys Gonzalez - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts 1.3.10 + Ajax

2009-03-31 Thread Cody Burleson
We are using the Yahoo User Interface Library (YUI) with Struts 1. It has several widgets such as DataTable, TabView, TreeView, AutoComplete, and more. It has Ajax loaders. One of the reasons we chose this package is because it is so well documented and because we wanted our CSS framework and JS

Re: Struts 2 Ajax DateTime Picker compatibility with FireFox 3

2008-10-01 Thread Abhinav Sharma
Thanks Gabriel, It seems to be the Ajax theme issue . I did try to use the fix suggested but It doesn't work for me. But is there any other fix available to resolve the issue. Gabriel Belingueres-2 wrote: I had no issues using the datetimepicker with FF3. Maybe your problems are related

Re: Struts 2 Ajax DateTime Picker compatibility with FireFox 3

2008-10-01 Thread matt.payne
Don't use it (or dojo). Some of the jquery date/time pickers are far better anyway. Matt Abhinav Sharma wrote: I am using inbuilt struts 2 ajax date time picker for my web application. It works fine with FireFox 2 but I face issues with rendering of these controls in FireFox 3. FireFox

Re: Struts 2 Ajax DateTime Picker compatibility with FireFox 3

2008-09-30 Thread Gabriel Belingueres
I had no issues using the datetimepicker with FF3. Maybe your problems are related with the following post: http://dojotoolkit.org/forum/dojo-0-4-x-legacy/dojo-0-4-x-support/firefox-3-and-struts-2-theme-ajax-render-issues 2008/9/30 Abhinav Sharma [EMAIL PROTECTED]: I am using inbuilt struts 2

Re: Struts 1.2.9 +Ajax Error -- java.lang.IllegalStateException

2008-09-12 Thread Dave Newton
Return null. --- On Fri, 9/12/08, Raghuveer [EMAIL PROTECTED] wrote: From: Raghuveer [EMAIL PROTECTED] Subject: Struts 1.2.9 +Ajax Error -- java.lang.IllegalStateException To: user@struts.apache.org Date: Friday, September 12, 2008, 3:55 AM Hello, I am using Ajax in my struts

Re: Struts 2 AJAX

2008-08-07 Thread stanlick
Thanks Dave. Like Struts 1, I think Struts 2 tags that are not required by the core framework are largely be ing passed over in favor of JSTL. It is easier to use tags that are stable, standard and well documented and duplicate tags that do effectively the same thing are confusing.

Re: Struts 2 AJAX

2008-08-06 Thread stanlick
Is any other js library compatible to be plugged in? On Tue, Aug 5, 2008 at 7:45 PM, Dave Newton [EMAIL PROTECTED] wrote: --- On Tue, 8/5/08, [EMAIL PROTECTED] wrote: Is Struts 2.1.x still bound to DOJO? S2 Ajax/Dojo is a plugin. Dave

Re: Struts 2 AJAX

2008-08-06 Thread Dave Newton
--- On Wed, 8/6/08, [EMAIL PROTECTED] wrote: On Tue, Aug 5, 2008 at 7:45 PM, Dave Newton wrote: --- On Tue, 8/5/08, [EMAIL PROTECTED] wrote: Is Struts 2.1.x still bound to DOJO? S2[.1] Ajax/Dojo is a plugin. Is any other js library compatible to be plugged in? To the existing tags? Not

Re: Struts 2 AJAX

2008-08-05 Thread Dave Newton
--- On Tue, 8/5/08, [EMAIL PROTECTED] wrote: Is Struts 2.1.x still bound to DOJO? S2 Ajax/Dojo is a plugin. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2 AJAX

2008-08-05 Thread Piero Sartini
Is Struts 2.1.x still bound to DOJO? It isn't - DOJO is available as a plugin since 2.1.x But there is no possibility to use the AJAX theme without DOJO right now. There was an interesting discussion at struts-devel: -

Re: Struts 2 Ajax DEBUG: widget ID collision on ID: xxx Problem!?

2008-07-15 Thread netslow
I have the same problem. And, as I think, it causes the following error: WARNING: Parameters: Invalid chunk ignored. I have a lot of files, and I won't post them for now. Any ideas? Noob2k8 wrote: Hi, ive got a small problem with a simple Ajax example. My whole app is too big so ive

Re: Struts 2 + Ajax and Back Button

2008-07-07 Thread cree
Hello again everyone, I guess I would like to give an update on my struts 2 and ajax integration. I appreciate everyone's responses as they have helped a lot to resolve my problem with ajax and the back button. My seemingly last problem I have has to do with IE (no surprise). I have

Re: Struts 2 + Ajax and Back Button

2008-07-01 Thread duschhaube
Hi, I use dojo 1.1 and struts-dojo-tags at the same time and it works. her you find the documentation. http://dojotoolkit.org/book/book-dojo/part-3-javascript-programming-dojo-and-dijit/multiple-versions-dojo-page cree schrieb: Hello All, I am attempting to resolve the ajax back button

Re: Struts 2 + Ajax and Back Button

2008-06-30 Thread Dave Newton
--- On Mon, 6/30/08, cree [EMAIL PROTECTED] wrote: I guess in short I am looking to see if there is any way that I can utilize the back.js in the other jsp or throughout the two jsp's or if there is support in struts 2.0.11's dojo toolkit. S2 currently uses Dojo 0.4.3 (give or take). I'd be

Re: Struts 2 + Ajax and Back Button

2008-06-30 Thread Musachy Barroso
Just to confirm what Dave said, do not mix Dojo versions. If you need Dojo 1.x, you are better off not using the s2 ajax tags at all. musachy On Mon, Jun 30, 2008 at 1:23 PM, Dave Newton [EMAIL PROTECTED] wrote: --- On Mon, 6/30/08, cree [EMAIL PROTECTED] wrote: I guess in short I am looking

Re: Struts 2 + Ajax and Back Button

2008-06-30 Thread cree
Thank you all for your replies. I guess at this point I would ask if there is any back button fix at all under struts 2? Or should I go with: Musachy Barroso wrote: Just to confirm what Dave said, do not mix Dojo versions. If you need Dojo 1.x, you are better off not using the s2 ajax

Re: Struts 2 + Ajax and Back Button

2008-06-30 Thread Owen Berry
Dojo 0.4 back button support: http://dojotoolkit.org/book/dojo-book-0-4/part-7-utilities/back-button-and-bookmarking What version of Dojo is included with Struts 2.0.11? Is it 0.4? On Mon, Jun 30, 2008 at 2:15 PM, cree [EMAIL PROTECTED] wrote: Thank you all for your replies. I guess at this

Re: Struts 2 + Ajax and Back Button

2008-06-30 Thread cree
Owen Berry wrote: Dojo 0.4 back button support: http://dojotoolkit.org/book/dojo-book-0-4/part-7-utilities/back-button-and-bookmarking What version of Dojo is included with Struts 2.0.11? Is it 0.4? From my readings it supported 0.4.x, dave mentioned possibly 0.4.5. Thanks for

Re: struts 1 ajax integration

2008-06-18 Thread Daniel
I saw ajaxparts, i have tried to use it, but when i have put a button in the page, according to their tutorial, nothing happened. Not even a javascript error. Other fmw, not necessarily based on tags that can be integrated in struts 1, are any? I think that dojo can be integrated, but it is

Re: struts 1 ajax integration

2008-06-18 Thread Lalchandra Rampersaud
:55 PM Subject: Re: struts 1 ajax integration I saw ajaxparts, i have tried to use it, but when i have put a button in the page, according to their tutorial, nothing happened. Not even a javascript error. Other fmw, not necessarily based on tags that can be integrated in struts 1, are any? I

Re: struts 1 ajax integration

2008-06-17 Thread Laurie Harper
Daniel wrote: Hello, Are there any good options to integrate ajax with struts 1? I woul like something based o tags. My problem is that i have an upload form html:form action=/something enctype=multipart/form-data styleId=somethingId. and the input files are like : html:file

Re: struts 1 ajax integration

2008-06-17 Thread Frank W. Zammetti
FYI, AjaxTags hasn't been supported or developed in a couple of years (the AjaxTags Laurie refers to here I mean... there's a whole AjaxTags project separate from this that's still very much alive). AjaxTags evolved into the AjaxParts Taglib, or APT for short, which is a component of Java Web

Re: Struts 2 AJAX editable grid

2008-04-21 Thread tom tom
Thanks I will have a look, Lot of grids got the limitation to have combo boxes in the Grid, If any such Grid someone knows that will be great, we are looking for a such a grid with Sorting and Pagination features. Has anyone enhanced the ftl to share with us. Thanks --- Jeromy Evans [EMAIL

Re: Struts 2 AJAX editable grid

2008-04-21 Thread Jeromy Evans
I use YUI. Have a look at Satyam's demo of the editable datagrid to see if it's suitable: http://www.satyam.com.ar/yui/DataGrid.html It supports client-side and server-side pagination and sorting: http://developer.yahoo.com/yui/datatable/ tom tom wrote: Thanks I will have a look, Lot of

Re: Struts 2 AJAX editable grid

2008-04-21 Thread tom tom
Hi, They both look good, As I stated, I am looking for a one with Select box inside, none of them contains a select box inside the grid Thanks --- Jeromy Evans [EMAIL PROTECTED] wrote: I use YUI. Have a look at Satyam's demo of the editable datagrid to see if it's suitable:

Re: Struts 2 AJAX editable grid

2008-04-21 Thread Jeromy Evans
tom tom wrote: Hi, They both look good, As I stated, I am looking for a one with Select box inside, none of them contains a select box inside the grid It does. Column 4: State http://developer.yahoo.com/yui/examples/datatable/dt_cellediting.html YUI allows you to create customer cell

Re: Struts 2 AJAX editable grid

2008-04-20 Thread Jeromy Evans
tom tom wrote: Hi, What exactly the benefits of moving from struts 2.0.6 to 2.0.11. Mainly important bugfixes and security fixes. There are few new features. 2.0.x - 2.1 provides better ajax tags and new plugins. As far as the Ajax support is concerned, we do have a requirement to have

RE: struts 2 ajax how to

2008-03-26 Thread Deepak Kumar
HI, Dojo comes with struts 2. You can use dojo in your struts 2 applications. Please learn it from http://www.roseindia.net/struts/struts2/struts2ajax/index.shtml Thanks -Original Message- From: Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2008 7:05 PM To:

Re: struts 2 ajax how to

2008-03-26 Thread Piero Sartini
Am Mittwoch, 26. März 2008 14:35:26 schrieb Daniel: Hello, What is the best solution to integrate struts 2 and ajax? What libraries? DOJO is shipped with Struts2 - but my impression is that most people do use other frameworks like jQuery or prototype, writing their AJAX code by hand. I will

Re: Struts 2.0.9 + Ajax tags + IE7

2007-12-18 Thread Jeromy Evans
Pablo Vázquez Blázquez wrote: Hello, I´m building a web application using Struts 2.0.9. Till now, I have been using only Firefox to check it works successfully and it was OK, but now, when the development process is being finished I tried the application in IE7 and no Ajax tag work!! Is it a

Re: Struts 2.0.9 + Ajax tags + IE7

2007-12-18 Thread Pablo Vázquez Blázquez
First all, thank you for your reply. I´m giving you an example: I have the following jspx: ** CODE *** jsp:root xmlns=http://www.w3.org/1999/xhtml; xmlns:jsp=http://java.sun.com/JSP/Page; xmlns:fmt=http://java.sun.com/jsp/jstl/fmt;

Re: Struts 2.0.9 + Ajax tags + IE7

2007-12-18 Thread Pablo Vázquez Blázquez
Well I have solved it by setting the attribute showLoadingText=false. Now my app works OK in FF and IE{6,7} Pablo Vázquez Blázquez escribió: First all, thank you for your reply. I´m giving you an example: I have the following jspx: ** CODE *** jsp:root

Re: Struts 2 / AJax : Ajax with Freemarker examples

2006-11-29 Thread Musachy Barroso
of using any/current versions. Ask? I asked here... == Subject: Re: Struts 2 / AJax : Ajax with Freemarker examples From: Musachy Barroso [EMAIL PROTECTED] Date: Tue, 28 Nov 2006 09:55:26 -0500 To: Struts Users Mailing List user@struts.apache.org What version are you using? It doesn't seem

Re: Struts 2 / AJax : Ajax with Freemarker examples

2006-11-28 Thread Musachy Barroso
What version are you using? It doesn't seem to be much documentation about struts + ajax, but feel free to ask. There is a video and an slide presentation here: http://cwiki.apache.org/S2WIKI/articles-and-press.html, but I think the video link is broken. musachy hanasaki wrote: Anyone have

Re: Struts and AJAX

2006-07-03 Thread C. Grobmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can I use struts with AJAX. Does struts has classes and tags for AJAX or do I have write my own code. i have used: * http://dojotoolkit.org/ with struts recently. I like this very much although this does not consist of taglibs but of pure

Re: Struts and AJAX

2006-07-03 Thread Jorge Martín Cuervo
I use struts + DWR to develope ajax applications. http://getahead.ltd.uk/dwr/ El lun, 03 de 07 de 2006 a las 05:57, chamal desilva escribió: Hi, Can I use struts with AJAX. Does struts has classes and tags for AJAX or do I have write my own code. Thanking You, Chamal.

RE: Struts and AJAX

2006-07-03 Thread draegoon Z
Hey, I use DWR + dojo to use AJAX with struts: http://getahead.ltd.uk/dwr/ http://dojotoolkit.com/ Although dojo has some flashy widgets and stuff, its power is the dojo.io.bind() function: http://dojotoolkit.org/docs/intro_to_dojo_io.html Here is an example of using Struts

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
I'm a big fan of DWR as well, it's a very worthy alternative. But, I don't mind a little self-promotion, so... how does this strike you? ... ajaxConfig group ajaxRef=MyForm form=compose_mail_form element ajaxRef=SubmitButton requestHandler type=std:QueryString

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
Oops, messed up my own config file! Should be... ajaxConfig group ajaxRef=MyForm form=compose_mail_form element ajaxRef=SubmitButton event type=onclick target=/process_new_mail.do requestHandler type=std:QueryString parameterto=to/parameter /requestHandler

Re: Struts and AJAX

2006-07-03 Thread draegoon Z
user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: Struts and AJAX Date: Mon, 03 Jul 2006 14:03:45 -0400 Oops, messed up my own config file! Should be... ajaxConfig group ajaxRef=MyForm form=compose_mail_form element ajaxRef=SubmitButton event

Re: Struts and AJAX

2006-07-03 Thread draegoon Z
user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: Struts and AJAX Date: Mon, 03 Jul 2006 14:03:45 -0400 Oops, messed up my own config file! Should be... ajaxConfig group ajaxRef=MyForm form=compose_mail_form element ajaxRef=SubmitButton event

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
Good questions! Let me see if I can answer them... draegoon Z wrote: What about errors in the ActionForm? APT doesn't say anything at all about what happens on the server, so, the short answer is its up to you :) The longer answer is that each of the response handlers (as of the latest

Re: Struts and AJAX

2006-07-03 Thread draegoon Z
] From: Frank W. Zammetti [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: Struts and AJAX Date: Mon, 03 Jul 2006 14:54:47 -0400 Good questions! Let me see if I can answer them... draegoon Z wrote: What

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
draegoon Z wrote: Sounds great so far, but I think I lost you on the first part. Let's work through a simple problem... Let's say I have in my struts-config: action path=/my_action forward=tile.my_action / action path=/success forward=tile.success / action path=/error forward=tile.error /

Re: Struts and AJAX

2006-07-03 Thread Rick Reumann
Just wanted to say +1 for the JWP tags. Plus the support you get it is top-notch. Use them. On 7/3/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: draegoon Z wrote: Sounds great so far, but I think I lost you on the first part. Let's work through a simple problem... Let's say I have in my

Re: Struts and AJAX

2006-07-03 Thread Michael Jouravlev
On 7/3/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: draegoon Z wrote: Sounds great so far, but I think I lost you on the first part. Let's work through a simple problem... Let's say I have in my struts-config: action path=/my_action forward=tile.my_action / action path=/success

Re: Struts and AJAX

2006-07-03 Thread draegoon Z
PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: Struts and AJAX Date: Mon, 03 Jul 2006 15:38:17 -0400 draegoon Z wrote: Sounds great so far, but I think I lost you on the first part. Let's work through a simple

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
Michael Jouravlev wrote: Frank, please ignore my ignorance, Ignorance is thinking you know something when you don't... not knowing something you have no experience with isn't :) if I understand correctly, an Action still returns a full page, but your JS engine parses the response and

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
draegoon Z wrote: That CodeExecuter is nice! Thanks! The interesting thing is that as of beta5, it doesn't matter what response handler you use, the script blocks will ALWAYS be executed. That's why there's a seemingly superfluous DoNothing handler... you may want to use that instead of

Re: Struts and AJAX

2006-07-03 Thread draegoon Z
@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: Struts and AJAX Date: Mon, 03 Jul 2006 17:47:06 -0400 draegoon Z wrote: That CodeExecuter is nice! Thanks! The interesting thing is that as of beta5, it doesn't matter what response handler you use, the script

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
draegoon Z wrote: Why doesn't APT get this same response? What response does it get? As far as I can see, it *SHOULD* get the same response, the only difference would be what happens on the client-side with it. Why doesn't it get forwarded to the input page automatically, returning it in

Re: Struts and AJAX

2006-07-03 Thread draegoon Z
BY DRAEGOONZ Joseph DraegoonZ McGranaghan http://www.draegoonZ.com 603-620-0854 [EMAIL PROTECTED] From: Frank W. Zammetti [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: Struts and AJAX Date: Mon, 03

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
://www.draegoonZ.com 603-620-0854 [EMAIL PROTECTED] From: Frank W. Zammetti [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: Struts and AJAX Date: Mon, 03 Jul 2006 18:51:43 -0400 draegoon Z wrote: Why doesn't

Re: Struts and AJAX

2006-07-02 Thread thamizh arasu
Hi, For ur purpose struts is having ajaxtags. through which you can use ajax in your struts application. Refer http://ajaxtags.sourceforge.net/. chamal desilva [EMAIL PROTECTED] wrote: Hi, Can I use struts with AJAX. Does struts has classes and tags for AJAX or do I have write my own code.

Re: Struts and AJAX

2006-07-02 Thread Frank W. Zammetti
Depending on what version of Struts you use, there *IS* in fact an AJAX-enabled version of the HTML taglib: http://struts.sourceforge.net/ajaxtags/index.html However, this taglib is now superseded by a far superior option:

Re: Struts and Ajax

2006-04-06 Thread chuanjiang lo
go take a look at http://javawebparts.sourceforge.net they have a ajax dynamic double select servlet.. On 4/6/06, Madhav Bhargava [EMAIL PROTECTED] wrote: Hi All, I have 2 drop downs in my JSP. One drop down gets populated based on the value selected in the other drop down. At present

Re: Struts and Ajax

2006-04-06 Thread [EMAIL PROTECTED]
If you would like to create a helper class for your ajax stuff, here is a link to show you what your Java code would look like. Follow Setup Configuration to see how to set it up. http://www.xoscript.org/opencms/opencms/documentation/aboutjava.html Here is what the JavaScript code would look

re: Struts and Ajax

2006-04-06 Thread Dean, Michael
Madhav: I think the idea IS: Once your data stream (drop-down content) is returned to the page (onReadyStateChange()), you'll have a JavasScript handler in place to refresh your drop-down (you manipulate and re-render the DOM node using Javascript). It is all done on the front-end...

Re: Struts and Ajax

2006-04-06 Thread Frank W. Zammetti
On Thu, April 6, 2006 3:18 am, Madhav Bhargava said: I do not want to put any Html generating logic inside my action class. Is there any other elegant way in which i can generate the HTML for the drop down. I can very well write different methods to generate the HTML code and then call these

re: Struts and Ajax

2006-04-06 Thread mcmoisei
You also can do it transparently using ajaxanywhere.sourceforge.org Define a refresh zone around that dropdown you want to populate and then your onchange will do the regular re-post to bring data from server then instruct your zone to refresh and data will appear miracoulosly... :) There

RE: Struts and AJAX

2006-04-04 Thread Rakesh.Bhat
This http://www.omnytex.com/articles/xhrstruts/ might help u. Kind regards, Rakesh Bhat PrimeSourcing(tm) The Global IT Services business from i-flex - Add Value Reduce Risk www.iflexsolutions.com/services/services.asp i-flex solutions limited - Bangalore Phone : +91(080) 5759-6873 Email

Re: Struts and AJAX

2006-04-04 Thread Frank W. Zammetti
Struts Wiki page: http://wiki.apache.org/struts/AjaxStruts See especially the article referenced on this page for a decent introduction as well as example Struts app. Probably the best starting point. After that, have a look at AjaxTags here: http://javawebparts.sourceforge.net (Click