<h:outputText value="#{msg.CONTENT_TITLE_USER_REGISTER}" />
</ui:define>
- <ui:define name="content" rendered="#{not featureController.isFeatureEnabled('user_registration_in_index')}">
- <ui:fragment rendered="#{featureController.isFeatureEnabled('user_registration')}">
+ <ui:define name="content">
+ <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_registration_in_index') and featureController.isFeatureEnabled('user_registration')}">
<ui:fragment rendered="#{featureController.isFeatureEnabled('user_name_required')}">
<div class="para">
<h:outputText value="#{msg.GUEST_ALREADY_USER_CONTINUE_LOGIN_1}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
- </ui:define>
- <ui:define name="content" rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
+ <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>
</html>
<h:outputText value="#{msg.CONTENT_TITLE_INDEX_WELCOME}" />
</ui:define>
- <ui:define name="content" rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
- <div class="registration_form">
- <ui:fragment rendered="#{featureController.isFeatureEnabled('user_register_multiple_page')}">
- <ui:include src="/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl" />
- </ui:fragment>
- </div>
+ <ui:define name="content">
+ <ui:fragment rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
+ <div class="registration_form">
+ <ui:fragment rendered="#{featureController.isFeatureEnabled('user_register_multiple_page')}">
+ <ui:include src="/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl" />
+ </ui:fragment>
+ </div>
- <div class="para">
- <h:outputText value="#{msg.CONTENT_PAGE_INDEX_PARA3}" />
- </div>
- </ui:define>
+ <div class="para">
+ <h:outputText value="#{msg.CONTENT_PAGE_INDEX_PARA3}" />
+ </div>
+ </ui:fragment>
- <ui:define name="content" rendered="#{not featureController.isFeatureEnabled('user_registration_in_index')}">
- <ui:include src="/WEB-INF/templates/guest/guest_index.tpl" />
+ <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_registration_in_index')}">
+ <ui:include src="/WEB-INF/templates/guest/guest_index.tpl" />
+ </ui:fragment>
</ui:define>
</ui:composition>
</html>