Struts 2.3.28.1 - Populate Java Property from Controller inside JavaScript

2016-08-26 Thread Guilherme Bisconcini
Hi all, First of all, greetings, from Brazil. I would like to populate this Java Script variable with name *flightPlanCoordinates *from a Action Controller. var flightPlanCoordinates = [ {lat: -23.533592, lng: -46.742744}, {lat: -23.533592, lng: -46.742744}, {lat: -23.533870, lng: -46.742804

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

2016-06-27 Thread Guilherme Bisconcini
it 2" > indicator="indicator" > button="true" > /> > > > > > Best Regards > > Johannes > > # &

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.3.28.1 and Jso

Re: How to pre-select a select combo box

2016-06-21 Thread Guilherme Bisconcini
I don't think that you need the select attribute. > > > > > I got mail from Martin where he points out that you can use value > attribute of select tag: > > > > > > Of course you can use expressions to get it from action. > > > Regards, > Christ

How to pre-select a select combo box

2016-06-20 Thread Guilherme Bisconcini
Hi, I'm trying to pre-select a select combo box, for 2 hours. No success. Can anyone give some help? Here are the JSP file INIT > novaPessoa.jsp ** * * * * * ## HERE ARE THE SELECTION COMBO BOX!* * * * * * * * Nova Empresa* * * * * * * * * * * *