Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RemoteCommand request inside primeface datatable  RSS feed

Mat Anthony
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • 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)

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!