Re: Ajax post url

2018-06-13 Thread Dave Newton
How do you expect it to work? What happens differently? On Wed, Jun 13, 2018 at 10:34 AM Arjuna Bandara wrote: > I want to send a post request with few attributes as a subsidiary to form > submission. > Js > > https://pastebin.com/embed_iframe/UEvTiBFz"; > style="border:none;width:100%"> > > Act

Ajax post url

2018-06-13 Thread Arjuna Bandara
I want to send a post request with few attributes as a subsidiary to form submission. Js https://pastebin.com/embed_iframe/UEvTiBFz"; style="border:none;width:100%"> Action class method https://pastebin.com/embed_iframe/CPPWRTSr"; style="border:none;width:100%"> Struts XML https://pastebi

Re: ajax for https in struts

2017-03-20 Thread Christoph Nenning
> From: Emi > To: Struts Users Mailing List , > Date: 17.03.2017 16:57 > Subject: ajax for https in struts > > Hello, > > Ajax methods work in http, but NOT https. > > Seems due to cross-origin HTTP request. Can you be more precise, please? What is the origina

ajax for https in struts

2017-03-17 Thread Emi
Hello, Ajax methods work in http, but NOT https. Seems due to cross-origin HTTP request. May I know how to setup "Access-Control-Allow-Origin" in struts/jsp/servlet please? Have tried the following but did NOT work. (1) mainlayout.jsp response.addHeader("Access-Contr

Re: Multiple Submit Buttons in Same Form using Jquery/Ajax

2016-06-27 Thread Guilherme Bisconcini
Worked, thank you very much! On Fri, Jun 24, 2016 at 12:05 PM, Johannes Geppert wrote: > Looks like you are using the Stuts jQuery Plugin. > You can specify th action url on this button itself. > > See example in the Showcase (AJAX/Form/AJAX Forms) > http://struts.jgeppert.com

Re: Multiple Submit Buttons in Same Form using Jquery/Ajax

2016-06-24 Thread Johannes Geppert
Looks like you are using the Stuts jQuery Plugin. You can specify th action url on this button itself. See example in the Showcase (AJAX/Form/AJAX Forms) http://struts.jgeppert.com/struts2-jquery-showcase/index.action AJAX Form Echo

Multiple Submit Buttons in Same Form using Jquery/Ajax

2016-06-23 Thread Guilherme Bisconcini
Hi, I have spent about 3 hours trying to do Multiple Submit Buttons in same form using Jquery/Ajax. I have tried https://struts.apache.org/docs/multiple-submit-buttons.html without success. I'm using Jquery with struts, so I think thats why it doens't work? because my Struts is: 2.

RE: struts2 interceptor session timeout with ajax

2016-03-30 Thread Martin Gainty
MG>pls see below > From: lukaszlen...@apache.org > Date: Wed, 30 Mar 2016 07:59:28 +0200 > Subject: Re: struts2 interceptor session timeout with ajax > To: user@struts.apache.org > > I think you must use `onSuccessTopics` instead of `onErrorTopics` - > returning 403 does

Re: struts2 interceptor session timeout with ajax

2016-03-29 Thread Lukasz Lenart
if(status1 == 403 ) { > window.location.href = "/Sample/login.action"; > } > }); > > > > > > > > > > From: Lukasz Lenart > Sent: Friday, March 11, 201

Re: struts2 interceptor session timeout with ajax

2016-03-29 Thread fea jabi
t: Friday, March 11, 2016 2:21 PM To: Struts Users Mailing List Subject: Re: struts2 interceptor session timeout with ajax It won't work that way, when using Ajax you must use Ajax to redirect to a login page. You can use something like this http://cypressnorth.com/programming/global-ajax-e

Re: struts2 interceptor session timeout with ajax

2016-03-11 Thread Lukasz Lenart
It won't work that way, when using Ajax you must use Ajax to redirect to a login page. You can use something like this http://cypressnorth.com/programming/global-ajax-error-handling-with-jquery/ so your interceptor must return 403 status code (it can return also an url to login page to red

