• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

RemoteCommand request inside primeface datatable

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I'm calling google maps api to calculate the distance between two supplier post codes.
I'm displaying the result using prime face dataTable. I would like to be able to display all the
details of all suppliers without having to wait for the distance. Once the distance comes back
from google maps api, the result should then populate the distanceToSuplier within the table.
I have been looking at using primeface remoteCommand, but I'm not sure if this is the correct approach.
(i.e. supplierController.calculateSupplierDistance makes the call to google maps api)




Mat
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic