Author: ayanul
Date: 2008-03-14 14:59:25 -0400 (Fri, 14 Mar 2008)
New Revision: 6836
Modified:
trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java
trunk/test-applications/jsp/src/main/java/ddMenu/DDMenu.java
trunk/test-applications/jsp/src/main/java/dnd/DndBean.java
trunk/test-applications/jsp/src/main/java/pickList/PickList.java
trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp
trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp
trunk/test-applications/jsp/src/main/webapp/InplaceInput/InplaceInput.jsp
Log:
+ update
Modified: trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java 2008-03-14
18:41:01 UTC (rev 6835)
+++ trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java 2008-03-14
18:59:25 UTC (rev 6836)
@@ -86,11 +86,14 @@
private boolean showWeekDaysBar;
private boolean showWeeksBar;
private String todayControlMode; // scroll, select, hidden;
+ private boolean limitToList;
+ private String inputSize;
public CalendarBean() {
+ limitToList = false;
horizontalOffset = "0";
verticalOffset = "0";
- isDayEnabled = true;
+ isDayEnabled = true;
immediate = false;
cellHeight = "15";
cellWidth = "15";
@@ -120,8 +123,8 @@
weekDay = "long";
month = "none";
timeZone = "Eastern European Time";
- preloadDateRangeBegin = "10.08.2007"; //d.m.y
- preloadDateRangeEnd = "11.10.2007";
+ preloadDateRangeBegin = "11.11.2007"; //d.m.y
+ preloadDateRangeEnd = "01.01.2008";
}
@@ -655,4 +658,24 @@
public void setHeaderFacet(String headerFacet) {
this.headerFacet = headerFacet;
}
+
+
+ public boolean isLimitToList() {
+ return limitToList;
+ }
+
+
+ public void setLimitToList(boolean limitToList) {
+ this.limitToList = limitToList;
+ }
+
+ public String getInputSize() {
+ return inputSize;
+ }
+
+
+ public void setInputSize(String inputSize) {
+ this.inputSize = inputSize;
+ }
+
}
Modified: trunk/test-applications/jsp/src/main/java/ddMenu/DDMenu.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/ddMenu/DDMenu.java 2008-03-14 18:41:01 UTC
(rev 6835)
+++ trunk/test-applications/jsp/src/main/java/ddMenu/DDMenu.java 2008-03-14 18:59:25 UTC
(rev 6836)
@@ -48,11 +48,14 @@
actionListener = "---";
}
- public void act() {
+ public String act() {
+ System.out.println("action work!");
action = "action work!";
+ return null;
}
public void actListener(ActionEvent e) {
+ System.out.println("actionListener work!");
actionListener = "actionListener work!";
}
Modified: trunk/test-applications/jsp/src/main/java/dnd/DndBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/dnd/DndBean.java 2008-03-14 18:41:01 UTC
(rev 6835)
+++ trunk/test-applications/jsp/src/main/java/dnd/DndBean.java 2008-03-14 18:59:25 UTC
(rev 6836)
@@ -33,14 +33,12 @@
actionListenerDrop = "---";
}
- public String actListenerDrag(ActionEvent e) {
+ public void actListenerDrag(ActionEvent e) {
actionListenerDrag = "actionListenerDrag work!";
- return null;
}
- public String actListenerDrop(ActionEvent e) {
+ public void actListenerDrop(ActionEvent e) {
actionListenerDrop = "actionListenerDrop work!";
- return null;
}
public void processDrop(DropEvent event) {
Modified: trunk/test-applications/jsp/src/main/java/pickList/PickList.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/pickList/PickList.java 2008-03-14 18:41:01
UTC (rev 6835)
+++ trunk/test-applications/jsp/src/main/java/pickList/PickList.java 2008-03-14 18:59:25
UTC (rev 6836)
@@ -82,7 +82,7 @@
this.requiredMessage = "requiredMessage";
data = new ArrayList<SelectItem>();
for (int i = 0; i < 10; i++)
- data.add(new SelectItem(new Data("selectItems " + i)));
+ data.add(new SelectItem("selectItems "));
}
Modified: trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2008-03-14 18:41:01
UTC (rev 6835)
+++ trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2008-03-14 18:59:25
UTC (rev 6836)
@@ -14,7 +14,10 @@
<h:outputText value="Ajax mode"
rendered="#{calendarBean.renderedAjax}" />
- <rich:calendar id="calendarClientID"
dataModel="#{calendarDataModel}"
+ <rich:calendar id="calendarClientID"
horizontalOffset="#{calendarBean.horizontalOffset}"
+ verticalOffset="#{calendarBean.verticalOffset}"
ignoreDupResponses="#{calendarBean.ignoreDupResponses}"
+ inputSize="#{calendarBean.inputSize}" eventsQueue="myEventsQueue"
label="calendarLabel" limitToList="#{calendarBean.limitToList}"
+ dataModel="#{calendarDataModel}"
style="#{style.style}" styleClass="#{style.styleClass}"
inputStyle="#{style.inputStyle}"
locale="#{calendarBean.locale}" popup="#{calendarBean.popup}"
preloadDateRangeBegin="#{calendarBean.prDateRangeBegin}"
@@ -54,7 +57,7 @@
immediate="#{calendarBean.immediate}"
onbeforedomupdate="#{event.onbeforedomupdate}"
onchanged="#{event.onchanged}" oncollapse="#{event.oncollapse}"
- oncomplete="#{event.oncomplete}"
+ oncomplete="#{event.oncomplete}"
oncurrentdateselect="#{event.oncurrentdateselect}"
ondatemouseout="#{event.ondatemouseout}"
ondatemouseover="#{event.ondatemouseover}"
@@ -108,6 +111,8 @@
monthLabelsShort="#{calendarBean.monthLabelsShort}"
value="#{calendarBean.selectedDate}"
currentDate="#{calendarBean.currentDate}"
+ cellHeight="#{calendarBean.cellHeight}"
+ cellWidth="#{calendarBean.cellWidth}"
jointPoint="#{calendarBean.jointPoint}"
direction="#{calendarBean.direction}"
enableManualInput="#{calendarBean.enableManualInput}"
@@ -166,6 +171,7 @@
<h:panelGrid columns="2">
<f:verbatim>
<span style="padding: 2px;">{day}</span>
+ <h:outputText value="#{day}"></h:outputText>
</f:verbatim>
<h:panelGrid>
<h:outputText styleClass="smallText" value="{data.enLabel}"
/>
Modified: trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp 2008-03-14 18:41:01
UTC (rev 6835)
+++ trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp 2008-03-14 18:59:25
UTC (rev 6836)
@@ -7,7 +7,7 @@
<rich:comboBox id="comboboxID" disabled="#{combobox.disabled}"
defaultLabel="#{combobox.defaultLabel}"
buttonClass="#{style.buttonClass}"
buttonDisabledClass="#{style.buttonDisabledClass}"
buttonDisabledStyle="#{style.buttonDisabledStyle}"
buttonInactiveClass="#{style.buttonInactiveClass}"
buttonInactiveStyle="#{style.buttonInactiveStyle}"
buttonStyle="#{style.buttonStyle}" inputClass="#{style.inputClass}"
inputDisabledClass="#{style.inputDisabledClass}"
inputDisabledStyle="#{style.inputDisabledStyle}"
inputInactiveClass="#{style.inputInactiveClass}"
inputInactiveStyle="#{style.inputInactiveStyle}"
itemClass="#{style.itemClass}" inputStyle="#{style.inputStyle}"
listClass="#{style.listClass}" listStyle="#{style.listStyle}"
filterNewValues="#{combobox.filterNewValues}"
- directInputSuggestions="#{combobox.directInputSuggestions}"
immediate="#{combobox.immediate}" inputSize="#{combobox.inputSize}"
+ directInputSuggestions="#{combobox.directInputSuggestions}"
immediate="#{combobox.immediate}"
width="#{combobox.width}"
valueChangeListener="#{combobox.valueChangeListener}"
value="#{combobox.value}"
tabindex="#{combobox.tabindex}"
suggestionValues="#{combobox.suggestionValues}"
size="#{combobox.size}"
required="#{combobox.required}"
requiredMessage="#{combobox.requiredMessage}"
Modified: trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp 2008-03-14
18:41:01 UTC (rev 6835)
+++ trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp 2008-03-14
18:59:25 UTC (rev 6836)
@@ -11,9 +11,6 @@
<h:outputText value="filterNewValues"></h:outputText>
<h:selectBooleanCheckbox value="#{combobox.filterNewValues}"
onchange="submit();"></h:selectBooleanCheckbox>
- <h:outputText value="inputSize"></h:outputText>
- <h:inputText value="#{combobox.inputSize}"
onchange="submit();"></h:inputText>
-
<h:outputText value="value"></h:outputText>
<h:inputText value="#{combobox.value}"
onchange="submit();"></h:inputText>
Modified: trunk/test-applications/jsp/src/main/webapp/InplaceInput/InplaceInput.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/InplaceInput/InplaceInput.jsp 2008-03-14
18:41:01 UTC (rev 6835)
+++ trunk/test-applications/jsp/src/main/webapp/InplaceInput/InplaceInput.jsp 2008-03-14
18:59:25 UTC (rev 6836)
@@ -7,7 +7,7 @@
This is because such an error can easily be made at programming level, <br />
and while invisible for the user who does not understand or cannot <br />
acquire the source code, many of those
-<rich:inplaceInput inputMaxLength="#{inplaceInput.inputMaxLength}"
+<rich:inplaceInput
inputWidth="#{inplaceInput.inputWidth}"
maxInputWidth="#{inplaceInput.maxInputWidth}"
minInputWidth="#{inplaceInput.minInputWidth}"
@@ -41,10 +41,6 @@
<h:inputText value="#{inplaceInput.defaultLabel}"
onchange="submit();">
</h:inputText>
- <h:outputText value="inputMaxLength"></h:outputText>
- <h:inputText value="#{inplaceInput.inputMaxLength}"
onchange="submit();">
- </h:inputText>
-
<h:outputText value="inputWidth"></h:outputText>
<h:inputText value="#{inplaceInput.inputWidth}"
onchange="submit();">
</h:inputText>