• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
reply
    Bookmark Topic Watch Topic
  • New Topic