Author: nbelaevski
Date: 2008-09-09 18:24:54 -0400 (Tue, 09 Sep 2008)
New Revision: 10390
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/organiser.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-4437
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/organiser.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/organiser.xhtml 2008-09-09
22:22:50 UTC (rev 10389)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/organiser.xhtml 2008-09-09
22:24:54 UTC (rev 10390)
@@ -20,20 +20,19 @@
popup="false" showApplyButton="false"
cellWidth="100px" cellHeight="100px"
boundaryDatesMode="none" showWeeksBar="false"
- dataModel="#{calendarDataModel}" oncurrentdateselect="return
false" id="organizer"
valueChangeListener="#{calendarDataModel.valueChanged}"
showFooter="false">
+ dataModel="#{calendarDataModel}" onchanged="if (event.rich.date)
{ajaxSubmit();}" oncurrentdateselect="return false"
id="organizer" valueChangeListener="#{calendarDataModel.valueChanged}"
showFooter="false">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="Current Month" styleClass="header"/>
</h:panelGroup>
</f:facet>
- <a4j:outputPanel layout="block" id="cell"
onclick="ajaxSubmit()" style="height: 100%;">
+ <a4j:outputPanel layout="block" id="cell"
onclick="#{rich:component('organizer')}.resetSelectedDate()"
style="height: 100%;">
<h:panelGrid columns="1">
<h:outputText value="{day}" style="align:center"/>
<h:outputText value="{data.shortDescription}"/>
<h:outputText value="{data.description}"/>
</h:panelGrid>
</a4j:outputPanel>
- <a4j:support event="onchanged" reRender="editContent" />
</rich:calendar>
</h:form>
<rich:modalPanel id="panel" resizeable="false">