Author: akushunin
Date: 2007-07-27 10:58:15 -0400 (Fri, 27 Jul 2007)
New Revision: 1896
Modified:
trunk/sandbox/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp
Log:
Template updating.
Added buttonLabel attribute.
Added onclick with calendar call.
update calendar-sample.
Modified: trunk/sandbox/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp
===================================================================
--- trunk/sandbox/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp 2007-07-27
14:57:54 UTC (rev 1895)
+++ trunk/sandbox/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp 2007-07-27
14:58:15 UTC (rev 1896)
@@ -37,7 +37,8 @@
value="#{calendarBean.selectedDate}"
currentDate="#{calendarBean.currentDate}"
jointPoint="#{calendarBean.jointPoint}"
- direction="#{calendarBean.direction}">
+ direction="#{calendarBean.direction}"
+ buttonLabel="PopUp">
<f:validator validatorId="org.richfaces.CalendarValidator" />
@@ -87,8 +88,8 @@
<f:selectItem itemLabel="auto" itemValue="auto"/>
</h:selectOneRadio>
- <h:commandButton id="calendarPopup" type="button"
value="popup"
onclick="$(this.form.id+':calendar').component.doSwitch();"/>
- </h:panelGrid>
+ <%-- <h:commandButton id="calendarPopup" type="button"
value="popup"
onclick="$(this.form.id+':calendar').component.doSwitch();"/>
+ --%> </h:panelGrid>
<h:outputText value="Current date: "/>
<h:outputText value="#{calendarBean.currentDateAsText}" />
Show replies by date