1 Reply Latest reply on Oct 5, 2009 1:26 PM by blabno

    pass parameter to modal panel (resource file key and value pairs)

      Hi all,

      I plan to pass parameter to modal panel.
      The passed parameter I expected, is the value of the key from resources bundle.
      But I fail to do this.
      The result I do is only the key of the resources bundle.

      Can anyone help me?

      JSF statement below
      --------------------

      <a:commandButton
      ...
      oncomplete="#{foundRecord ? 'Richfaces.hideModalPanel(\'ProgressModalPanel\');' :
      'Richfaces.hideModalPanel(\'ProgressModalPanel\'); Richfaces.showModalPanel(\'ProgressNoRecordFoundPanel\',{param1:\'#{bundle.DialogNoRecordFound}\'}  );'}" />            

      Note:
      resource file key and value pairs
      ---------------------------------
      DialogNoRecordFound=Recod not Found