From: Roland Haeder Date: Tue, 11 Apr 2017 09:13:48 +0000 (+0200) Subject: I know, I miss-use ui:fragment here but it seems to do what I want: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7d85603dccb80110b2a94232238ac558bf4b5cb8;p=jjobs-war.git I know, I miss-use ui:fragment here but it seems to do what I want: - when "rendered" is false, don't show content of the whole tag - when "rendered" is true, show content of the whole tag So far, other tags did not work and not even with ui:define and then rendered="#{featureController.isFeatureEnaled('some_feature')#}" on ui:define. As long as there is no other tag that has the same behavior, I stick with ui:fragment. --- diff --git a/web/guest/user/user_register.xhtml b/web/guest/user/user_register.xhtml index f15aed72..17c6ad47 100644 --- a/web/guest/user/user_register.xhtml +++ b/web/guest/user/user_register.xhtml @@ -16,8 +16,8 @@ - - + +
@@ -45,13 +45,13 @@ - - + + diff --git a/web/index.xhtml b/web/index.xhtml index 07457c26..8273fa14 100644 --- a/web/index.xhtml +++ b/web/index.xhtml @@ -16,20 +16,22 @@ - -
- - - -
+ + +
+ + + +
-
- -
-
+
+ +
+ - - + + +