<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>

<html>
<f:view>
	<head>
	</head>
	<body>
	<h:form>
		<a4j:queue />
		<a4j:queue />
		<h:commandButton action="#" value="submit" />
		<h:panelGrid columns="2">
			<h:outputLabel for="a4jLodID" value="a4j:log"></h:outputLabel>
			<h:selectBooleanCheckbox id="a4jLodID" value="#{option.log}"
				onchange="submit();"></h:selectBooleanCheckbox>

			<a4j:status id="a4jStatusID" startText="WORK!"
				startStyle="color: red;" stopText="a4j:status"></a4j:status>
		</h:panelGrid>
		<rich:calendar requestDelay="500" ignoreDupResponses="true"
			ajaxSingle="true" mode="ajax"></rich:calendar>
	</h:form>
	<h:form><a4j:log popup="false" rendered="#{option.log}"></a4j:log></h:form>
	</body>
</f:view>
</html>

