2 Replies Latest reply on Jul 2, 2010 1:35 PM by Manoj Kumar

    Rich:ComboBox is not displaying validation Messages Properly

    Manoj Kumar Newbie

      Hi

        I am trying to display requried validation message for ComboBox and its displaying the message propely. It diaplays message with some gaps. test.bmp

      See the attached image.

       

      Please see the code for jsp

       

      <h:panelGrid columns="4" style="boder:0; cellspacing:10" width="100%">

                         <h:outputText id="prowatchbuilding_label" value="Issuing Location:"/>
                          <rich:comboBox id="issuedloactionDropDown" value="#{issueTempCardBean.issuedLocation}"
                                         defaultLabel="Click here to select" required="true" enableManualInput="false">
                              <f:selectItems value="#{issueTempCardBean.issuedLocationList}" />
                          </rich:comboBox>
                          <rich:message for="issuedloactionDropDown">
                              <f:facet name="errorMarker">
                                  <h:graphicImage value="/images/error.gif" />
                              </f:facet>
                          </rich:message>
      </h:panelGrid>

       

      Also, there are only 3 component and it should be diplayed properly with 3 columns but if i give 3 columns the it wraps the validation message. Can someone please help me .

       

      Manoj