1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
   |  
<a4j:outputPanel id="panelGlobal" styleClass="price" layout="block"
			ajaxRendered="true">
			<h:outputText
				value="#{userBean.bundle['priv/choosePayment']['i_agree']}"
				style="margin-right: 5px;" />
				<a4j:commandLink
				value="#{userBean.bundle['priv/choosePayment']['with_terms_and_conditions']} "
				style="margin-right: 5px;"
				onclick="OpenIt('#{facesContext.externalContext.requestContextPath}/site/pub/static/general-conditions.jsf',1,520,600,'no','no'); return false;" />
 
			<h:selectBooleanCheckbox valueChangeListener="#{privChoosePaymentGUI.processAcceptTermsAndConditionsValueChange}"
			immediate="true"
				value="#{privChoosePaymentGUI.acceptTermsAndConditions}">
				<a4j:support event="onclick" limitToList="true" ajaxSingle="true" reRender="panelGlobal,panelPayment" />
			</h:selectBooleanCheckbox>			
 
 
			<a4j:outputPanel id="panelMustAgree" 
				rendered="#{!privChoosePaymentGUI.acceptTermsAndConditions}">
				<h:outputText
					value="#{userBean.bundle['priv/choosePayment']['agree_to_display_payment']}" />
			</a4j:outputPanel>
 
			<a4j:outputPanel id="panelPayment"
				rendered="#{privChoosePaymentGUI.acceptTermsAndConditions}">
 
				<!-- Credit du compte  -->
				<a4j:outputPanel
					rendered="#{privChoosePaymentGUI.usePayment['credit_account']}">
					<div><h:outputText
						value="#{userBean.bundle['priv/choosePayment']['credit_account']}" />
					<h:commandButton image=""
						actionListener="#{privChoosePaymentGUI.processOrderCreditAccount}"
						action="#{GUIManager.getNextView}" /></div>
				</a4j:outputPanel> | 
Partager