1
want to pass my java script function to the bean when loading the page, no need to click the button ? I am using the remote, onPoint([{name:'latitude',value:latitude},{name:'longitude',value:longitude}]);
1
want to pass my java script function to the bean when loading the page, no need to click the button ? I am using the remote, onPoint([{name:'latitude',value:latitude},{name:'longitude',value:longitude}]);
Browser other questions tagged javascript java jsf-2.2 xhtml primefaces-5.2
You are not signed in. Login or sign up in order to post.
Hello Abby, reading your question is not very clear what you are trying to do and what problem you are having. Start by writing an example code that isolates your problem (read more about Mvces), then complete your question with all the information you would need to understand your problem if you were a developer without any knowledge or access to the system (in which case you will answer the question). With this information edit your question and your chance to get an answer will increase considerably.
– Anthony Accioly
I believe that you want to pass parameters to a remoteCommand from a Javascript. If I understand correctly, review your question and I’ll answer it with a functional example.
– Marcus Martins