Author: tromanovich
Date: 2008-10-10 06:41:00 -0400 (Fri, 10 Oct 2008)
New Revision: 10709
Modified:
trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java
trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp
Log:
Add "readonly" attribute for testing to Calendar page
Modified: trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java 2008-10-10
10:28:26 UTC (rev 10708)
+++ trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java 2008-10-10
10:41:00 UTC (rev 10709)
@@ -202,7 +202,7 @@
pattern = "MMM d, yyyy";
jointPoint = "bottom-left";
direction = "bottom-right";
- readonly = true;
+ readonly = false;
enableManualInput = false;
showInput = true;
boundary = "inactive";
Modified: trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2008-10-10 10:28:26
UTC (rev 10708)
+++ trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2008-10-10 10:41:00
UTC (rev 10709)
@@ -52,6 +52,7 @@
buttonIcon="#{calendarBean.icon}"
buttonIconDisabled="#{icon.iconFileManagerReject}"
disabled="#{calendarBean.disabled}"
+ readonly="#{calendarBean.readonly}"
bypassUpdates="#{calendarBean.bypassUpdates}"
zindex="#{calendarBean.zindex}"
toolTipMode="#{calendarBean.toolTipMode}"
@@ -82,7 +83,8 @@
oninputkeyup="#{event.oninputkeyup}"
oninputselect="#{event.oninputselect}"
ontimeselect="#{event.ontimeselect}"
- ontimeselected="#{event.ontimeselected}">
+ ontimeselected="#{event.ontimeselected}"
+ >
<f:facet name="weekDay">
<f:verbatim>
<span style="padding: 2px; font-size: 4">{weekDayLabel +
@@ -136,6 +138,7 @@
buttonIcon="#{calendarBean.icon}"
buttonIconDisabled="#{icon.iconFileManagerReject}"
disabled="#{calendarBean.disabled}"
+ readonly="#{calendarBean.readonly}"
bypassUpdates="#{calendarBean.bypassUpdates}"
zindex="#{calendarBean.zindex}"
toolTipMode="#{calendarBean.toolTipMode}"
Modified: trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp 2008-10-10
10:28:26 UTC (rev 10708)
+++ trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp 2008-10-10
10:41:00 UTC (rev 10709)
@@ -204,6 +204,10 @@
<h:outputText value="Disabled:" />
<h:selectBooleanCheckbox value="#{calendarBean.disabled}"
onclick="submit()" />
+
+ <h:outputText value="Readonly:" />
+ <h:selectBooleanCheckbox value="#{calendarBean.readonly}"
+ onclick="submit()" />
<h:outputText value="Rendered:" />
<h:selectBooleanCheckbox value="#{calendarBean.rendered}"
Show replies by date