[richfaces-svn-commits] JBoss Rich Faces SVN: r5524 - in trunk/test-applications/facelets/src/main: java/paint2D and 24 other directories.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Tue Jan 22 03:02:58 EST 2008
Author: ayanul
Date: 2008-01-22 03:02:58 -0500 (Tue, 22 Jan 2008)
New Revision: 5524
Removed:
trunk/test-applications/facelets/src/main/webapp/ComponentControl/CalendarJSAPI.xhtml
trunk/test-applications/facelets/src/main/webapp/ComponentControl/ContextMenuJSAPI.xhtml
trunk/test-applications/facelets/src/main/webapp/ComponentControl/ListShuttleJSAPI.xhtml
trunk/test-applications/facelets/src/main/webapp/ComponentControl/ModalPanelJSAPI.xhtml
trunk/test-applications/facelets/src/main/webapp/ComponentControl/OrderingListJSAPI.xhtml
trunk/test-applications/facelets/src/main/webapp/ComponentControl/PanelMenuJSAPI.xhtml
trunk/test-applications/facelets/src/main/webapp/ComponentControl/ScrollableDataTableJSAPI.xhtml
trunk/test-applications/facelets/src/main/webapp/ComponentControl/ToolTipJSAPI.xhtml
Modified:
trunk/test-applications/facelets/src/main/java/calendar/CalendarBean.java
trunk/test-applications/facelets/src/main/java/paint2D/Paint2D.java
trunk/test-applications/facelets/src/main/java/rich/MapComponent.java
trunk/test-applications/facelets/src/main/java/rich/RichBean.java
trunk/test-applications/facelets/src/main/java/sb/Sb.java
trunk/test-applications/facelets/src/main/java/spacer/Spacer.java
trunk/test-applications/facelets/src/main/java/tooltip/Tooltip.java
trunk/test-applications/facelets/src/main/webapp/Calendar/CalendarProperty.xhtml
trunk/test-applications/facelets/src/main/webapp/ComponentControl/ComponentControl.xhtml
trunk/test-applications/facelets/src/main/webapp/CustomizePage/CustomizePage.xhtml
trunk/test-applications/facelets/src/main/webapp/Effect/Effect.xhtml
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml
trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml
trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml
trunk/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml
trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml
trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml
trunk/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTable.xhtml
trunk/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml
trunk/test-applications/facelets/src/main/webapp/Spacer/Spacer.xhtml
trunk/test-applications/facelets/src/main/webapp/Spacer/SpacerProperty.xhtml
trunk/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBox.xhtml
trunk/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBoxProperty.xhtml
trunk/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanel.xhtml
trunk/test-applications/facelets/src/main/webapp/ToolBar/ToolBar.xhtml
trunk/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml
trunk/test-applications/facelets/src/main/webapp/Tooltip/TooltipProperty.xhtml
trunk/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarthProperty.xhtml
trunk/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml
trunk/test-applications/facelets/src/main/webapp/jQuery/jQuery.xhtml
trunk/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml
trunk/test-applications/facelets/src/main/webapp/styles/styles.css
Log:
update
Modified: trunk/test-applications/facelets/src/main/java/calendar/CalendarBean.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/calendar/CalendarBean.java 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/java/calendar/CalendarBean.java 2008-01-22 08:02:58 UTC (rev 5524)
@@ -29,6 +29,7 @@
import java.util.StringTokenizer;
import java.util.TimeZone;
+import javax.faces.context.FacesContext;
import javax.faces.event.ValueChangeEvent;
import org.richfaces.event.CurrentDateChangeEvent;
Modified: trunk/test-applications/facelets/src/main/java/paint2D/Paint2D.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/paint2D/Paint2D.java 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/java/paint2D/Paint2D.java 2008-01-22 08:02:58 UTC (rev 5524)
@@ -27,6 +27,7 @@
private String format; // jpeg|gif|png
private String bgcolor;
private String border;
+ private boolean cacheable;
private boolean rendered;
private boolean style;
@@ -47,7 +48,7 @@
}
public Paint2D() {
-
+ cacheable = false;
width = 400;
align = "left";
height = 200;
@@ -233,4 +234,12 @@
setTitle("Test5");
//data.setText("Test5!");
}
+
+ public boolean isCacheable() {
+ return cacheable;
+ }
+
+ public void setCacheable(boolean cacheable) {
+ this.cacheable = cacheable;
+ }
}
Modified: trunk/test-applications/facelets/src/main/java/rich/MapComponent.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/rich/MapComponent.java 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/java/rich/MapComponent.java 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,14 +1,15 @@
package rich;
import java.util.ArrayList;
-import java.util.HashMap;
import java.util.Map;
+import java.util.Set;
+import java.util.TreeMap;
public class MapComponent {
private Map<String, ArrayList<String>> m;
public MapComponent() {
- m = new HashMap<String, ArrayList<String>>();
+ m = new TreeMap<String, ArrayList<String>>();
}
public void add(String component, ArrayList<String> path) {
@@ -18,4 +19,8 @@
public ArrayList<String> get(String key){
return m.get(key);
}
+
+ public Set getSet() {
+ return m.keySet();
+ }
}
Modified: trunk/test-applications/facelets/src/main/java/rich/RichBean.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/rich/RichBean.java 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/java/rich/RichBean.java 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,7 +1,11 @@
package rich;
import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import javax.faces.model.SelectItem;
+
import org.richfaces.VersionBean;
public class RichBean {
@@ -12,13 +16,15 @@
private boolean reComponent;
private boolean reProperty;
private boolean reStraightforward;
+ private boolean log;
//private String [] menu = {"Blank", "Calendar", "DataFilterSlider", "DataScroller", "DataTable", "DragAndDrop", "DropDownMenu", "Effect", "Gmap", "InputNumberSlider", "InputNumberSpinner", "Insert", "Message", "ModalPanel", "Paint2D", "Panel", "Panel2", "PanelBar", "PanelMenu", "Separator", "SimpleTogglePanel", "Spacer", "SuggestionBox", "TabPanel", "TogglePanel", "ToolBar", "Tooltip", "Tree", "VirtualEarth", "ScrollableDataTable", "jQuery", "OrderingList"};
-
+
public RichBean() {
src = "Blank";
reComponent = true;
reProperty = true;
reStraightforward = true;
+ log = false;
map = new MapComponent();
// map.add( value, add( pages_path/name_pages, array<boolean>(Property, Straightforward) );
map.add("Blank", add("/pages/Blank/Blank", new boolean [] {true, true}));
@@ -37,7 +43,6 @@
map.add("ModalPanel", add("/ModalPanel/ModalPanel", new boolean [] {true, true}));
map.add("Paint2D", add("/Paint2D/Paint2D", new boolean [] {true, true}));
map.add("Panel", add("/Panel/Panel", new boolean [] {true, true}));
- map.add("Panel2", add("/Panel/Panel2", new boolean [] {false, false}));
map.add("PanelBar", add("/PanelBar/PanelBar", new boolean [] {true, true}));
map.add("PanelMenu", add("/PanelMenu/PanelMenu", new boolean [] {true, true}));
map.add("Separator", add("/Separator/Separator", new boolean [] {true, true}));
@@ -120,4 +125,22 @@
public void setVersion(String version) {
this.version = version;
}
+
+ public boolean isLog() {
+ return log;
+ }
+
+ public void setLog(boolean log) {
+ this.log = log;
+ }
+
+ public List<SelectItem> getList(){
+ Iterator<String> iterator = map.getSet().iterator();
+ List<SelectItem> list = new ArrayList<SelectItem>();
+ while(iterator.hasNext()){
+ list.add(new SelectItem(iterator.next()));
+ }
+ return list;
+ }
+
}
Modified: trunk/test-applications/facelets/src/main/java/sb/Sb.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/sb/Sb.java 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/java/sb/Sb.java 2008-01-22 08:02:58 UTC (rev 5524)
@@ -5,6 +5,7 @@
import java.util.Iterator;
import java.util.List;
+import org.richfaces.component.html.HtmlSuggestionBox;
import org.richfaces.renderkit.html.SuggestionBoxRenderer;
public class Sb implements Serializable {
@@ -28,6 +29,12 @@
private String shadowDepth;
private Object tokens;
private boolean focus;
+ private boolean ajaxSingle;
+ private boolean rendered;
+ private boolean selfRendered;
+ private String value;
+ private String dir;
+ private int requestDelay;
/*
* private static final String[] cit = { "Abba", "Abbeville", "Acworth",
@@ -50,6 +57,12 @@
public Sb() {
+ dir = "LTR";
+ ajaxSingle = false;
+ rendered = true;
+ selfRendered = false;
+ value = "a, ";
+ requestDelay = 100;
tokens = "[ ,";
border = "1";
width = "200";
@@ -343,4 +356,52 @@
public void setTokens(Object tokens) {
this.tokens = tokens;
}
+
+ public boolean isAjaxSingle() {
+ return ajaxSingle;
+ }
+
+ public void setAjaxSingle(boolean ajaxSingle) {
+ this.ajaxSingle = ajaxSingle;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public boolean isSelfRendered() {
+ return selfRendered;
+ }
+
+ public void setSelfRendered(boolean selfRendered) {
+ this.selfRendered = selfRendered;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public int getRequestDelay() {
+ return requestDelay;
+ }
+
+ public void setRequestDelay(int requestDelay) {
+ this.requestDelay = requestDelay;
+ }
+
+ public String getDir() {
+ return dir;
+ }
+
+ public void setDir(String dir) {
+ this.dir = dir;
+ }
}
Modified: trunk/test-applications/facelets/src/main/java/spacer/Spacer.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/spacer/Spacer.java 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/java/spacer/Spacer.java 2008-01-22 08:02:58 UTC (rev 5524)
@@ -3,17 +3,14 @@
public class Spacer {
private String width;
-
private String height;
-
private String style;
-
private String btn;
-
+ private String title;
private boolean rendered;
public Spacer() {
-
+ title = "title text";
height = "50px";
width = "300px";
rendered = true;
@@ -97,4 +94,12 @@
setHeight("400");
setWidth("200");
}
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
}
Modified: trunk/test-applications/facelets/src/main/java/tooltip/Tooltip.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/tooltip/Tooltip.java 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/java/tooltip/Tooltip.java 2008-01-22 08:02:58 UTC (rev 5524)
@@ -8,12 +8,23 @@
private int horizontalOffset;
private int verticalOffset;
private int delay;
+ private int hideDelay;
+ private int showDelay;
private String value;
private String mode;
private String direction;
private String style;
private String layout;
+ private String event;
+ public String getEvent() {
+ return event;
+ }
+
+ public void setEvent(String event) {
+ this.event = event;
+ }
+
public String getLayout() {
return layout;
}
@@ -23,6 +34,9 @@
}
public Tooltip() {
+ event = "onmouseover";
+ showDelay = 100;
+ hideDelay = 10;
followMouse = false;
rendered = true;
disabled = false;
@@ -180,4 +194,20 @@
setValue("Test5");
setRendered(true);
}
+
+ public int getHideDelay() {
+ return hideDelay;
+ }
+
+ public void setHideDelay(int hideDelay) {
+ this.hideDelay = hideDelay;
+ }
+
+ public int getShowDelay() {
+ return showDelay;
+ }
+
+ public void setShowDelay(int showDelay) {
+ this.showDelay = showDelay;
+ }
}
Modified: trunk/test-applications/facelets/src/main/webapp/Calendar/CalendarProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Calendar/CalendarProperty.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/Calendar/CalendarProperty.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -10,7 +10,7 @@
</h:panelGroup>
<h:column></h:column>
- <h:outputText value="Mode" />
+ <h:outputText value="Mode:" />
<h:selectOneRadio value="#{calendarBean.mode}" onchange="submit();">
<f:selectItem itemLabel="client" itemValue="client"/>
<f:selectItem itemLabel="ajax" itemValue="ajax"/>
@@ -40,9 +40,6 @@
<h:outputText value="showWeekDaysBar: "></h:outputText>
<h:selectBooleanCheckbox value="#{calendarBean.showWeekDaysBar}" onchange="submit();"></h:selectBooleanCheckbox>
- <h:outputText value="isDayEnabled: "></h:outputText>
- <h:selectBooleanCheckbox value="#{calendarBean.isDayEnabled}"></h:selectBooleanCheckbox>
-
<h:outputText value="cellHeight: "></h:outputText>
<h:inputText value="#{calendarBean.cellHeight}" onchange="submit();"></h:inputText>
@@ -50,27 +47,24 @@
<h:inputText value="#{calendarBean.cellWidth}" onchange="submit();"></h:inputText>
<h:outputText value="Custom day labels" />
- <h:selectOneRadio value="#{calendarBean.todayControlMode}">
+ <h:selectOneRadio value="#{calendarBean.todayControlMode}" onchange="submit();">
<f:selectItem itemLabel="scroll" itemValue="scroll" />
<f:selectItem itemLabel="select" itemValue="select" />
<f:selectItem itemLabel="hidden" itemValue="hidden" />
- <a4j:support event="onclick" reRender="calendarClientID,calendarAjaxID"></a4j:support>
</h:selectOneRadio>
<h:outputText value="Custom day labels" />
- <h:selectOneRadio value="#{calendarBean.weekDay}">
+ <h:selectOneRadio value="#{calendarBean.weekDay}" onchange="submit();">
<f:selectItem itemLabel="none" itemValue="none" />
<f:selectItem itemLabel="day labels" itemValue="long" />
<f:selectItem itemLabel="day labels short" itemValue="short" />
- <a4j:support event="onclick" reRender="calendarClientID,calendarAjaxID"></a4j:support>
</h:selectOneRadio>
<h:outputText value="Custom month labels" />
- <h:selectOneRadio value="#{calendarBean.month}">
+ <h:selectOneRadio value="#{calendarBean.month}" onchange="submit();">
<f:selectItem itemLabel="none" itemValue="none" />
<f:selectItem itemLabel="day labels" itemValue="long" />
<f:selectItem itemLabel="day labels short" itemValue="short" />
- <a4j:support event="onclick" reRender="calendarClientID,calendarAjaxID"></a4j:support>
</h:selectOneRadio>
<h:outputText value="Select Date Pattern:" />
@@ -176,26 +170,20 @@
<f:verbatim></f:verbatim>
<h:commandButton value="Submit" />
</h:panelGrid>
+
<h:panelGrid columns="3">
<h:column></h:column>
<h:outputText value="JavaScript API"></h:outputText>
<h:column></h:column>
<a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.doExpand(event)" value="expand"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.enable()" value="enable"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.disable()" value="disable"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.nextMonth()" value="nextMonth"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.prevMonth()" value="prevMonth"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.nextYear()" value="nextYear"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.prevYear()" value="prevYear"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.today()" value="today"></a4j:commandLink>
- <a4j:commandLink onclick="alert($('formID:calendarSubviewID:calendarClientID').component.getSelectedDate())" value="getSelectedDate"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.enableDate" value="enableDate"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.disableDate" value="disableDate"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.enableDates" value="enableDates"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.disableDates" value="disableDates"></a4j:commandLink>
- <a4j:commandLink onclick="alert($('formID:calendarSubviewID:calendarClientID').component.isDateEnabled(new Data))" value="isDateEnabled"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.selectDate(new Data)" value="selectDate"></a4j:commandLink>
- <a4j:commandLink onclick="alert($('formID:calendarSubviewID:calendarClientID').component.getData())" value="getData"></a4j:commandLink>
+ <a4j:commandLink onclick="alert($('formID:calendarSubviewID:calendarClientID').component.getSelectedDate(new Data().setFullYear(2010,0,14)))" value="getSelectedDate"></a4j:commandLink>
+ <a4j:commandLink onclick="alert($('formID:calendarSubviewID:calendarClientID').component.isDateEnabled(new Data()))" value="isDateEnabled"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:calendarSubviewID:calendarClientID').component.selectDate(new Data())" value="selectDate"></a4j:commandLink>
<a4j:commandLink onclick="alert($('formID:calendarSubviewID:calendarClientID').component.getCurrentMonth())" value="getCurrentMonth"></a4j:commandLink>
<a4j:commandLink onclick="alert($('formID:calendarSubviewID:calendarClientID').component.getCurrentYear())" value="getCurrentYear"></a4j:commandLink>
</h:panelGrid>
Deleted: trunk/test-applications/facelets/src/main/webapp/ComponentControl/CalendarJSAPI.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ComponentControl/CalendarJSAPI.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/ComponentControl/CalendarJSAPI.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,46 +0,0 @@
-
-<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="calendarJSAPIID">
- <f:verbatim>
- <br />
- <a href="#" id="doExpandCalendarID">Calendar (doExpand)</a>
- <br />
- <a href="#" id="doNextYearCalendarID">Calendar (nextYear)</a>
- <br />
- <a href="#" id="doPrevYearCalendarID">Calendar (prevYear)</a>
- <br />
- <a href="#" id="doNextMonthCalendarID">Calendar (nextMonth)</a>
- <br />
- <a href="#" id="doPrevMonthCalendarID">Calendar (prevMonth)</a>
- <br />
- <a href="#" id="doTodayCalendarID">Calendar (today)</a>
- <br />
- <a href="#" id="doEnableCalendarID">Calendar (enable)</a>
- <br />
- <a href="#" id="doDisableCalendarID">Calendar (disable)</a>
- <br />
- <a href="#" id="doCurrentYearCalendarID">Calendar (currentYear)</a>
- </f:verbatim>
-
- <rich:componentControl attachTo="doExpandCalendarID" for="ccCalendarID" event="onclick" operation="doExpand" />
- <rich:componentControl attachTo="doNextYearCalendarID" for="ccCalendarID" event="onclick" operation="nextYear" />
- <rich:componentControl attachTo="doPrevYearCalendarID" for="ccCalendarID" event="onclick" operation="prevYear" />
- <rich:componentControl attachTo="doNextMonthCalendarID" for="ccCalendarID" event="onclick" operation="nextMonth" />
- <rich:componentControl attachTo="doPrevMonthCalendarID" for="ccCalendarID" event="onclick" operation="prevMonth" />
- <rich:componentControl attachTo="doTodayCalendarID" for="ccCalendarID" event="onclick" operation="today" />
- <rich:componentControl attachTo="doEnableCalendarID" for="ccCalendarID" event="onclick" operation="enable" />
- <rich:componentControl attachTo="doDisableCalendarID" for="ccCalendarID" event="onclick" operation="disable" />
- <rich:componentControl attachTo="doTodayCalendarID" for="ccCalendarID" event="onclick" operation="disable" />
- <rich:componentControl attachTo="doCurrentYearCalendarID" for="ccCalendarID" event="onclick" operation="getCurrentYear" />
- <f:verbatim>
-selectDate(date) Selects the date specified. If the date isn't in current month - performs request to select
-isDateEnabled(date) Checks if given date is selectable
-enableDate(date) Enables date cell control on the calendar
-disableDate(date) Disables date cell control on the calendar
-enableDates(date[]) Enables dates cell controls set on the calendar
-disableDates(date[]) Disables dates cell controls set on the calendar
-getSelectedDate() Returns currently selected date
-Object getData() Returns additional data for the date
-getCurrentMonth() Returns number of the month currently being viewed
-getCurrentYear() Returns number of the year currently being viewed
-</f:verbatim>
-</f:subview>
Modified: trunk/test-applications/facelets/src/main/webapp/ComponentControl/ComponentControl.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ComponentControl/ComponentControl.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/ComponentControl/ComponentControl.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -55,5 +55,5 @@
<rich:componentControl event="oncontextmenu" attachTo="ccContextMenuPanelMenuID" for="ccContextMenuID"
operation="show" params="expand:'show work'" />
- <jsp:include page="CalendarJSAPI.jsp" />
+
</f:subview>
\ No newline at end of file
Deleted: trunk/test-applications/facelets/src/main/webapp/ComponentControl/ContextMenuJSAPI.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ComponentControl/ContextMenuJSAPI.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/ComponentControl/ContextMenuJSAPI.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,3 +0,0 @@
-
-<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="contextMenuJSAPIID">
-</f:subview>
Deleted: trunk/test-applications/facelets/src/main/webapp/ComponentControl/ListShuttleJSAPI.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ComponentControl/ListShuttleJSAPI.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/ComponentControl/ListShuttleJSAPI.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,3 +0,0 @@
-
-<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="ListShuttleJSAPIID">
-</f:subview>
Deleted: trunk/test-applications/facelets/src/main/webapp/ComponentControl/ModalPanelJSAPI.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ComponentControl/ModalPanelJSAPI.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/ComponentControl/ModalPanelJSAPI.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,3 +0,0 @@
-
-<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="modalPanelJSAPIID">
-</f:subview>
Deleted: trunk/test-applications/facelets/src/main/webapp/ComponentControl/OrderingListJSAPI.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ComponentControl/OrderingListJSAPI.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/ComponentControl/OrderingListJSAPI.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,3 +0,0 @@
-
-<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="orderinJSAPIID">
-</f:subview>
Deleted: trunk/test-applications/facelets/src/main/webapp/ComponentControl/PanelMenuJSAPI.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ComponentControl/PanelMenuJSAPI.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/ComponentControl/PanelMenuJSAPI.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,3 +0,0 @@
-
-<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="PanelMenuJSAPIID">
-</f:subview>
Deleted: trunk/test-applications/facelets/src/main/webapp/ComponentControl/ScrollableDataTableJSAPI.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ComponentControl/ScrollableDataTableJSAPI.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/ComponentControl/ScrollableDataTableJSAPI.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,3 +0,0 @@
-
-<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="scrollableDataTableJSAPIID">
-</f:subview>
Deleted: trunk/test-applications/facelets/src/main/webapp/ComponentControl/ToolTipJSAPI.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ComponentControl/ToolTipJSAPI.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/ComponentControl/ToolTipJSAPI.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,3 +0,0 @@
-
-<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="toolTipJSAPIID">
-</f:subview>
Modified: trunk/test-applications/facelets/src/main/webapp/CustomizePage/CustomizePage.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/CustomizePage/CustomizePage.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/CustomizePage/CustomizePage.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -3,21 +3,6 @@
<html>
<f:view>
<head>
- <f:loadBundle basename="message" var="msg" />
- <title></title>
-
- <script type="text/javascript">
- function showEvent(elementID, value) {
- var oldObject = window.document.getElementById(elementID);
- if(oldObject == null || oldObject.type == "text") return;
- var newObject = window.document.createElement('input');
- if(oldObject.type) newObject.type = "text";
- if(oldObject.size) newObject.size = oldObject.size;
- if(oldObject.value) newObject.value = value;
- if(oldObject.id) newObject.id = oldObject.id;
- oldObject.parentNode.replaceChild(newObject,oldObject);
- }
- </script>
</head>
<body>
<h:form id="test">
Modified: trunk/test-applications/facelets/src/main/webapp/Effect/Effect.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Effect/Effect.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/Effect/Effect.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -54,7 +54,7 @@
</span>
</f:verbatim>
<h:graphicImage value="/pics/fatal.gif"
- onclick="hidePanel1(), hedeImage1()" />
+ onclick="hidePanel1(), hideImage1()" />
<f:verbatim>
<span onclick="showPanel1(), showImage1()"><font color="blue">Show</font>
@@ -73,7 +73,7 @@
<h:panelGroup id="form_1a_ID">
<h:panelGrid id="panel_1_ID" border="1"
- style="background-color:#CCC">
+ style="background-color:#696969">
<f:facet name="header">
<h:outputText value="Panel Header" />
</f:facet>
Modified: trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -21,7 +21,7 @@
<f:selectItem itemLabel="2" itemValue="2" />
<f:selectItem itemLabel="3" itemValue="3" />
</h:selectOneListbox>
- <jsp:include page="/Calendar/Calendar.jsp" />
+
<f:verbatim>
<br />
<br />
Modified: trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -63,14 +63,12 @@
<a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
</h:inputText>
- <h:outputText value="autosized" />
- <h:selectBooleanCheckbox value="#{modalPanel.autosized}" >
-
+ <h:outputText value="autosized:" />
+ <h:selectBooleanCheckbox value="#{modalPanel.autosized}" onchange="submit();">
</h:selectBooleanCheckbox>
- <h:outputText value="Resizeable:" />
+ <h:outputText value="resizeable:" />
<h:selectBooleanCheckbox value="#{modalPanel.resizeable}" onchange="submit();">
-
</h:selectBooleanCheckbox>
<h:outputText value="Moveable:" />
Modified: trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,6 +1,6 @@
<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="paint2DSubviewID">
- <rich:paint2D id="paint2dID" paint="#{paint2D.paint}" data="#{paintData}" width="#{paint2D.width}" height="#{paint2D.height}"
+ <rich:paint2D id="paint2dID" cacheable="#{paint2D.cacheable}" paint="#{paint2D.paint}" data="#{paintData}" width="#{paint2D.width}" height="#{paint2D.height}"
align="#{paint2D.align}" hspace="#{paint2D.hspace}" vspace="#{paint2D.vspace}" bgcolor="#{paint2D.bgcolor}"
format="#{paint2D.format}" title="#{paint2D.title}" styleClass="#{paint2D.styleString}" border="#{paint2D.border}"
rendered="#{paint2D.rendered}" />
Modified: trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -25,7 +25,10 @@
<h:inputText value="#{paint2D.hspace}">
<a4j:support event="onchange" reRender="paint2dID"></a4j:support>
</h:inputText>
-
+
+ <h:outputText value="cacheable:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{paint2D.cacheable}" onchange="submit();"/>
+
<h:outputText value="Align:"></h:outputText>
<h:selectOneMenu value="#{paint2D.align}">
<f:selectItem itemLabel="left" itemValue="left" />
Modified: trunk/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,6 +1,81 @@
<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="panelSubviewID">
+ <h:panelGrid columnClasses="panel" border="0" columns="3">
+ <rich:panel styleClass="top">
+ <f:facet name="header">
+ <h:panelGroup>
+ <f:verbatim>dsdsdsdsd<br />sdsd </f:verbatim>
+ </h:panelGroup>
+ </f:facet>
+
+ <f:verbatim>This is <b>default</b> panel. content here</f:verbatim>
+ </rich:panel>
+ <rich:panel styleClass="top" headerClass="hea" bodyClass="bo">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel" />
+ </f:facet>
+ <f:verbatim>This panel contains custom headerClass and bodyClass</f:verbatim>
+ </rich:panel>
+ <rich:panel styleClass="top2" headerClass="hea2" bodyClass="bo2">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel" />
+ </f:facet>
+ <f:verbatim> This panel also contains custom headerClass and bodyClass. The background is not a 3D anymore.</f:verbatim>
+ </rich:panel>
+
+ <h:panelGroup>
+ <h:form>
+ <rich:panel
+ onmouseover="document.getElementById(this.id+'_header').style.background='#60BA01';document.getElementById(this.id+'_body').style.background='#F4FFF8'"
+ onmouseout="document.getElementById(this.id+'_header').style.background='#4C9600';document.getElementById(this.id+'_body').style.background='#E4FFC8'"
+ style="width:200px;" headerClass="hea2" bodyClass="bo3">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel" />
+ </f:facet>
+ <f:verbatim>Base on the previous layout, but form element and javascript behaviour are added</f:verbatim>
+ <br />
+ <h:inputText />
+ </rich:panel>
+ </h:form>
+ </h:panelGroup>
+
+ <rich:panel style="width:200px;" headerClass="hea" bodyClass="bo3">
+ <f:facet name="header">
+ <h:outputText value="Scrolling Text Panel" />
+ </f:facet>
+ <f:verbatim>
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ </f:verbatim>
+ </rich:panel>
+
+ <rich:panel styleClass="top">
+ <f:verbatim>This is a panel without the header</f:verbatim>
+
+ </rich:panel>
+ </h:panelGrid>
+ <rich:panel style="position: absolute; top: 116px; right: 100px; "
+ styleClass="top">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel" />
+ </f:facet>
+ <f:verbatim>
+ This is a panel with absolute position on the screen.<br />
+ Resize the browser's window for fun.
+ </f:verbatim>
+ </rich:panel>
<h:outputText value="Panel 1, rendered: #{!panel.rendered}; Panel 2, rendered #{panel.rendered};"></h:outputText>
<rich:panel rendered="#{!panel.rendered}" id="p1" style="width:#{panel.width};height:#{panel.height};overflow:auto;"
@@ -38,7 +113,6 @@
style="width:#{panel.width};height:#{panel.height}"
ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')" onclick="showEvent('onclickInputID', 'onclick work!')" onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')">
<f:verbatim>This is panel 2 example...(Test events)</f:verbatim>
-
</rich:panel>
</f:subview>
Modified: trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,6 +1,6 @@
<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="panelMenuSubviewID">
- <rich:panelMenu id="panelMenuID" disabled="#{panelMenu.disabled}" width="#{panelMenu.width}" selectedChild="thisChild"
+ <rich:panelMenu id="panelMenuID" disabled="#{panelMenu.disabled}" width="#{panelMenu.width}" selectedChild="thisChild"
expandSingle="#{panelMenu.expandSingle}" mode="#{panelMenu.mode}" value="PanelMenu" rendered="#{panelMenu.rendered}"
iconCollapsedGroup="#{panelMenu.icon.collapsedGroup}" iconCollapsedTopGroup="#{panelMenu.icon.collapsedTopGroup}"
iconDisabledGroup="#{panelMenu.icon.disabledGroup}" iconDisabledItem="#{panelMenu.icon.disabledItem}"
@@ -166,5 +166,4 @@
</rich:panelMenuGroup>
</rich:panelMenuGroup>
</rich:panelMenu>
-
</f:subview>
Modified: trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -268,10 +268,7 @@
<h:column></h:column>
<h:outputText value="JavaScript API"></h:outputText>
<h:column></h:column>
- <a4j:commandLink onclick="$('formID:panelMenuSubviewID:panelMenuID').component.doExpand()" value="doExpand"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:panelMenuSubviewID:panelMenuID').component.doExpand" value="doExpand"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:panelMenuSubviewID:panelMenuID').component.expand" value="doExpand"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:panelMenuSubviewID:panelMenuID').component.doExpand(event)" value="doExpand"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:panelMenuSubviewID:panelMenuID').component.doCollapse()" value="doCollapse"></a4j:commandLink>
+ <a4j:commandLink onclick="PanelMenu.doExpand($('formID:panelMenuSubviewID:panelMenuID'));return false;" value="doExpand"></a4j:commandLink>
+ <a4j:commandLink onclick="PanelMenu.doCollapse($('formID:panelMenuSubviewID:panelMenuID'));return false;" value="doCollapse"></a4j:commandLink>
</h:panelGrid>
</f:subview>
\ No newline at end of file
Modified: trunk/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTable.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTable.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTable.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,6 +1,5 @@
<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="scrollableDataTableSubviewID">
-
<rich:scrollableDataTable id="sdt" var="sdt" rowKeyVar="key" onRowDblClick="alert('row:#{key}')"
ajaxSingle="#{scrollableDT.ajaxSingle}"
value="#{scrollableDT.data}" rows="#{scrollableDT.rows}"
Modified: trunk/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,6 +1,6 @@
<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="simpleTogglePanelSubviewID">
- <rich:simpleTogglePanel id="sTP" bodyClass="body" headerClass="head" label="simpleTogglePanel with some text"
+ <rich:simpleTogglePanel id="sTP" bodyClass="body" headerClass="head" label="simpleTogglePanel with some text"
width="#{simpleTogglePanel.width}" height="#{simpleTogglePanel.height}" switchType="#{simpleTogglePanel.switchType}"
opened="false" onclick="showEvent('onclickInputID', 'onclick work!')" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
Modified: trunk/test-applications/facelets/src/main/webapp/Spacer/Spacer.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Spacer/Spacer.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/Spacer/Spacer.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -10,7 +10,7 @@
}
</style>
<h:outputText value="Some text one..." styleClass="text"></h:outputText>
- <rich:spacer id="spacerId" width="#{spacer.width}" height="#{spacer.height}" rendered="#{spacer.rendered}"
+ <rich:spacer id="spacerId" title="#{spacer.title}" width="#{spacer.width}" height="#{spacer.height}" rendered="#{spacer.rendered}"
styleClass="#{spacer.style}" onclick="showEvent('onclickInputID', 'onclick work!')"
ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
Modified: trunk/test-applications/facelets/src/main/webapp/Spacer/SpacerProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Spacer/SpacerProperty.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/Spacer/SpacerProperty.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -11,6 +11,11 @@
<h:inputText value="#{spacer.height}">
<a4j:support event="onchange" reRender="spacerId"></a4j:support>
</h:inputText>
+
+ <h:outputText value="title:"></h:outputText>
+ <h:inputText value="#{spacer.title}">
+ <a4j:support event="onchange" reRender="spacerId"></a4j:support>
+ </h:inputText>
<h:outputText value="Rendered:"></h:outputText>
<h:selectBooleanCheckbox value="#{spacer.rendered}" onclick="submit()">
Modified: trunk/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBox.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBox.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBox.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,32 +1,28 @@
<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="suggestionBoxSubviewID">
- <h:messages showDetail="true"/>
- <f:verbatim>Suggestion Box will suggest you Town's names if it's started with the "a" or "A" letter
+ <h:messages showDetail="true" />
+ <f:verbatim>Suggestion Box will suggest you Town's names if it's started with the "a" or "A" letter
<br />
- </f:verbatim>
- <h:inputText value="#{sb.property}" id="text" />
- <rich:suggestionbox id="suggestionBoxId" for="text" var="result"
- fetchValue="#{result.text}"
- suggestionAction="#{sb.autocomplete}" width="#{sb.width}" height="#{sb.height}" border="#{sb.border}"
- zindex="#{sb.zindex}" rules="#{sb.rules}" styleClass="styleClass"
- cellpadding="#{sb.cellpadding}" cellspacing="#{sb.cellspacing}"
- first="#{sb.first}" minChars="#{sb.minchars}" tokens="#{sb.tokens}"
- bgcolor="#{sb.bgColor}" focus="#{sb.forcus}" title="#{result.text}"
- summary="summary" shadowOpacity="#{sb.shadowOpacity}"
- shadowDepth="#{sb.shadowDepth}" selectValueClass="mousemove" frequency="#{sb.frequency}"
- nothingLabel="nothingLabel work! " oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- onselect="showEvent('onselectInputID', 'onselect work!')" >
- <h:column>
- <h:outputText value="#{result.city}" />
- </h:column>
- <h:column>
- <h:outputText value="#{result.contry}" />
- </h:column>
- <h:column>
- <h:outputText value="#{result.flag}" />
- </h:column>
-
- </rich:suggestionbox>
- <div
- style="position: relative; font-size: 50px; z-index: 2; color: navy">z-index</div>
+ </f:verbatim>
+ <h:inputText value="#{sb.property}" id="text" />
+ <rich:suggestionbox id="suggestionBoxId" eventsQueue="myEventsQueue" ajaxSingle="#{sb.ajaxSingle}" dir="#{sb.dir}"
+ rendered="#{sb.rendered}" requestDelay="#{sb.requestDelay}" selfRendered="#{sb.selfRendered}" value="#{sb.value}" for="text"
+ var="result" fetchValue="#{result.text}" suggestionAction="#{sb.autocomplete}" width="#{sb.width}" height="#{sb.height}"
+ border="#{sb.border}" zindex="#{sb.zindex}" rules="#{sb.rules}" styleClass="styleClass" cellpadding="#{sb.cellpadding}"
+ cellspacing="#{sb.cellspacing}" first="#{sb.first}" minChars="#{sb.minchars}" tokens="#{sb.tokens}" bgcolor="#{sb.bgColor}"
+ focus="#{sb.forcus}" title="#{result.text}" summary="summary" shadowOpacity="#{sb.shadowOpacity}"
+ shadowDepth="#{sb.shadowDepth}" selectValueClass="mousemove" frequency="#{sb.frequency}" nothingLabel="nothingLabel work! "
+ oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')" onselect="showEvent('onselectInputID', 'onselect work!')">
+ <h:column>
+ <h:outputText value="#{result.city}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{result.contry}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{result.flag}" />
+ </h:column>
+
+ </rich:suggestionbox>
+ <div style="position: relative; font-size: 50px; z-index: 2; color: navy">z-index</div>
</f:subview>
Modified: trunk/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBoxProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBoxProperty.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBoxProperty.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -9,37 +9,47 @@
<a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
</h:selectOneRadio>
- <f:verbatim>Frequency</f:verbatim>
+ <h:outputText value="requestDelay"></h:outputText>
+ <h:inputText value="#{sb.requestDelay}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="value"/>
+ <h:inputText value="#{sb.value}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Frequency"/>
<h:inputText value="#{sb.frequency}">
<a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
</h:inputText>
- <f:verbatim>Border</f:verbatim>
+ <h:outputText value="Border"/>
<h:inputText value="#{sb.border}">
<a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
</h:inputText>
- <f:verbatim>Width</f:verbatim>
+ <h:outputText value="Width"/>
<h:inputText value="#{sb.width}">
<a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
</h:inputText>
- <f:verbatim>Height</f:verbatim>
+ <h:outputText value="Height"/>
<h:inputText value="#{sb.height}">
<a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
</h:inputText>
- <f:verbatim>Cellpadding</f:verbatim>
+ <h:outputText value="Cellpadding"/>
<h:inputText value="#{sb.cellpadding}">
<a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
</h:inputText>
- <f:verbatim>Cellspacing</f:verbatim>
+ <h:outputText value="Cellspacing"/>
<h:inputText value="#{sb.cellspacing}">
<a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
</h:inputText>
- <f:verbatim>First</f:verbatim>
+ <h:outputText value="First" />
<h:inputText value="#{sb.first}">
<a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
</h:inputText>
@@ -51,6 +61,13 @@
<h:inputText value="#{sb.minchars}">
<a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
</h:inputText>
+
+ <h:outputText value="dir"></h:outputText>
+ <h:selectOneMenu value="#{sb.dir}">
+ <f:selectItem itemLabel="RTL" itemValue="RTL" />
+ <f:selectItem itemLabel="LTR" itemValue="LTR" />
+ </h:selectOneMenu>
+
<h:outputText value="Background Colour"></h:outputText>
<h:selectOneMenu value="#{sb.bgColor}">
@@ -92,5 +109,14 @@
<f:selectItem itemLabel="7" itemValue="6" />
<a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
</h:selectOneRadio>
+
+ <h:outputText value="ajaxSingle"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.ajaxSingle}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="selfRendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.selfRendered}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
</h:panelGrid>
</f:subview>
\ No newline at end of file
Modified: trunk/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanel.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanel.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanel.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -2,7 +2,7 @@
<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="togglePanelSubviewID">
<rich:togglePanel id="panel1" switchType="#{togglePanel.switchType}" initialState="asus" stateOrder="asus,blank"
- style="width:300px!important; overflow: hidden;" onclick="showEvent('onclickInputID', 'onclick work!')"
+ style="width:300px!important;" onclick="showEvent('onclickInputID', 'onclick work!')"
ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
@@ -22,7 +22,7 @@
</f:facet>
<f:facet name="asus">
- <rich:panel>
+ <rich:panel style="overflow: auto">
<f:facet name="header">
<h:panelGroup>
<rich:toggleControl id="toggleControl_panel1" for="togglePanelSubviewID:panel1">
@@ -146,5 +146,4 @@
</f:facet>
</rich:togglePanel>
- <ui:debug hotkey="L"></ui:debug>
</f:subview>
Modified: trunk/test-applications/facelets/src/main/webapp/ToolBar/ToolBar.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ToolBar/ToolBar.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/ToolBar/ToolBar.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -6,7 +6,8 @@
height="#{toolBar.height}" rendered="#{toolBar.rendered}"
itemSeparator="#{toolBar.itemSeparator}"
contentClass="#{toolBar.contentStyle}"
- separatorClass="#{toolBar.separatorStyle}">
+ separatorClass="#{toolBar.separatorStyle}"
+ contentStyle="contentStyle" style="style" styleClass="styleClass">
<h:outputText value="ToolBar" style="font-style: italic"></h:outputText>
<rich:toolBarGroup>
Modified: trunk/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,75 +1,82 @@
<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="tooltipSubviewID">
- <h:messages></h:messages>
+ <h:messages></h:messages>
- <h:outputText value="DEFAULT VALUE:"></h:outputText>
+ <h:outputText value="DEFAULT VALUE:"></h:outputText>
- <f:verbatim>
- <br />
- </f:verbatim>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
- <h:inputText value="Text" id="inp1" size="50">
- <rich:toolTip value="toolTip for input text" onclick="showEvent('onclickInputID', 'onclick work!')"
- oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')" ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')"
- onhide="showEvent('onhideInputID', 'onhide work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')"
- onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')" onshow="showEvent('onshowInputID', 'onshow work!')">
+ <h:inputText value="Text" id="inp1" size="50">
+ <rich:toolTip id="toolTipID" value="toolTip for input text" onclick="showEvent('onclickInputID', 'onclick work!')"
+
+ oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')" ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')"
+ onhide="showEvent('onhideInputID', 'onhide work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
+ onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
+ onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')"
+ onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
+ onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
+ onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')"
+ onshow="showEvent('onshowInputID', 'onshow work!')">
<f:facet name="defaultContent">
<f:verbatim>DEFAULT VALUE</f:verbatim>
</f:facet>
</rich:toolTip>
- </h:inputText>
- <h:panelGrid columns="3">
+ </h:inputText>
+ <h:panelGrid columns="2">
<h:outputText value="JavaScript API"></h:outputText>
- <h:column></h:column>
- <a4j:commandLink onclick="$('formID:tooltipSubviewID:inp1').component.doShow()" value="doShow"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:tooltipSubviewID:inp1').component.doHide()" value="doHide"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:tooltipSubviewID:inp1').component.doEnable()" value="doEnable"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:tooltipSubviewID:inp1').component.doDisable()" value="doDisable"></a4j:commandLink>
- </h:panelGrid>
- <h:selectOneListbox value="1" id="ddl">
- <rich:toolTip value="1231231" onclick="showEvent('onclickInputID', 'onclick work!')"
- oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')" ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')"
- onhide="showEvent('onhideInputID', 'onhide work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')"
- onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')" onshow="showEvent('onshowInputID', 'onshow work!')">
- <f:facet name="defaultContent">
- <f:verbatim>DEFAULT VALUE DropDown</f:verbatim>
- </f:facet>
- </rich:toolTip>
- </h:selectOneListbox>
+ <h:column></h:column>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doShow(event)" value="doShow"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doHide(event)" value="doHide"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doEnable" value="doEnable"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doDisable" value="doDisable"></a4j:commandLink>
+ </h:panelGrid>
+ <h:selectOneListbox value="1" id="ddl">
+ <rich:toolTip value="1231231" onclick="showEvent('onclickInputID', 'onclick work!')"
+ oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')" ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')"
+ onhide="showEvent('onhideInputID', 'onhide work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
+ onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
+ onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')"
+ onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
+ onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
+ onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')"
+ onshow="showEvent('onshowInputID', 'onshow work!')">
+ <f:facet name="defaultContent">
+ <f:verbatim>DEFAULT VALUE DropDown</f:verbatim>
+ </f:facet>
+ </rich:toolTip>
+ </h:selectOneListbox>
- <f:verbatim>
- <br />
- <br />
- </f:verbatim>
+ <f:verbatim>
+ <br />
+ <br />
+ </f:verbatim>
- <h:outputText value=" Test tooltip:"></h:outputText>
- <f:verbatim>
- <br />
- </f:verbatim>
+ <h:outputText value=" Test tooltip:"></h:outputText>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
- <rich:panel style="width:50px; height:50px; background-color: gray">
- <rich:toolTip id="tooltipID" value="#{tooltip.value}" mode="#{tooltip.mode}"
- layout="#{tooltip.layout}" horizontalOffset="#{tooltip.horizontalOffset}" verticalOffset="#{tooltip.verticalOffset}"
- followMouse="#{tooltip.followMouse}" direction="#{tooltip.direction}" style="#{tooltip.style}" disabled="#{tooltip.disabled}"
- rendered="#{tooltip.rendered}" onclick="showEvent('onclickInputID', 'onclick work!')"
- oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')" ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')"
- onhide="showEvent('onhideInputID', 'onhide work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')"
- onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')" onshow="showEvent('onshowInputID', 'onshow work!')">
- <h:graphicImage id="pricsID" value="/pics/ajax_process.gif"></h:graphicImage>
- </rich:toolTip>
- </rich:panel>
+ <rich:panel style="width:50px; height:50px; background-color: gray">
+ <rich:toolTip id="tooltipID" value="#{tooltip.value}" mode="#{tooltip.mode}" event="#{tooltip.event}"
+ hideDelay="#{tooltip.hideDelay}" showDelay="#{tooltip.showDelay}" layout="#{tooltip.layout}"
+ horizontalOffset="#{tooltip.horizontalOffset}" verticalOffset="#{tooltip.verticalOffset}" followMouse="#{tooltip.followMouse}"
+ direction="#{tooltip.direction}" style="#{tooltip.style}" disabled="#{tooltip.disabled}" rendered="#{tooltip.rendered}"
+ onclick="showEvent('onclickInputID', 'onclick work!')" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
+ ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onhide="showEvent('onhideInputID', 'onhide work!')"
+ onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')" onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')"
+ onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')"
+ onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
+ onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
+ onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')"
+ onshow="showEvent('onshowInputID', 'onshow work!')">
+ <h:graphicImage id="pricsID" value="/pics/ajax_process.gif"></h:graphicImage>
+ </rich:toolTip>
+ </rich:panel>
- <f:verbatim>
- <br />
- </f:verbatim>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
</f:subview>
Modified: trunk/test-applications/facelets/src/main/webapp/Tooltip/TooltipProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Tooltip/TooltipProperty.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/Tooltip/TooltipProperty.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,73 +1,90 @@
<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="toolTipStraightforwardSubviewID">
- <h:panelGrid columns="2">
- <h:outputText value="Text:"></h:outputText>
- <h:inputText value="#{tooltip.value}">
- <a4j:support event="onchange" reRender="tooltipID" />
- </h:inputText>
+ <h:panelGrid columns="2">
+ <h:outputText value="Text:"></h:outputText>
+ <h:inputText value="#{tooltip.value}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
- <h:outputText value="Delay"></h:outputText>
- <h:inputText value="#{tooltip.delay}">
- <a4j:support event="onchange" reRender="tooltipID" />
- </h:inputText>
+ <h:outputText value="Delay"></h:outputText>
+ <h:inputText value="#{tooltip.delay}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
- <h:outputText value="Layout:"></h:outputText>
- <h:selectOneRadio value="#{tooltip.layout}">
- <f:selectItem itemLabel="inline" itemValue="inline" />
- <f:selectItem itemLabel="block" itemValue="block" />
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectOneRadio>
+ <h:outputText value="showDelay"></h:outputText>
+ <h:inputText value="#{tooltip.showDelay}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
- <h:outputText value="Mode:"></h:outputText>
- <h:selectOneRadio value="#{tooltip.mode}">
- <f:selectItem itemLabel="client" itemValue="client" />
- <f:selectItem itemLabel="ajax" itemValue="ajax" />
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectOneRadio>
+ <h:outputText value="hideDelay"></h:outputText>
+ <h:inputText value="#{tooltip.hideDelay}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
- <h:outputText value="Horizontal offset:"></h:outputText>
- <h:inputText value="#{tooltip.horizontalOffset}">
- <a4j:support event="onchange" reRender="tooltipID" />
- </h:inputText>
+ <h:outputText value="event:" />
+ <h:selectOneMenu value="#{tooltip.event}" onchange="submit();">
+ <f:selectItem itemLabel="onmouseover" itemValue="oncontextmenu" />
+ <f:selectItem itemLabel="onclick" itemValue="onclick" />
+ <f:selectItem itemLabel="onmouseup" itemValue="onmousemove" />
+ </h:selectOneMenu>
- <h:outputText value="Vertical offset:"></h:outputText>
- <h:inputText value="#{tooltip.verticalOffset}">
- <a4j:support event="onchange" reRender="tooltipID" />
- </h:inputText>
+ <h:outputText value="Layout:"></h:outputText>
+ <h:selectOneRadio value="#{tooltip.layout}">
+ <f:selectItem itemLabel="inline" itemValue="inline" />
+ <f:selectItem itemLabel="block" itemValue="block" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
- <h:outputText value="Follow mouse:"></h:outputText>
- <h:selectBooleanCheckbox value="#{tooltip.followMouse}">
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectBooleanCheckbox>
+ <h:outputText value="Mode:"></h:outputText>
+ <h:selectOneRadio value="#{tooltip.mode}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
- <h:outputText value="Direction:" />
- <h:selectOneRadio value="#{tooltip.direction}">
- <f:selectItem itemLabel="top-right" itemValue="top-right" />
- <f:selectItem itemLabel="top-left" itemValue="top-left" />
- <f:selectItem itemLabel="bottom-right" itemValue="bottom-right" />
- <f:selectItem itemLabel="bottom-left" itemValue="bottom-left" />
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectOneRadio>
+ <h:outputText value="Horizontal offset:"></h:outputText>
+ <h:inputText value="#{tooltip.horizontalOffset}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
- <h:outputText value="Style:"></h:outputText>
- <h:selectOneRadio value="#{tooltip.style}">
- <f:selectItem itemLabel="none" itemValue="none" />
- <f:selectItem itemLabel="border:3px; font:bold 14px;" itemValue="border:3px; font:bold 14px;" />
- <f:selectItem itemLabel="border:green 3px solid; background-color:yellow;"
- itemValue="border:green 3px solid; background-color:yellow;" />
- <f:selectItem itemLabel="border:green 2px solid; font-family:monospace;"
- itemValue="border:green 2px solid; font-family:monospace;" />
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectOneRadio>
+ <h:outputText value="Vertical offset:"></h:outputText>
+ <h:inputText value="#{tooltip.verticalOffset}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
- <h:outputText value="Disambled:"></h:outputText>
- <h:selectBooleanCheckbox value="#{tooltip.disabled}">
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectBooleanCheckbox>
+ <h:outputText value="Follow mouse:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tooltip.followMouse}">
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectBooleanCheckbox>
- <h:outputText value="Rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{tooltip.rendered}">
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectBooleanCheckbox>
- </h:panelGrid>
+ <h:outputText value="Direction:" />
+ <h:selectOneRadio value="#{tooltip.direction}">
+ <f:selectItem itemLabel="top-right" itemValue="top-right" />
+ <f:selectItem itemLabel="top-left" itemValue="top-left" />
+ <f:selectItem itemLabel="bottom-right" itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Style:"></h:outputText>
+ <h:selectOneRadio value="#{tooltip.style}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="border:3px; font:bold 14px;" itemValue="border:3px; font:bold 14px;" />
+ <f:selectItem itemLabel="border:green 3px solid; background-color:yellow;"
+ itemValue="border:green 3px solid; background-color:yellow;" />
+ <f:selectItem itemLabel="border:green 2px solid; font-family:monospace;"
+ itemValue="border:green 2px solid; font-family:monospace;" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Disambled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tooltip.disabled}">
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tooltip.rendered}">
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
Modified: trunk/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarthProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarthProperty.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarthProperty.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -1,5 +1,5 @@
-<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="DataFilterSliderSubviewID" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="virtualEarthPropertySubviewID">
+<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="virtualEarthPropertySubviewID">
<h:panelGroup>
<f:verbatim>
Dashboard:<br />
Modified: trunk/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -125,10 +125,6 @@
<to-view-id>/pages/Select/Map.xhtml</to-view-id>
</navigation-case>
<navigation-case>
- <from-outcome>RichTest</from-outcome>
- <to-view-id>/RichTest/RichTest.xhtml</to-view-id>
- </navigation-case>
- <navigation-case>
<from-outcome>CustomizePage</from-outcome>
<to-view-id>/CustomizePage/CustomizePage.xhtml</to-view-id>
</navigation-case>
@@ -142,20 +138,6 @@
</navigation-case>
</navigation-rule>
<navigation-rule>
- <from-view-id>/Panel/Panel.xhtml</from-view-id>
- <navigation-case>
- <from-outcome>Sample2</from-outcome>
- <to-view-id>/Panel/Panel2.xhtml</to-view-id>
- </navigation-case>
- </navigation-rule>
- <navigation-rule>
- <from-view-id>/Panel/panel2.xhtml</from-view-id>
- <navigation-case>
- <from-outcome>BackP</from-outcome>
- <to-view-id>/Panel/Panel.xhtml</to-view-id>
- </navigation-case>
- </navigation-rule>
- <navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>main</from-outcome>
@@ -168,9 +150,4 @@
<lifecycle>
<phase-listener id="phaseTracker">util.phaseTracker.PhaseTracker</phase-listener>
</lifecycle>
- <application>
- <locale-config>
- <default-locale>en</default-locale>
- </locale-config>
- </application>
</faces-config>
Modified: trunk/test-applications/facelets/src/main/webapp/jQuery/jQuery.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/jQuery/jQuery.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/jQuery/jQuery.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -12,7 +12,7 @@
}
.divColor_1 {
-
+
background-color: #1E90FF;
}
Modified: trunk/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml 2008-01-22 08:02:58 UTC (rev 5524)
@@ -33,44 +33,7 @@
<h:panelGrid columns="1">
<h:outputText value="Select component:" />
<h:selectOneMenu value="#{richBean.src}" onchange="submit();">
- <f:selectItem itemValue="Blank" itemLabel="Blank" />
- <f:selectItem itemValue="Columns" itemLabel="Columns"/>
- <f:selectItem itemValue="ComponentControl" itemLabel="ComponentControl" />
- <f:selectItem itemValue="OrderingList" itemLabel="OrderingList" />
- <f:selectItem itemValue="ListShuttle" itemLabel="ListShuttle" />
- <f:selectItem itemValue="ContextMenu" itemLabel="ContextMenu" />
- <f:selectItem itemValue="Calendar" itemLabel="Calendar" />
- <f:selectItem itemValue="DataFilterSlider" itemLabel="Data Filter Slider" />
- <f:selectItem itemValue="DataScroller" itemLabel="Date Scroller" />
- <f:selectItem itemValue="DataTable" itemLabel="Date Table" />
- <f:selectItem itemValue="DataDefinitionList" itemLabel="DataDefinitionList" />
- <f:selectItem itemValue="DataOrderedList" itemLabel="DataOrderedList" />
- <f:selectItem itemValue="DragAndDrop" itemLabel="Drag And Drop" />
- <f:selectItem itemValue="DropDownMenu" itemLabel="Drop Down Menu" />
- <f:selectItem itemValue="Effect" itemLabel="Effect" />
- <f:selectItem itemValue="Gmap" itemLabel="Gmap" />
- <f:selectItem itemValue="InputNumberSlider" itemLabel="Input Number Slider" />
- <f:selectItem itemValue="InputNumberSpinner" itemLabel="Input Number Spinner" />
- <f:selectItem itemValue="Insert" itemLabel="Insert" />
- <f:selectItem itemValue="Message" itemLabel="Message" />
- <f:selectItem itemValue="ModalPanel" itemLabel="Modal Panel" />
- <f:selectItem itemValue="Paint2D" itemLabel="Paint2D" />
- <f:selectItem itemValue="Panel" itemLabel="Panel" />
- <f:selectItem itemValue="Panel2" itemLabel="Panel2" />
- <f:selectItem itemValue="PanelBar" itemLabel="Panel Bar" />
- <f:selectItem itemValue="PanelMenu" itemLabel="Panel Menu" />
- <f:selectItem itemValue="Separator" itemLabel="Separator" />
- <f:selectItem itemValue="SimpleTogglePanel" itemLabel="Simple Toggle Panel" />
- <f:selectItem itemValue="Spacer" itemLabel="Spacer" />
- <f:selectItem itemValue="SuggestionBox" itemLabel="Suggestion Box" />
- <f:selectItem itemValue="TabPanel" itemLabel="Tab Panel" />
- <f:selectItem itemValue="TogglePanel" itemLabel="Toggle Panel" />
- <f:selectItem itemValue="ToolBar" itemLabel="Tool Bar" />
- <f:selectItem itemValue="Tooltip" itemLabel="Tooltip" />
- <f:selectItem itemValue="Tree" itemLabel="Tree" />
- <f:selectItem itemValue="VirtualEarth" itemLabel="Virtual Earth" />
- <f:selectItem itemValue="ScrollableDataTable" itemLabel="ScrollableDataTable" />
- <f:selectItem itemValue="jQuery" itemLabel="jQuery" />
+ <f:selectItems value="#{richBean.list}"/>
</h:selectOneMenu>
</h:panelGrid>
</h:panelGrid>
Modified: trunk/test-applications/facelets/src/main/webapp/styles/styles.css
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/styles/styles.css 2008-01-22 03:50:42 UTC (rev 5523)
+++ trunk/test-applications/facelets/src/main/webapp/styles/styles.css 2008-01-22 08:02:58 UTC (rev 5524)
@@ -29,7 +29,7 @@
.infoLabel {
color: #00FF00;
-width: inherit;
+ width: inherit;
}
.fatalLabel {
More information about the richfaces-svn-commits
mailing list