2 Replies Latest reply on Oct 11, 2014 11:21 AM by Kamil Roman

    itemLabelEscaped ignored for rich:select and rich:pickList -> how not to escape labels in pickList and select

    Kamil Roman Newbie

      Hi,

       

      Is there any possibility to include unescaped markup and/or HTML entities in f:selectItems and rich:select in RF 4.3.7?

       

      I tried using <f:selectItems value="#{myBean.valuesToFill}" itemLabelEscaped="false"/>

       

      e.g. to display text

       

      public List<String> getValuesToFill() {

              return Arrays.asList("should not be escaped: &copy;");

          }

       

      but while this works for ordinary h:selectOneMenu rich:select and rich:pickList seem to ignore it. Is it a bug? Is there any workaround to it?