Re: struts2 interceptor session timeout with ajax

2016-03-11 Thread fea jabi
Need help with this please. From: fea jabi Sent: Wednesday, March 9, 2016 10:51 AM To: user@struts.apache.org Subject: struts2 interceptor session timeout with ajax Have jquery tabbed panel in a jsp page which has a button to Save the form in the tabbed

struts2 interceptor session timeout with ajax

2016-03-09 Thread fea jabi
Have jquery tabbed panel in a jsp page which has a button to Save the form in the tabbed panel which is making an ajax call and is working fine. Now trying to implement the session management for all requests in the application and imlemented the new interceptor to perform the same. Having

RE: Textfield onchange --> handling ajax error response to show action errors

2015-09-02 Thread Martin Gainty
> To: user@struts.apache.org > Subject: RE: Textfield onchange --> handling ajax error response to show > action errors > From: christoph.nenn...@lex-com.net > Date: Wed, 2 Sep 2015 10:08:16 +0200 > > The documentation about ajax-validation might help you: > >

RE: Textfield onchange --> handling ajax error response to show action errors

2015-09-02 Thread Christoph Nenning
The documentation about ajax-validation might help you: http://struts.apache.org/docs/ajax-validation.html Basically you have to create JSON with 'errors' like this: http://struts.apache.org/docs/ajax-validation.html#AJAXValidation-Howitworks And you might use the JavaScrip

RE: Textfield onchange --> handling ajax error response to show action errors

2015-09-01 Thread fea jabi
Can you point me to a link that has the sample which does this please? I tried but couldn't get the result. Thanks, for trying to help me on this. > From: lukaszlen...@apache.org > Date: Sun, 30 Aug 2015 15:22:52 +0200 > Subject: Re: Textfield onchange --> handling ajax

Re: Textfield onchange --> handling ajax error response to show action errors

2015-08-30 Thread Lukasz Lenart
works on server side but JavaScript works on client side - it isn't possible to join them. You can only mimic its behaviour by adding the same html structure as does. 2015-08-28 17:14 GMT+02:00 fea jabi : > text-field onchange ---> making ajax call. > > > onsucess --->

Textfield onchange --> handling ajax error response to show action errors

2015-08-28 Thread fea jabi
text-field onchange ---> making ajax call. onsucess ---> everything works fine as needed on failure - > like user entered wrong data ---> How to show the error messages in jsp. I added fieldError but not sure how to show it in jsp with the ajax stuff. In jsp

Struts2 onchange event should do the same like submit(with ajax tag). How ?

2014-05-14 Thread jaskirat bamrah
just go through ..this .may help <%@ page contentType="text/html; charset=UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags"%> <%@ taglib prefix="sx" uri="/struts-dojo-tags"%>

Antwort: Showing Action Exception as Ajax Errors

2013-11-15 Thread Christoph Nenning
> Hi, > > We are using struts2 JSONValidationWithInterceptor. This interceptor > grabs the errors from validation and convert them to json message > How can we have same feature! An interceptor which grabs the action > exceptions and serialize them as json errors. > > I try below interceptor. Wh

Showing Action Exception as Ajax Errors

2013-11-15 Thread Alireza Fattahi
Hi, We are using struts2 JSONValidationWithInterceptor. This interceptor grabs the errors from validation and convert them to json message How can we have same feature! An interceptor which grabs the action exceptions and serialize them as json errors. I try below interceptor. When an exception

Re: struts1 with Ajax using struts tags

2013-11-12 Thread Dave Newton
Well, you *may* do that, but it's not a requirement; Ajax may return HTML etc. On Tue, Nov 12, 2013 at 2:34 PM, Paul Benedict wrote: > When you do AJAX in S1, you are always responding directly to the browser. > You need to write your data to the ServletOutputStream and return nul

