0 Replies Latest reply on Oct 4, 2009 7:41 AM by chung siu man

    Fail to pass value from key of resources bundle, as paramete

    chung siu man Newbie

      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