7 Replies Latest reply on Jun 4, 2008 3:28 PM by Nick Belaevski

    suggestionbox - nothingLabel does not work with EL

    Daniel Soneira Novice

      I can't use an EL expression on either the attribute nothingLabel or applied as a facet - static values work.

      Environment: RF 3.1.5 / MyFaces 1.1.5 / Facelets 1.1.14

      Working examples:

      <rich:suggestionbox nothingLabel="works" .../>
      
      <rich:suggestionbox>
       <f:facet name="nothingLabel"><h:outputText value="works too"/></f:facet>
      </rich:suggestionbox>
      


      Not working:
      <rich:suggestionbox nothingLabel="${messages.does_not_work}"/>
      
      <rich:suggestionbox>
       <f:facet name="nothingLabel"><h:outputText value="${messages.this_works_neither}"/></f:facet>
      </rich:suggestionbox>
      


      When I try some nonsens input (no suggested item available):
      Instead of the text there is NOTHING shown - no error text - nothing.