Re: Struts 2

2018-06-22 Thread Yasser Zamani
Hello, try browser's developer tools. Open it's network and console tab and then click your add button. Then see if any JavaScript error is in console. Then check network tab and see what's the response for your server action call. I hope these help ☺ Regards. On Jun 22, 2018, at 2:25 AM,

Re: Struts 2

2018-06-22 Thread Martin Gainty
function addBulkSellerAgent() { > >var registrationId = ''; > > var sellerId = ''; > > var fileFileName = ''; > > var fromPage = 'sellerAgent'; > > var postData = "registrationId="+registrationId+ > > "=" +

RE: Struts 2

2018-06-22 Thread Deborah White
I was looking in the wrong place. Using jquery. -Original Message- From: Arjuna Bandara [mailto:arjunab...@gmail.com] Sent: Friday, June 22, 2018 9:35 AM To: Struts Users Mailing List Subject: Re: Struts 2 Hi, If you using dojo, you need to include dojo tag headers. Also keep in mind

Re: Struts 2

2018-06-22 Thread Arjuna Bandara
Hi, If you using dojo, you need to include dojo tag headers. Also keep in mind that dojo was depreciated from struts 2. So they advise to use jQuery. When you sending post request, its url should end with ".json" suffix. Regards Arjuna On Fri, Jun 22, 2018, 9:53 PM Deborah White wrote: >

RE: Struts 2

2018-06-22 Thread Deborah White
It appears we are using dojo plugin. I need to upload an excel file and then be able to hit the add button that sends to my action that imports the data into the database. I can send additional code and some screenshots if that would help. Is it better to take it outside of this email