- added requiredMessage to countryI18nKey (resurrected?)
- no size="x" for such keys, including for department
Signed-off-by: Roland Häder <roland@mxchange.org>
</div>
<div class="table-right-medium">
- <p:inputText id="countryI18nKey" size="20" maxlength="100" value="#{adminCountryController.countryI18nKey}" required="true">
+ <p:inputText
+ id="countryI18nKey"
+ maxlength="100"
+ value="#{adminCountryController.countryI18nKey}"
+ required="true"
+ requiredMessage="#{msg.ADMIN_COUNTRY_I18N_KEY_REQUIRED}"
+ >
<f:validateRegex for="countryI18nKey" pattern="[A-Z_]{2,}" />
</p:inputText>
</div>
<p:fieldset legend="#{msg.ADMIN_DEPARTMENT_LEGEND}">
<p:panelGrid layout="grid" columns="2" columnClasses="ui-grid-col-4,ui-grid-col-8" styleClass="table table-full ui-noborder">
<p:outputLabel for="departmentI18nKey" value="#{msg.ADMIN_ENTER_DEPARTMENT_I18N_KEY}" />
- <p:inputText id="departmentI18nKey" size="20" maxlength="255" value="#{adminDepartmentController.departmentI18nKey}" required="true" requiredMessage="#{msg.ADMIN_DEPARTMENT_I18N_KEY_REQUIRED}" />
+ <p:inputText
+ id="departmentI18nKey"
+ maxlength="255"
+ value="#{adminDepartmentController.departmentI18nKey}"
+ required="true"
+ requiredMessage="#{msg.ADMIN_DEPARTMENT_I18N_KEY_REQUIRED}"
+ />
<p:outputLabel for="departmentCompany" value="#{msg.ADMIN_ASSIGN_DEPARTMENT_COMPANY}" />
<p:selectOneMenu