1 Reply Latest reply on Mar 26, 2010 4:35 PM by Charleen Miguel

    Using the result of a <h:outputFormat as a label of <rich:tab

    Christian Groove Newbie

      Dear Sirs, i

       

      i am using a NLS message catalog for to support for internationlisation.
      Therefore i do use a f:loadBundle to be able to address the contens
      for label and so one.

       


      One of the NLS message does contain parameters like this:

       

      (extracts form the property file)
      ...
      tari_tab_label=Mr {0} pane
      ...


      In JSF i would write:

      <h:outputFormat value="#{msg.tari_tab_label}">
          <f:param value="#{customers.name}"/>
      </h:outputFormat>

       

      Now i do need exactly this functionality to have this

      parameter assignment for my rich.tab name, like this

       

      <rich:tab >
         <f:facet name="header">
               <h:outputFormat value="#{msg.tari_tab_label}">
                     <f:param value="#{customers.name}"/>
                          </h:outputFormat>
                      </f:facet>

           </h:outputFormat>

      </f:facet

       

      .. but this does not work too!

       

      Does somebody has a good solution for me ??

      Thank you in advance!