Re: struts1 with Ajax using struts tags

2013-11-12 Thread Paul Benedict
When you do AJAX in S1, you are always responding directly to the browser. You need to write your data to the ServletOutputStream and return null. You do not need to use any ActionForward. Paul On Mon, Nov 11, 2013 at 9:35 PM, Narayana wrote: > I have a problem/doubt and describing here.I

struts1 with Ajax using struts tags

2013-11-11 Thread Narayana
I have a problem/doubt and describing here.I am using struts1.1(no plain jsp's only struts tags) and needs to implement ajax in that.Q-1) With out giving "action" property can't we write ?. If no I am using ajax in that form(now my form having button to submit form data). Could

Re: Prevent Ajax Multi-Request in Struts 2

2013-10-07 Thread jlmagc
- From: jlm...@gmail.com Date: Tue, 8 Oct 2013 05:23:05 To: Struts Users Mailing List; Alireza Fattahi Reply-To: jlm...@gmail.com Subject: Re: Prevent Ajax Multi-Request in Struts 2 What are you using on the client for the ajax calls? Dojo? Jquery? They both generate an http header “x

Re: Prevent Ajax Multi-Request in Struts 2

2013-10-07 Thread jlmagc
What are you using on the client for the ajax calls? Dojo? Jquery? They both generate an http header “x-requested-with” with value “XMLHTTPrequest”. A normal post can not add http headers, so checking for that header allows you to be sure the request was made using XHR. Since XHR cannot work

Re: Prevent Ajax Multi-Request in Struts 2

2013-10-07 Thread Alireza Fattahi
September 2013, 16:13 Subject: Re: Prevent Ajax Multi-Request in Struts 2 Hi,   Since XHR request can not be cross-domain, you can not get a CSRF through XHR( the browser will not allow other page to send a XHR to your server). The only option would be a normal post against your supposed-ajax URL

Re: Prevent Ajax Multi-Request in Struts 2

2013-09-30 Thread Alireza Fattahi
Thanks, I was lootking Multi-Request preventation, is my problem  equals to  CSRF issue.     ~Regards, ~~Alireza Fattahi From: Martin Gainty To: Struts Users Mailing List Sent: Friday, 27 September 2013, 0:12 Subject: RE: Prevent Ajax Multi-Request in

RE: Prevent Ajax Multi-Request in Struts 2

2013-09-26 Thread Martin Gainty
To Mitigate add a "nonce" to the form https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF) Saludos Martin- > Date: Thu, 26 Sep 2013 08:43:12 -0400 > Subject: Re: Prevent Ajax Multi-Request in Struts 2 > From: jlm...@gmail.com > To: user@struts.apache.o

Re: Prevent Ajax Multi-Request in Struts 2

2013-09-26 Thread Paul Benedict
end a XHR to your server). > The only option would be a normal post against your supposed-ajax URL. In > order to protect against it, we check for an HTTP header that is sent on > any ajax request by our javascript framework (Dojo). A normal form can not > be manipulate to add that head

Re: Prevent Ajax Multi-Request in Struts 2

2013-09-26 Thread JOSE L MARTINEZ-AVIAL
Hi, Since XHR request can not be cross-domain, you can not get a CSRF through XHR( the browser will not allow other page to send a XHR to your server). The only option would be a normal post against your supposed-ajax URL. In order to protect against it, we check for an HTTP header that is sent

Prevent Ajax Multi-Request in Struts 2

2013-09-25 Thread Alireza Fattahi
Hi, We want to avoid multi-request sent via Ajax in struts 2 web based application. The `s:token` can be used in regular request-response jsp pages, but it will not work for ajax requests. The problem is the returned respond, which does not populate new value for struts token. I found this

Re: AJAX Jsp tags

2013-08-12 Thread Chris Pratt
ts !! > > I have a question about tiles. I used tiles a lot in normal NON-AJAX base > sites. > Now I am designing a new fully ajax base site. > My question is why should I use tiles! The code which contains the base > layout is w

