tableStyleClass="table table-full"
paginator="true"
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
- widgetVar="mobileProviderTable"
+ widgetVar="mobileProviderList"
filteredValue="#{mobileProviderController.filteredMobileProviders}"
rows="10"
reflow="true"
rowsPerPageTemplate="5,10,20,50,100"
sortMode="multiple"
summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_MOBILE_PROVIDERS}"
- emptyMessage="#{msg.ADMIN_MOBILE_PROVIDER_LIST_EMPTY}"
+ emptyMessage="#{msg.ADMIN_EMPTY_LIST_MOBILE_PROVIDER}"
widgetVar="mobileProviderList"
>
<p:column headerText="#{msg.ADMIN_LIST_MOBILE_PROVIDER_COUNTRY}" sortBy="#{mobileProvider.providerCountry.countryPhoneCode}" filterBy="#{mobileProvider.providerCountry}" filterMatchMode="in">
<f:facet name="filter">
- <p:selectCheckboxMenu filter="true" filterMatchMode="contains" label="#{msg.LABEL_COUNTRIES}" onchange="PF('mobileProviderTable').filter()" updateLabel="true" title="#{msg.FILTER_BY_MULTIPLE_COUNTRY_TITLE}">
+ <p:selectCheckboxMenu
+ filter="true"
+ filterMatchMode="contains"
+ label="#{msg.LABEL_COUNTRIES}"
+ onchange="PF('mobileProviderList').filter()"
+ updateLabel="true"
+ title="#{msg.FILTER_BY_MULTIPLE_COUNTRY_TITLE}"
+ >
<f:converter converterId="CountryConverter" />
<f:selectItems value="#{countryController.allCountries()}" var="country" itemValue="#{country}" itemLabel="#{msg[country.countryI18nKey]}" />
</p:selectCheckboxMenu>
</p:dataTable>
</h:form>
- <h:form id="form_add_mobile_provider">
+ <h:form>
<h:panelGroup styleClass="table table-full" layout="block">
<div class="table-header">
<h:outputText value="#{msg.ADMIN_ADD_MOBILE_PROVIDER_TITLE}" />
<div class="table-footer">
<p:commandButton
- styleClass="reset divider-right"
+ styleClass="reset"
type="reset"
value="#{msg.BUTTON_RESET_FORM}"
/>