4 Replies Latest reply on Jun 8, 2010 6:40 AM by fantaisie

    call richfaces components in javascript

    fantaisie

      hi there,

       

      currently I am facing a problem,

       

      i am using google maps api to develop a page allow user to specify the directions and trips.

       

      when I add a marker on the map, i want to call a richfaces components like a model panel to display the geocoded address.

       

      i add the "#{rich:component('panel')}.show();" at the end of my js function but it doesn't work...

       

      function addMarker(){

           //google maps api code

       

           #{rich:component('panel')}.show();

      }

       

      any help will be appreciated.