RE: AJAX Jsp tags

2013-08-12 Thread Martin Gainty
__ > Date: Mon, 12 Aug 2013 04:20:50 -0700 > From: afatt...@yahoo.com > Subject: Re: AJAX Jsp tags > To: user@struts.apache.org > > Thanks for you comments !! > > I have a question about tiles. I used tiles a lot in normal NON-AJAX base > sites. > Now I am d

Re: AJAX Jsp tags

2013-08-12 Thread Alireza Fattahi
Thanks for you comments !! I have a question about tiles. I used tiles a lot in normal NON-AJAX base sites. Now I am designing a new fully ajax base site. My question is why should I use tiles! The code which contains the base layout is written once. Consider below layout

Re: AJAX Jsp tags

2013-08-11 Thread Chris Pratt
sites. (*Chris*) On Sun, Aug 11, 2013 at 10:26 PM, Ken McWilliams wrote: > I have some experience creating custom struts2 tags, but for ajax I do not > advise this route at all. XML is not meant as a replacement for a > programming language, it is meant for configuration. It might seem &g

Re: AJAX Jsp tags

2013-08-11 Thread Ken McWilliams
I have some experience creating custom struts2 tags, but for ajax I do not advise this route at all. XML is not meant as a replacement for a programming language, it is meant for configuration. It might seem intuitive without further investigation that there are a limited number of HTML UI

Re: AJAX Jsp tags

2013-08-10 Thread Alireza Fattahi
, 8:22 Subject: Re: AJAX Jsp tags Don't use a JSP AJAX tag library. The dojo JSP tags didn't work well not because of dojo or an fault of the tag authors, the technologies simply don't mesh. It's as sane to program Java via XML as it is to program JavaScript via XML. XML is us

Re: AJAX Jsp tags

2013-08-08 Thread Ken McWilliams
Don't use a JSP AJAX tag library. The dojo JSP tags didn't work well not because of dojo or an fault of the tag authors, the technologies simply don't mesh. It's as sane to program Java via XML as it is to program JavaScript via XML. XML is used for configuration. At first gla

Re: AJAX Jsp tags

