1 Reply Latest reply on Apr 18, 2011 4:21 AM by anicapil

    How to set header on rich:pickList?

    anicapil

      I am trying to set header on rich:pickList, but can not aligned right. Can anybody help this out?

       

       

       

      <table width="420px">

       

                      <tr>

       

                          <rich:column rowspan="2">

                          </rich:column>

                          <rich:column width="30px">

                              <h:outputText value="Available Locales" />

                          </rich:column>

                          <rich:column width="30px">

                              <h:outputText value="Configured Locales" />

                          </rich:column>

       

                         <!--td><h:outputLabel value="Available Locales"/></td>

                          <td align="left"><h:outputLabel value="Configured Locales"/></td-->

                      </tr>

                      <tr>

       

       

                          <td colspan="2">

                              <rich:pickList id="localeShuttle" listsHeight="400px"

                                             value="#{configurationManager.selectedArgumentTypeLocales}"

                                             required="true"

                                             requiredMessage="#{messages.error_select_production_countries}"

                                             copyControlLabel="#{messages.label_add_selected_button_title}"

                                             copyAllControlLabel="#{messages.label_add_all_button_title}"

                                             removeControlLabel="#{messages.label_remove_selected_button_title}"

                                             removeAllControlLabel="#{messages.label_remove_all_button_title}"

                                             converter="#{configurationManager.localeEntityConverter}">

       

                                  <f:selectItems id="availableLocales"

                                                 value="#{configurationManager.availableLocaleSelectItems}"/>

                              </rich:pickList>

                          </td>

                      </tr>

       

       

      Headers are : Available Locales And Configured Locales

      RichPickList.bmp

        • 1. How to set header on rich:pickList?
          anicapil

          It was not so difficult, i just got panic ... here comes answer

           

          <div class="label"

                                                   style="float: left; padding-left: 8px; width: 270px;">#{messages.label_available_arg_typ}</div>

                                              <div class="label">#{messages.label_configure_arg_typ}</div>

           

          thanks anyway!