3 Replies Latest reply on Oct 8, 2007 7:32 AM by Alexander Kovachev

    Problem with ForceRender and message bundles

    Alexander Kovachev Newbie

      When using ForceRender on component with value to be displayed from .properties file it does not display the value from the bundle.

      <h:dataTable ..... >
      <h:panelGrid id="buttons">
       <a4j:commandButton value="#{msg.change}" rendered="#{!bidDataBean.editableField}"
       <a4j:ajaxListener type="org.ajax4jsf.ajax.ForceRender" />
       <a4j:commandButton value="#{manmsg.save}"
       <a4j:ajaxListener type="org.ajax4jsf.ajax.ForceRender" />

      The message bundle var is "msg". The bundle is loaded properly. The problem is that rerendering that panel grid with ForceRender it does not take the value from the bundle for the new button name. (when clicking on the "edit" button I get the new "save" button with no vlaue - just an empty button)