1 Reply Latest reply on Feb 27, 2014 4:38 AM by Michal Petrov

    <f:selectItem itemLabel="mg.l<SUP>-1</SUP>" /> The value of attribute "itemLabel" associated with an element type "null" must not contain the '<' character.

    Anton Sucha Newbie

      Hi everybody,

       

      I need to put units symbol with superscript/subscript into the combo box

      but the following syntax:

       

      <h:selectOneMenu >

          <f:selectItem itemLabel="ng.l<SUP>-1</SUP>" />

          <f:selectItem itemLabel="µg.l<SUP>-1</SUP>" />

          <f:selectItem itemLabel="mg.l<SUP>-1</SUP>" />

      </h:selectOneMenu>

       

      raise the following error:

      The value of attribute "itemLabel" associated with an element type "null" must not contain the '<' character.

       

      The tags &sup1; , &sup2; and &sub3 are not useful.

       

      Any idea to have superscript/subscript possibility in combo box?

       

      Regards,

       

      Anton