Author: ayanul
Date: 2008-01-22 03:22:56 -0500 (Tue, 22 Jan 2008)
New Revision: 5525
Removed:
trunk/test-applications/jsp/src/main/webapp/Panel/Panel2.jsp
Modified:
trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java
trunk/test-applications/jsp/src/main/java/paint2D/Paint2D.java
trunk/test-applications/jsp/src/main/java/rich/MapComponent.java
trunk/test-applications/jsp/src/main/java/rich/RichBean.java
trunk/test-applications/jsp/src/main/java/sb/Sb.java
trunk/test-applications/jsp/src/main/java/spacer/Spacer.java
trunk/test-applications/jsp/src/main/java/tooltip/Tooltip.java
trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp
trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp
trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp
trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanelProperty.jsp
trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp
trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2DProperty.jsp
trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp
trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp
trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenuProperty.jsp
trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp
trunk/test-applications/jsp/src/main/webapp/Spacer/Spacer.jsp
trunk/test-applications/jsp/src/main/webapp/Spacer/SpacerProperty.jsp
trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp
trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp
trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp
trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp
trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp
trunk/test-applications/jsp/src/main/webapp/Tooltip/TooltipProperty.jsp
trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml
trunk/test-applications/jsp/src/main/webapp/pages/RichMenu/RichMenu.jsp
trunk/test-applications/jsp/src/main/webapp/styles/styles.css
Log:
Modified: trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java 2008-01-22
08:02:58 UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java 2008-01-22
08:22:56 UTC (rev 5525)
@@ -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/jsp/src/main/java/paint2D/Paint2D.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/paint2D/Paint2D.java 2008-01-22 08:02:58 UTC
(rev 5524)
+++ trunk/test-applications/jsp/src/main/java/paint2D/Paint2D.java 2008-01-22 08:22:56 UTC
(rev 5525)
@@ -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/jsp/src/main/java/rich/MapComponent.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/rich/MapComponent.java 2008-01-22 08:02:58
UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/java/rich/MapComponent.java 2008-01-22 08:22:56
UTC (rev 5525)
@@ -1,15 +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) {
Modified: trunk/test-applications/jsp/src/main/java/rich/RichBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/rich/RichBean.java 2008-01-22 08:02:58 UTC
(rev 5524)
+++ trunk/test-applications/jsp/src/main/java/rich/RichBean.java 2008-01-22 08:22:56 UTC
(rev 5525)
@@ -1,8 +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 {
@@ -40,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}));
@@ -131,4 +133,14 @@
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/jsp/src/main/java/sb/Sb.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/sb/Sb.java 2008-01-22 08:02:58 UTC (rev
5524)
+++ trunk/test-applications/jsp/src/main/java/sb/Sb.java 2008-01-22 08:22:56 UTC (rev
5525)
@@ -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/jsp/src/main/java/spacer/Spacer.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/spacer/Spacer.java 2008-01-22 08:02:58 UTC
(rev 5524)
+++ trunk/test-applications/jsp/src/main/java/spacer/Spacer.java 2008-01-22 08:22:56 UTC
(rev 5525)
@@ -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/jsp/src/main/java/tooltip/Tooltip.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/tooltip/Tooltip.java 2008-01-22 08:02:58 UTC
(rev 5524)
+++ trunk/test-applications/jsp/src/main/java/tooltip/Tooltip.java 2008-01-22 08:22:56 UTC
(rev 5525)
@@ -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/jsp/src/main/webapp/Calendar/CalendarProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -14,7 +14,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"/>
@@ -44,9 +44,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>
@@ -54,27 +51,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:" />
@@ -180,26 +174,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>
Modified: trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp 2008-01-22 08:02:58 UTC
(rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp 2008-01-22 08:22:56 UTC
(rev 5525)
@@ -58,7 +58,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>
@@ -77,7 +77,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/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -25,7 +25,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/jsp/src/main/webapp/ModalPanel/ModalPanelProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanelProperty.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++
trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanelProperty.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -67,14 +67,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/jsp/src/main/webapp/Paint2D/Paint2D.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp 2008-01-22 08:02:58
UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp 2008-01-22 08:22:56
UTC (rev 5525)
@@ -4,7 +4,7 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview 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/jsp/src/main/webapp/Paint2D/Paint2DProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2DProperty.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2DProperty.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -29,7 +29,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/jsp/src/main/webapp/Panel/Panel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp 2008-01-22 08:02:58 UTC
(rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp 2008-01-22 08:22:56 UTC
(rev 5525)
@@ -4,7 +4,82 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview 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;"
@@ -42,7 +117,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>
Deleted: trunk/test-applications/jsp/src/main/webapp/Panel/Panel2.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Panel/Panel2.jsp 2008-01-22 08:02:58 UTC
(rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/Panel/Panel2.jsp 2008-01-22 08:22:56 UTC
(rev 5525)
@@ -1,95 +0,0 @@
-<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
-
-<f:subview id="panel2SubviewID">
- <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>
- <rich:panel style="width:#{panel.width};height:#{panel.height}">
- <f:facet name="header">
- <f:verbatim>
- Test<br />
- Test<br />
- Test<br />
- </f:verbatim>
- </f:facet>
- <h:form>
- <h:outputText value="inside the form" />
- </h:form>
- </rich:panel>
-</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -4,7 +4,7 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview 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}"
@@ -170,5 +170,4 @@
</rich:panelMenuGroup>
</rich:panelMenuGroup>
</rich:panelMenu>
-
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenuProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenuProperty.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenuProperty.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -272,10 +272,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/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++
trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -4,7 +4,6 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview 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/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -4,7 +4,7 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview 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/jsp/src/main/webapp/Spacer/Spacer.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Spacer/Spacer.jsp 2008-01-22 08:02:58 UTC
(rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/Spacer/Spacer.jsp 2008-01-22 08:22:56 UTC
(rev 5525)
@@ -14,7 +14,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/jsp/src/main/webapp/Spacer/SpacerProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Spacer/SpacerProperty.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/Spacer/SpacerProperty.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -15,6 +15,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/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -4,33 +4,29 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview 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/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++
trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -13,37 +13,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>
@@ -55,6 +65,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}">
@@ -96,5 +113,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/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -6,7 +6,7 @@
<f:subview 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!')"
@@ -26,7 +26,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">
Modified: trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp 2008-01-22 08:02:58
UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp 2008-01-22 08:22:56
UTC (rev 5525)
@@ -10,7 +10,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/jsp/src/main/webapp/Tooltip/Tooltip.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp 2008-01-22 08:02:58
UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp 2008-01-22 08:22:56
UTC (rev 5525)
@@ -4,76 +4,83 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview 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/jsp/src/main/webapp/Tooltip/TooltipProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Tooltip/TooltipProperty.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/Tooltip/TooltipProperty.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -4,74 +4,91 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview 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/jsp/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml 2008-01-22
08:02:58 UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml 2008-01-22
08:22:56 UTC (rev 5525)
@@ -134,20 +134,6 @@
</navigation-case>
</navigation-rule>
<navigation-rule>
- <from-view-id>/Panel/Panel.jsp</from-view-id>
- <navigation-case>
- <from-outcome>Sample2</from-outcome>
- <to-view-id>/Panel/Panel2.jsp</to-view-id>
- </navigation-case>
- </navigation-rule>
- <navigation-rule>
- <from-view-id>/Panel/panel2.jsp</from-view-id>
- <navigation-case>
- <from-outcome>BackP</from-outcome>
- <to-view-id>/Panel/Panel.jsp</to-view-id>
- </navigation-case>
- </navigation-rule>
- <navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>main</from-outcome>
Modified: trunk/test-applications/jsp/src/main/webapp/pages/RichMenu/RichMenu.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/RichMenu/RichMenu.jsp 2008-01-22
08:02:58 UTC (rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/pages/RichMenu/RichMenu.jsp 2008-01-22
08:22:56 UTC (rev 5525)
@@ -37,44 +37,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/jsp/src/main/webapp/styles/styles.css
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/styles/styles.css 2008-01-22 08:02:58 UTC
(rev 5524)
+++ trunk/test-applications/jsp/src/main/webapp/styles/styles.css 2008-01-22 08:22:56 UTC
(rev 5525)
@@ -29,7 +29,7 @@
.infoLabel {
color: #00FF00;
-width: inherit;
+ width: inherit;
}
.fatalLabel {