]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Opps, this needs to be back.
authorRoland Haeder <roland@mxchange.org>
Fri, 16 Oct 2015 08:25:35 +0000 (10:25 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 16 Oct 2015 08:25:35 +0000 (10:25 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

web/login/login_show_addressbook.xhtml

index e7821d8ebae4aab8c2c21b5eed7a8b2ae37f76f1..98ddba15236fe49f0c7700a4116bd40ab8c7f58a 100644 (file)
@@ -6,6 +6,13 @@
          xmlns:f="http://xmlns.jcp.org/jsf/core"
          >
 
+       <f:metadata>
+               <f:viewParam id="addressbookId" name="addressbook_id" value="#{addressbookController.addressbookId}" required="true" requiredMessage="#{msg.PARAMETER_ADDRESSBOOK_ID_MISSING}" converterMessage="#{msg.PARAMETER_ADDRESSBOOK_ID_INVALID}" validatorMessage="#{msg.PARAMETER_ADDRESSBOOK_ID_NOT_FOUND}">
+                       <f:convertNumber for="addressbookId" type="number" minIntegerDigits="1" maxIntegerDigits="20" />
+                       <f:validator for="addressbookId" validatorId="AddressbookIdValidator" />
+               </f:viewParam>
+       </f:metadata>
+
        <ui:composition template="/WEB-INF/templates/#{loginController.templateType}/#{loginController.templateType}_base.tpl">
                <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_SHOW_ADDRESSBOOK}</ui:define>