1 Reply Latest reply on Nov 7, 2007 10:18 AM by Tomas Petersson

    Problem with

    Tomas Petersson Newbie

       

      Hello, I have a problem with "<f:facet name="aroundInvalidField">" rendering. The SPAN is not rendered around my field, but before it.
      
      Excerpts from my code:
      <f:facet name="aroundInvalidField">
       <span style="border-color: blue blue blue blue; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: solid;"/>
      </f:facet>
      
      <s:decorate>
       <h:inputText
       id="tiBillCodeId"
       value="#{_billCode.tiBillCodeId}">
       <s:validate/>
       </h:inputText>
      </s:decorate>
      
      Rendered HTML output:
      <div id="sioForm:billCodeTable:0:j_id24">
       <span style="border-color: blue blue blue blue; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: solid;"></span>
       <input id="sioForm:billCodeTable:0:j_id24:tiBillCodeId" type="text" name="sioForm:billCodeTable:0:j_id24:tiBillCodeId" value="bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla " class="inputText" tabindex="39" />
       <span class="errorMessage">måste vara mellan 1 och 30 tecken</span>
      </div>