1 Reply Latest reply on Jan 9, 2009 1:40 PM by nbelaevski

    displaying suggestionBox on onclick event

    pacific

      Hi,

      I m using richfaces 3.1.6. I am using suggestionBox and its working fine.
      Now I am trying to give combo like fucntionality also alongwith suggestionBox.
      ie. I want to display suggestion on click of downArrow image.

      I have seen suggesionBox demo of richafaces 3.2 and it has this facility by using Object selection feature.

      How can i achieve it in 3.1.6. i have tried by explicitly firing event using javascript as follows...But its not working.

       //Firefox
       var evObj = document.createEvent('KeyboardEvent');
       evObj.initEvent( 'keypress', true, false );
       fireOnThis.dispatchEvent(evObj);
      


      thanks in advance

      regards
      prashant