]> git.mxchange.org Git - addressbook-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 29 Jul 2017 21:56:10 +0000 (23:56 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 29 Jul 2017 21:57:00 +0000 (23:57 +0200)
- no, ui:define is plain wrong for this. I should have known ... ;-(

Signed-off-by: Roland Häder <roland@mxchange.org>
web/guest/user/user_register.xhtml

index ea28524e7bc78a05a12ad8d94cd8a5068d47aa0b..128e806c52c7cdff5c057fb633242fcadee55382 100644 (file)
                                <ui:param name="styleClass" value="errors" />
                        </ui:include>
                </ui:fragment>
-       </ui:define>
 
-       <ui:define name="content" rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
-               <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
-                       <ui:param name="message" value="#{msg.ERROR_GUEST_REGISTRATION_IN_INDEX_ENABLED}" />
-                       <ui:param name="styleClass" value="errors" />
-               </ui:include>
+               <ui:fragment rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
+                       <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+                               <ui:param name="message" value="#{msg.ERROR_GUEST_REGISTRATION_IN_INDEX_ENABLED}" />
+                               <ui:param name="styleClass" value="errors" />
+                       </ui:include>
+               </ui:fragment>
        </ui:define>
 </ui:composition>