2013-08-08 Thread Chris Pratt
The dojo based tags are deprecated, the jQuery based tags are not. (*Chris*) On Thu, Aug 8, 2013 at 9:54 AM, Alireza Fattahi wrote: > Hi, > > I have confused with struts 2 ajax please correct me: > 1- The dojo plugin is deprecated ( > http://struts.apache.org/release/

AJAX Jsp tags

2013-08-08 Thread Alireza Fattahi
Hi, I have confused with struts 2 ajax please correct me: 1- The dojo plugin is deprecated (http://struts.apache.org/release/2.3.x/docs/ajax-tags.html) 2- According to above we are not recommended to use dojo plugin in new projects. 3- All tags that mentioned in above page like: a

Re: Why Ajax calls don't renew session timeout on Tomcat server?

2013-05-15 Thread Paul Benedict
on a Tomcat server (version 7). > I have set the session timeout value as 10 minutes in the web.xml file. In > pages with no Ajax call, the session time out value is reset promptly. But > it is not renewed on pages with Ajax calls. Web application is taking user > back to Login screen even th

Why Ajax calls don't renew session timeout on Tomcat server?

2013-05-15 Thread Norah Jones
Hi, I have a web application which is deployed on a Tomcat server (version 7). I have set the session timeout value as 10 minutes in the web.xml file. In pages with no Ajax call, the session time out value is reset promptly. But it is not renewed on pages with Ajax calls. Web application is

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> +91808969970

Re: struts 2 ajax choice

2013-05-14 Thread Ken McWilliams
ail > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité 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

RE: struts 2 ajax choice

2013-05-14 Thread Martin Gainty
accepter aucune responsabilité 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 r

Re: struts 2 ajax choice

2013-05-13 Thread john lee
Dave, so, as your experience, which one u recommend to use? JSON or S2Jquery? thanks in advance john  From: Dave Newton To: Struts Users Mailing List Cc: john lee Sent: Monday, May 13, 2013 5:03 PM Subject: Re: struts 2 ajax choice On Mon

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 wrote: > On Mon, May 13, 2013 at 5:56 PM, Mike Hao wrote: > > > Will the S2 jQuery plugin provide the similar functions as S2 dojo > plugin? > > > > The docs a

Re: struts 2 ajax choice

2013-05-13 Thread Dave Newton
On Mon, May 13, 2013 at 5:56 PM, Mike Hao 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 an independent p

Re: struts 2 ajax choice

2013-05-13 Thread Mike Hao
> > > > > > From: Paul Benedict > > To: Struts Users Mailing List ; john lee < > > sh_thorn_b...@yahoo.com> > > Sent: Monday, May 13, 2013 4:43 PM > > Subject: Re: struts 2 ajax choice > > > > > > Plea

Re: struts 2 ajax choice

2013-05-13 Thread Dave Newton
rn_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 wrote: > > > > > > > from the document, > > > > > >

Re: struts 2 ajax choice

2013-05-13 Thread john lee
So, JSON is the only choice ? thanks john From: Paul Benedict To: Struts Users Mailing List ; john lee 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

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 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

struts 2 ajax choice

2013-05-13 Thread john lee
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: Ajax and struts 1

2012-07-30 Thread Ing. Alvaro Gomez
in user servlet in ajax in single... call servlet in action is regenerate el code in html de selection On 30/07/2012 11:19 a.m., Adriana G wrote: I fill the select with a peersistent list than come from a method that returns a result from the DB. but i don't know how to update the s

Re: Ajax and struts 1

2012-07-30 Thread Dave Newton
a peersistent list than come from a method that > returns a result from the DB. > > but i don't know how to update the select without refresing the whole page, > that's why i'm trying ajax with this function, but i don't know how to use > it. > > On Mon, J

Re: Ajax and struts 1

2012-07-30 Thread Adriana G
I fill the select with a peersistent list than come from a method that returns a result from the DB. but i don't know how to update the select without refresing the whole page, that's why i'm trying ajax with this function, but i don't know how to use it. On Mon, Jul 30, 20

Re: Ajax and struts 1

2012-07-30 Thread Dave Newton
Define "doesn't work". What's in the response? JSON? How are you accessing the select element? I don't see anything where you set its ID or get it by its class name etc. What's in the JS console after your AJAX call returns? Anything? Dave On Mon, Jul 30, 2012

Re: How to organize "regular" Actions and "ajax/json" Actions

2012-06-08 Thread Burton Rhodes
n Rhodes wrote: > >> I have a web application that originally mapped only one action per >> page (for the most part).  Little by little it's grown to incoporate >> ajax/json actions (using Struts json plugin) that populate different >> parts of pages or update the databa

Re: How to organize "regular" Actions and "ajax/json" Actions

2012-06-08 Thread Dave Newton
ve On Fri, Jun 8, 2012 at 10:03 AM, Burton Rhodes wrote: > I have a web application that originally mapped only one action per > page (for the most part). Little by little it's grown to incoporate > ajax/json actions (using Struts json plugin) that populate different > parts of pages

How to organize "regular" Actions and "ajax/json" Actions

2012-06-08 Thread Burton Rhodes
I have a web application that originally mapped only one action per page (for the most part). Little by little it's grown to incoporate ajax/json actions (using Struts json plugin) that populate different parts of pages or update the database. My question is how best to organize thes

Re: AJAX Advice

2012-04-17 Thread Roy Six
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If you are looking to do this without the struts2-jquery-plugin and you want to directly use jquery's built-in Ajax functions like ".ajax" and the shortcut ".getJSON" (and so forth), that is very possible without much tr

Re: AJAX Advice

2012-04-17 Thread Johannes Geppert
One option is to use the Struts2 jQuery Plugin for Ajax and Widgets. But you can also use any JavaScript Framework to do this Job without any Struts2 Plugins. That's dependent from your Project. https://code.google.com/p/struts2-jquery/ Take a look at the Showcases to see how the Struts2 j

Re: AJAX Advice

2012-04-17 Thread stanlick
Take a peek at this <http://struts2-jquery.appspot.com/home.action> On Tue, Apr 17, 2012 at 2:13 AM, shobbi wrote: > Hi all, your advice is greatly appreciated. I need to use AJAX in my > Struts2 > 2.1.8 web application. What is the best option? > > I see DOJO mentioned in

AJAX Advice

2012-04-17 Thread shobbi
Hi all, your advice is greatly appreciated. I need to use AJAX in my Struts2 2.1.8 web application. What is the best option? I see DOJO mentioned in many places including Stuts2 official site. Also I see warning on the same site about the deprecation of the DOJO plugin. So I'm bit confuse

Re: Struts 1.1 and Ajax

2012-03-25 Thread Dave Newton
ect. > > Thanks > > -- > View this message in context: > http://struts.1045723.n5.nabble.com/Struts-1-1-and-Ajax-tp5588669p5592900.html > Sent from the Struts - User mailing list archive at Nabble.com. > > ---

Re: Struts 1.1 and Ajax

2012-03-25 Thread N P S Naidu
hi Dave, Thanks for responding for my Q. Am getting responseXML from as response.Now from that responseXML I need to get data from specific property of object. Thanks -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-1-1-and-Ajax-tp5588669p5592900.html

Re: Struts 1.1 and Ajax

2012-03-23 Thread Dave Newton
How are you making the request? What's being returned to the ajax call--json? Dave (pardon brevity and typos, on cell) On Mar 23, 2012 4:05 PM, "N P S Naidu" wrote: > hi, > Am using struts1.1 and ajax in my application development. I have send > asynchronous reques

Struts 1.1 and Ajax

2012-03-23 Thread N P S Naidu
hi, Am using struts1.1 and ajax in my application development. I have send asynchronous request to struts action class and got the response(ajax response). Now i have to get the value of one property from the struts formbean object. How to retrieve the required property from ajax response? Here

Best way to use ajax loading on s:submit

2012-01-09 Thread Leonardo Almeida
Hi, i would like to know what's the best way to load a page, when a user clicks on the menu (ajax loading). Im currently using struts-jquery plugin: where content is a div id. editUser.jsp result page have a with a submit button. Using doesnt loads the page on the div, but works Bu

Re: using ajax to populate select box

2011-12-30 Thread raj.prasad1224
Wherever that trucklist.jsp wants to append in the index.jsp page - Thanks & Regards, Rajendra Prasad Royal, Cognizant Technology Solutions. India -- View this message in context: http://struts.1045723.n5.nabble.com/using-ajax-to-populate-select-box-tp5109350p5110632.html Sent from

Re: using ajax to populate select box

2011-12-30 Thread raj.prasad1224
> If you reply to this email, your message will be added to the discussion > below: > > http://struts.1045723.n5.nabble.com/using-ajax-to-populate-select-box-tp5109350p5109977.html > To unsubscribe from using ajax to populate select box, click > here<http://struts.1

Re: using ajax to populate select box

2011-12-30 Thread raj.prasad1224
n you can make use of that .. to auto populate to the second text box depending on first text box.. - Thanks & Regards, Rajendra Prasad Royal, Cognizant Technology Solutions. India -- View this message in context: http://struts.1045723.n5.nabble.com/using-ajax-to-populate-s

using ajax to populate select box

2011-12-29 Thread sunitha
{ return sel_truck; } public void setSel_truck(String sel_truck) { MainAction.sel_truck = sel_truck; } public LinkedList getTransList() { return transList; } public void setTransList(LinkedList transList) { this.transList = transList; } public LinkedList getTruckList() { return truckList; } publi

Re: ajax validation with css_xhtml theme

2011-10-22 Thread Mano Pájaro
Guess so :/ any help though? -- Manolo Pájaro Santander Ingeniero de Sistemas IX Semestre (Actual) <> CUSOL-UAC Linux Registered User # 522026

Re: ajax validation with css_xhtml theme

2011-10-22 Thread Brian Thompson
Johannes > > > > - > > web: http://www.jgeppert.com > > twitter: http://twitter.com/jogep > > -- > > View this message in context: > > > http://struts.1045723.n5.nabble.com/ajax-validation-with-css-xhtml-theme-tp49053

Re: ajax validation with css_xhtml theme

2011-10-22 Thread serge nana
s message in context: > http://struts.1045723.n5.nabble.com/ajax-validation-with-css-xhtml-theme-tp4905398p4913082.html > Sent from the Struts - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail:

Re: ajax validation with css_xhtml theme

2011-10-18 Thread Mano Pájaro
- > web: http://www.jgeppert.com > twitter: http://twitter.com/jogep > -- > View this message in context: > http://struts.1045723.n5.nabble.com/ajax-validation-with-css-xhtml-theme-tp4905398p4913082.html > Sent from the Struts - User mailing list archive at Nabble.com. >

Re: ajax validation with css_xhtml theme

2011-10-18 Thread Johannes Geppert
Is there any Error Message in the JavaScript Console? Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://struts.1045723.n5.nabble.com/ajax-validation-with-css-xhtml-theme-tp4905398p4913082.html Sent from the Struts - User

ajax validation with css_xhtml theme

2011-10-15 Thread Mano Pájaro
Hello list! I have an issue using ajax validation with a form that uses the css_xhtml theme. Simply is not working! I've checked the interceptor and the extra js files that you have to add and it is all fine, when I change to xhtml theme it works! but i dont know what is happening wit

Re: Struts2 - Ajax submit not working: Please advise

2011-07-19 Thread jayakarjayaraman
trace out why its not working in IE 7. any one knows please reply. -- View this message in context: http://struts.1045723.n5.nabble.com/Struts2-Ajax-submit-not-working-Please-advise-tp3495486p4613051.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts 1.1 and ajax

2011-07-19 Thread Máximo Castillo
Hi, You can do some research about DWR and jQuery to add Ajax stuff. Regards, Max On Tue, Jul 19, 2011 at 2:24 PM, vicky b wrote: > HI , > > I am using struts 1.1 in our application , i am performance problem > hence i have decided to use ajax where ever possible. > I have

Struts 1.1 and ajax

2011-07-19 Thread vicky b
HI , I am using struts 1.1 in our application , i am performance problem hence i have decided to use ajax where ever possible. I have this page where it has large no input values in the form that is my form is big when i want to use ajax i have to construct i am facing tough time please let

Re: JQuery Grid Tag [ avoid ajax on load? ]

2011-06-27 Thread Johannes Geppert
Currently not. The tag only works together with a JSON Data Provider. Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://struts.1045723.n5.nabble.com/JQuery-Grid-Tag-avoid-ajax-on-load-tp4527455p4527629.html Sent from the

JQuery Grid Tag [ avoid ajax on load? ]

2011-06-27 Thread Muhammad Hassan
Hi, I am using jquery grid. Following ** * Any help in this is appreciated. Thanks Hassan

ajax request processing issue

2011-06-23 Thread sivaks75
Hi, I am using struts 2.2.3 version and pretty new to Struts. I have 2 issues with respect to handling ajax request. Issue 1: I defined a method in Action class and mapped that method to struts.xml mapping and gave that action class name in ajax request URL as given below. Javascript

Re: how to use ajax displaytag?

2011-05-10 Thread Eric Lentz
> I have one display-tag in my jsp page. I got the contents of the > display tag through ajax response. > > I need to set the display tag from that response using jquery. Please any > one help me in this. That's not a Struts question. Ask your question on stac

Re: how to use ajax displaytag?

2011-05-10 Thread elakkiya
hi, I have one display-tag in my jsp page. I got the contents of the display tag through ajax response. I need to set the display tag from that response using jquery. Please any one help me in this. -- View this message in context: http://struts.1045723.n5.nabble.com/how-to-use-ajax

Re: Ajax Reload on fieldset in a

2011-03-30 Thread Johannes Geppert
://twitter.com/jogep -- View this message in context: http://struts.1045723.n5.nabble.com/Ajax-Reload-on-fieldset-in-a-sj-dialog-tp4271087p4271682.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Ajax Reload on fieldset in a

2011-03-30 Thread Michael Obster
Hi, perhaps somebody has a hint for me. I'm calling a from a website and load there a JSP with 3 fieldsets. The content of the fieldsets are also loaded with AJAX (used a for that). Now I have a problem with the 3rd fieldset which I've used for saving attachments. After clickin

Re: Ajax in Struts2

2011-03-22 Thread frans
, 22 Mar 2011 09:24:03 To: Struts Users Mailing List Reply-To: "Struts Users Mailing List" Subject: Re: Ajax in Struts2 My recommendation for all things JavaScript would be jQuery. With, or especially without, the jQuery Plug-in. (*Chris*) On Tue, Mar 22, 2011 at 8:43 AM, webmeiker wr

Re: Ajax in Struts2

2011-03-22 Thread Chris Pratt
didn’t mention > JQuery? > > > 2011/3/22 > > > Any decent Javascript library will get you going with AJAX. You don't > need > > to worry about plugins for Struts, or anything that is Struts-specific. > > > > Start with http://prototypejs.org/learn

Re: Ajax in Struts2

2011-03-22 Thread Chris Pratt
My recommendation for all things JavaScript would be jQuery. With, or especially without, the jQuery Plug-in. (*Chris*) On Tue, Mar 22, 2011 at 8:43 AM, webmeiker wrote: > Hi, > > I want to ask the community for advice about the > technology/mechanism/plugin/library I should use

Re: Ajax in Struts2

2011-03-22 Thread webmeiker
Thanks Thomas, I will take that into account …but, why you didn’t mention JQuery? 2011/3/22 > Any decent Javascript library will get you going with AJAX. You don't need > to worry about plugins for Struts, or anything that is Struts-specific. > > Start with http://prot

RE: Ajax in Struts2

2011-03-22 Thread Thomas.Sattler
Any decent Javascript library will get you going with AJAX. You don't need to worry about plugins for Struts, or anything that is Struts-specific. Start with http://prototypejs.org/learn/introduction-to-ajax Or http://developer.yahoo.com/yui/connection/ Pick whichever one you like. Or lo

Ajax in Struts2

2011-03-22 Thread webmeiker
Hi, I want to ask the community for advice about the technology/mechanism/plugin/library I should use to AJAX-ize a new Struts2 app I am going to construct? What are the latest tendencies in this area? (Some previous research in Google provides me some confusion) Thanks --

Re: "Struts2 + dojo + ajax" for "confirm button"

2011-02-16 Thread Emi Lu
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 Luwrote: Good afternoon, I found very good examples for "ajax + asp": htt

Re: "Struts2 + dojo + ajax" for "confirm button"

2011-02-16 Thread Dave Newton
asons. 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 Lu  wrote: >>> &g

Re: "Struts2 + dojo + ajax" for "confirm button"

2011-02-16 Thread Emi Lu
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

Re: "Struts2 + dojo + ajax" for "confirm button"

2011-02-16 Thread Dave Newton
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. Dave On Wed, Feb 16, 2011 at 2:52 PM, Emi Lu wrote: > Good afternoon, > > I found very good examples for "

  1   2   3   4   5   6   7   8   9   10   >