Thanks Nathan, I want to drive the process from the submission of the login form, not from the render process. So I could fire some JavaScript after the login succeeds but how does the JS push the data to the page? Maybe I could use an entirely hidden form and submit it from the JS?
John On Tue, Aug 30, 2016 at 8:24 AM, Nathan Quirynen < [email protected]> wrote: > Hi > > I guess you could do something like the following: > > Create a component just containing two hidden fields and in the after > render event of this component run a javascript module where you get the > longitude and latitude and set these values to your hidden fields. > Add two parameters (latitude and longitude) to the components java class > to which you pass the latitude and longitude properties from your page that > have to be set when submitting the form. Use these parameters in your > component as the values for your hidden fields. > Then you can add this component inside any form where you need. > > Nathan > > > > On 30/08/16 01:10, Qbyte Consulting wrote: > >> Hi, >> >> Does anyone have an idea how to pass latitude and longitude as hidden >> values in a login for with T5.4, or any other tricks to get this data into >> a component? >> >> John >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
