9 Replies Latest reply on Aug 20, 2013 9:38 AM by lfryc

    Richfaces.hideModalPanel in RichFaces4


      Hello. In privious version of RichFaces(3.3.3) I have used such structure @oncomplete="if (data == 'success') {Richfaces.hidePopupPanel('delete_trader_modal_panel');} else {Richfaces.showPopupPanel('show_notification_delete_trader');}" for checking  if the rezult of clicked event was successful. Now it doesn`t work. I tried such thing  @oncomplete="if (data == ''success'') #{rich:component('add_new_trader_modal_panel')}.hide(); else #{rich:component('add_new_trader_modal_panel')}.show();" but again nothing hapense.

      What is wrong?