Author: mvitenkov
Date: 2008-07-10 10:17:51 -0400 (Thu, 10 Jul 2008)
New Revision: 9511
Modified:
trunk/test-applications/facelets/src/main/java/message/Message.java
trunk/test-applications/facelets/src/main/java/modalPanel/ModalPanel.java
trunk/test-applications/facelets/src/main/java/orderingList/OrderingList.java
trunk/test-applications/facelets/src/main/java/paint2D/Paint2D.java
trunk/test-applications/facelets/src/main/java/panel/Panel.java
trunk/test-applications/facelets/src/main/java/panelBar/PanelBar.java
trunk/test-applications/facelets/src/main/java/panelMenu/PanelMenu.java
trunk/test-applications/facelets/src/main/java/pickList/PickList.java
trunk/test-applications/facelets/src/main/java/progressBar/ProgressBar.java
trunk/test-applications/facelets/src/main/webapp/Message/Message.xhtml
trunk/test-applications/facelets/src/main/webapp/Message/MessageProperty.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/OrderingList/OrderingList.xhtml
trunk/test-applications/facelets/src/main/webapp/OrderingList/OrderingListProperty.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/Panel/PanelProperty.xhtml
trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBar.xhtml
trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBarProperty.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/PickList/PickListProperty.xhtml
trunk/test-applications/facelets/src/main/webapp/ProgressBar/ProgressBar.xhtml
Log:
Modified: trunk/test-applications/facelets/src/main/java/message/Message.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/message/Message.java 2008-07-10
13:33:38 UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/java/message/Message.java 2008-07-10
14:17:51 UTC (rev 9511)
@@ -1,5 +1,10 @@
package message;
+import org.richfaces.component.html.HtmlRichMessage;
+import org.richfaces.component.html.HtmlRichMessages;
+
+import util.componentInfo.ComponentInfo;
+
public class Message {
private String msg;
private String layout;
@@ -12,6 +17,8 @@
private String select3;
private String select4;
private String select5;
+ private HtmlRichMessage htmlMessage = null;
+ private HtmlRichMessages htmlMessages = null;
public Message() {
msg = "select1";
@@ -184,4 +191,32 @@
setSelect4("passed");
setSelect5("warn");
}
+
+ public HtmlRichMessage getHtmlMessage() {
+ return htmlMessage;
+ }
+
+ public void setHtmlMessage(HtmlRichMessage htmlMessage) {
+ this.htmlMessage = htmlMessage;
+ }
+
+ public HtmlRichMessages getHtmlMessages() {
+ return htmlMessages;
+ }
+
+ public void setHtmlMessages(HtmlRichMessages htmlMessages) {
+ this.htmlMessages = htmlMessages;
+ }
+
+ public String add1(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlMessage);
+ return null;
+ }
+
+ public String add2(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlMessages);
+ return null;
+ }
}
Modified: trunk/test-applications/facelets/src/main/java/modalPanel/ModalPanel.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/modalPanel/ModalPanel.java 2008-07-10
13:33:38 UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/java/modalPanel/ModalPanel.java 2008-07-10
14:17:51 UTC (rev 9511)
@@ -1,5 +1,9 @@
package modalPanel;
+import org.richfaces.component.html.HtmlModalPanel;
+
+import util.componentInfo.ComponentInfo;
+
public class ModalPanel {
private String id;
private boolean autosized;
@@ -19,8 +23,23 @@
private boolean resizeable;
private String inputTextTest;
private String selectOneListboxTest;
+ private HtmlModalPanel htmlModalPanel = null;
+ public HtmlModalPanel getHtmlModalPanel() {
+ return htmlModalPanel;
+ }
+
+ public void setHtmlModalPanel(HtmlModalPanel htmlModalPanel) {
+ this.htmlModalPanel = htmlModalPanel;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlModalPanel);
+ return null;
+ }
+
public String getInputTextTest() {
return inputTextTest;
}
Modified: trunk/test-applications/facelets/src/main/java/orderingList/OrderingList.java
===================================================================
---
trunk/test-applications/facelets/src/main/java/orderingList/OrderingList.java 2008-07-10
13:33:38 UTC (rev 9510)
+++
trunk/test-applications/facelets/src/main/java/orderingList/OrderingList.java 2008-07-10
14:17:51 UTC (rev 9511)
@@ -6,6 +6,9 @@
import javax.faces.component.html.HtmlDataTable;
+import org.richfaces.component.html.HtmlOrderingList;
+
+import util.componentInfo.ComponentInfo;
import util.data.Data;
public class OrderingList{
@@ -30,7 +33,22 @@
private boolean facet;
private boolean showAllData;
private boolean showSelect;
+ private HtmlOrderingList htmlOL = null;
+ public HtmlOrderingList getHtmlOL() {
+ return htmlOL;
+ }
+
+ public void setHtmlOL(HtmlOrderingList htmlOL) {
+ this.htmlOL = htmlOL;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlOL);
+ return null;
+ }
+
public boolean isFacet() {
return facet;
}
Modified: trunk/test-applications/facelets/src/main/java/paint2D/Paint2D.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/paint2D/Paint2D.java 2008-07-10
13:33:38 UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/java/paint2D/Paint2D.java 2008-07-10
14:17:51 UTC (rev 9511)
@@ -13,6 +13,10 @@
import java.awt.Font;
import java.awt.Graphics2D;
+import org.richfaces.component.html.HtmlPaint2D;
+
+import util.componentInfo.ComponentInfo;
+
public class Paint2D {
private static float location = 150;
@@ -30,7 +34,22 @@
private boolean cacheable;
private boolean rendered;
private boolean style;
+ private HtmlPaint2D htmlPaint2D = null;
+ public HtmlPaint2D getHtmlPaint2D() {
+ return htmlPaint2D;
+ }
+
+ public void setHtmlPaint2D(HtmlPaint2D htmlPaint2D) {
+ this.htmlPaint2D = htmlPaint2D;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlPaint2D);
+ return null;
+ }
+
public boolean isRerender() {
return rendered;
}
Modified: trunk/test-applications/facelets/src/main/java/panel/Panel.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/panel/Panel.java 2008-07-10 13:33:38
UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/java/panel/Panel.java 2008-07-10 14:17:51
UTC (rev 9511)
@@ -2,6 +2,10 @@
import javax.faces.event.ValueChangeEvent;
+import org.richfaces.component.html.HtmlPanel;
+
+import util.componentInfo.ComponentInfo;
+
public class Panel {
private boolean rendered;
@@ -9,7 +13,22 @@
private String width;
private String height;
private String[] title ;
+ private HtmlPanel htmlPanel = null;
+ public HtmlPanel getHtmlPanel() {
+ return htmlPanel;
+ }
+
+ public void setHtmlPanel(HtmlPanel htmlPanel) {
+ this.htmlPanel = htmlPanel;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlPanel);
+ return null;
+ }
+
public Panel() {
rendered = false;
width = "350px";
Modified: trunk/test-applications/facelets/src/main/java/panelBar/PanelBar.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/panelBar/PanelBar.java 2008-07-10
13:33:38 UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/java/panelBar/PanelBar.java 2008-07-10
14:17:51 UTC (rev 9511)
@@ -2,6 +2,10 @@
import javax.faces.event.ValueChangeEvent;
+import org.richfaces.component.html.HtmlPanelBar;
+
+import util.componentInfo.ComponentInfo;
+
public class PanelBar {
private String width;
@@ -11,6 +15,7 @@
private String style=null;
private String headerStyle=null;
private String btnLabel="ON";
+ private HtmlPanelBar htmlPanelBar = null;
private String[] label = {"label_0","label_1", "label_2",
"label_3"};
@@ -26,6 +31,12 @@
//headerStyle=null;
}
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlPanelBar);
+ return null;
+ }
+
public void doStyles()
{
if (getContentStyle() == null) {
@@ -150,4 +161,12 @@
setHeight("400px");
setLabel(new String [] {"Test5", "Test 5", "Test_5",
"Test-5"});
}
+
+ public HtmlPanelBar getHtmlPanelBar() {
+ return htmlPanelBar;
+ }
+
+ public void setHtmlPanelBar(HtmlPanelBar htmlPanelBar) {
+ this.htmlPanelBar = htmlPanelBar;
+ }
}
Modified: trunk/test-applications/facelets/src/main/java/panelMenu/PanelMenu.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/panelMenu/PanelMenu.java 2008-07-10
13:33:38 UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/java/panelMenu/PanelMenu.java 2008-07-10
14:17:51 UTC (rev 9511)
@@ -1,5 +1,8 @@
package panelMenu;
+import org.richfaces.component.html.HtmlPanelMenu;
+
+import util.componentInfo.ComponentInfo;
import util.icon.Icon;
public class PanelMenu {
@@ -18,7 +21,22 @@
private String inputText;
private boolean disabled;
private boolean expandSingle;
+ private HtmlPanelMenu htmlPanelMenu = null;
+ public HtmlPanelMenu getHtmlPanelMenu() {
+ return htmlPanelMenu;
+ }
+
+ public void setHtmlPanelMenu(HtmlPanelMenu htmlPanelMenu) {
+ this.htmlPanelMenu = htmlPanelMenu;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlPanelMenu);
+ return null;
+ }
+
public PanelMenu() {
width = "500px";
mode = "none";
Modified: trunk/test-applications/facelets/src/main/java/pickList/PickList.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/pickList/PickList.java 2008-07-10
13:33:38 UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/java/pickList/PickList.java 2008-07-10
14:17:51 UTC (rev 9511)
@@ -4,6 +4,9 @@
import java.util.Iterator;
import java.util.List;
import org.richfaces.component.html.HtmlPickList;
+
+import util.componentInfo.ComponentInfo;
+
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
@@ -70,6 +73,12 @@
public HtmlPickList getMyPickList() {
return myPickList;
}
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(myPickList);
+ return null;
+ }
public void setMyPickList(HtmlPickList myPickList) {
this.myPickList = myPickList;
Modified: trunk/test-applications/facelets/src/main/java/progressBar/ProgressBar.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/progressBar/ProgressBar.java 2008-07-10
13:33:38 UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/java/progressBar/ProgressBar.java 2008-07-10
14:17:51 UTC (rev 9511)
@@ -2,6 +2,9 @@
import javax.faces.event.ActionEvent;
+import org.richfaces.component.html.HtmlProgressBar;
+
+import util.componentInfo.ComponentInfo;
import util.data.Data;
public class ProgressBar {
@@ -17,7 +20,22 @@
private String listnerInfo;
private boolean ignoreDupResponses;
private boolean permanent;
+ private HtmlProgressBar htmlProgressBar = null;
+ public HtmlProgressBar getHtmlProgressBar() {
+ return htmlProgressBar;
+ }
+
+ public void setHtmlProgressBar(HtmlProgressBar htmlProgressBar) {
+ this.htmlProgressBar = htmlProgressBar;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlProgressBar);
+ return null;
+ }
+
public boolean isIgnoreDupResponses() {
return ignoreDupResponses;
}
Modified: trunk/test-applications/facelets/src/main/webapp/Message/Message.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Message/Message.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/webapp/Message/Message.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -3,13 +3,13 @@
<rich:panel>
<h:outputText value="Rich Message Demo:" />
- <f:verbatim>
+ <f:verbatim>
<br />
</f:verbatim>
<rich:message for="#{message.msg}" tooltip="#{message.tooltip}"
showDetail="#{message.showDetail}"
showSummary="#{message.showSummary}" passedLabel="No Error"
errorLabelClass="errorLabel" fatalLabelClass="warnLabel"
- infoLabelClass="infoLabel" warnLabelClass="fatalLabel"
title="#{message.title}" id="messageID">
+ infoLabelClass="infoLabel" warnLabelClass="fatalLabel"
title="#{message.title}" id="messageID"
binding="#{message.htmlMessage}">
<f:facet name="errorMarker">
@@ -40,7 +40,8 @@
showSummary="#{message.showSummary}" passedLabel="No Error"
errorLabelClass="errorLabel" fatalLabelClass="warnLabel"
infoLabelClass="infoLabel" warnLabelClass="fatalLabel"
warnMarkerClass="markerWarn" infoMarkerClass="markerInfo"
errorMarkerClass="markerError" fatalMarkerClass="markerFatal"
errorClass="errorClass" fatalClass="fatalClass"
- warnClass="warnClass" infoClass="infoClass"
labelClass="labelClass" styleClass="class"
title="#{message.title}" id="messagesID">
+ warnClass="warnClass" infoClass="infoClass"
labelClass="labelClass" styleClass="class"
title="#{message.title}"
+ id="messagesID" binding="#{message.htmlMessages}">
<f:facet name="errorMarker">
<h:graphicImage url="/pics/error.gif" />
</f:facet>
Modified: trunk/test-applications/facelets/src/main/webapp/Message/MessageProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/Message/MessageProperty.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++
trunk/test-applications/facelets/src/main/webapp/Message/MessageProperty.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -1,89 +1,96 @@
-<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
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="MessagePropertySubviewID">
- <h:panelGrid columns="2">
- <h:outputText value="1." />
- <h:selectOneMenu id="select1" value="#{message.select1}">
- <f:selectItem itemValue="error" itemLabel="error" />
- <f:selectItem itemValue="fatal" itemLabel="fatal" />
- <f:selectItem itemValue="warn" itemLabel="warning" />
- <f:selectItem itemValue="info" itemLabel="info" />
- <f:selectItem itemValue="passed" itemLabel="passed" />
- <f:validator validatorId="MessageValidator" />
- </h:selectOneMenu>
+<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
+
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="MessagePropertySubviewID">
+ <h:commandButton action="#{message.add1}" value="add Message
test" />
+ <br/>
+ <h:commandButton action="#{message.add2}" value="add Messages
test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="1." />
+ <h:selectOneMenu id="select1" value="#{message.select1}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
- <h:outputText value="2." />
- <h:selectOneMenu id="select2" value="#{message.select2}">
- <f:selectItem itemValue="error" itemLabel="error" />
- <f:selectItem itemValue="fatal" itemLabel="fatal" />
- <f:selectItem itemValue="warn" itemLabel="warning" />
- <f:selectItem itemValue="info" itemLabel="info" />
- <f:selectItem itemValue="passed" itemLabel="passed" />
- <f:validator validatorId="MessageValidator" />
- </h:selectOneMenu>
+ <h:outputText value="2." />
+ <h:selectOneMenu id="select2" value="#{message.select2}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
- <h:outputText value="3." />
- <h:selectOneMenu id="select3" value="#{message.select3}">
- <f:selectItem itemValue="error" itemLabel="error" />
- <f:selectItem itemValue="fatal" itemLabel="fatal" />
- <f:selectItem itemValue="warn" itemLabel="warning" />
- <f:selectItem itemValue="info" itemLabel="info" />
- <f:selectItem itemValue="passed" itemLabel="passed" />
- <f:validator validatorId="MessageValidator" />
- </h:selectOneMenu>
+ <h:outputText value="3." />
+ <h:selectOneMenu id="select3" value="#{message.select3}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
- <h:outputText value="4." />
- <h:selectOneMenu id="select4" value="#{message.select4}">
- <f:selectItem itemValue="error" itemLabel="error" />
- <f:selectItem itemValue="fatal" itemLabel="fatal" />
- <f:selectItem itemValue="warn" itemLabel="warning" />
- <f:selectItem itemValue="info" itemLabel="info" />
- <f:selectItem itemValue="passed" itemLabel="passed" />
- <f:validator validatorId="MessageValidator" />
- </h:selectOneMenu>
+ <h:outputText value="4." />
+ <h:selectOneMenu id="select4" value="#{message.select4}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
- <h:outputText value="5." />
- <h:selectOneMenu id="select5" value="#{message.select5}">
- <f:selectItem itemValue="error" itemLabel="error" />
- <f:selectItem itemValue="fatal" itemLabel="fatal" />
- <f:selectItem itemValue="warn" itemLabel="warning" />
- <f:selectItem itemValue="info" itemLabel="info" />
- <f:selectItem itemValue="passed" itemLabel="passed" />
- <f:validator validatorId="MessageValidator" />
- </h:selectOneMenu>
+ <h:outputText value="5." />
+ <h:selectOneMenu id="select5" value="#{message.select5}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
- <h:outputText value="Rich Message Demo:" />
- <h:selectOneMenu value="#{message.msg}">
- <f:selectItem itemValue="no" itemLabel="no" />
- <f:selectItem itemValue="select1" itemLabel="1" />
- <f:selectItem itemValue="select2" itemLabel="2" />
- <f:selectItem itemValue="select3" itemLabel="3" />
- <f:selectItem itemValue="select4" itemLabel="4" />
- <f:selectItem itemValue="select5" itemLabel="5" />
- </h:selectOneMenu>
+ <h:outputText value="Rich Message Demo:" />
+ <h:selectOneMenu value="#{message.msg}">
+ <f:selectItem itemValue="no" itemLabel="no" />
+ <f:selectItem itemValue="select1" itemLabel="1" />
+ <f:selectItem itemValue="select2" itemLabel="2" />
+ <f:selectItem itemValue="select3" itemLabel="3" />
+ <f:selectItem itemValue="select4" itemLabel="4" />
+ <f:selectItem itemValue="select5" itemLabel="5" />
+ </h:selectOneMenu>
- <h:outputText value="Title:" />
- <h:inputText value="#{message.title}" />
+ <h:outputText value="Title:" />
+ <h:inputText value="#{message.title}" />
- <h:outputText value="Show Detail:" />
- <h:selectBooleanCheckbox value="#{message.showDetail}" />
+ <h:outputText value="Show Detail:" />
+ <h:selectBooleanCheckbox value="#{message.showDetail}" />
- <h:outputText value="ShowSummary" />
- <h:selectBooleanCheckbox value="#{message.showSummary}" />
+ <h:outputText value="ShowSummary" />
+ <h:selectBooleanCheckbox value="#{message.showSummary}" />
- <h:outputText value="Tooltip" />
- <h:selectBooleanCheckbox value="#{message.tooltip}" />
+ <h:outputText value="Tooltip" />
+ <h:selectBooleanCheckbox value="#{message.tooltip}" />
- <h:outputText value="Layout:" />
- <h:selectOneMenu value="#{message.layout}">
- <f:selectItem itemValue="table" itemLabel="table" />
- <f:selectItem itemValue="list" itemLabel="list" />
- </h:selectOneMenu>
+ <h:outputText value="Layout:" />
+ <h:selectOneMenu value="#{message.layout}">
+ <f:selectItem itemValue="table" itemLabel="table" />
+ <f:selectItem itemValue="list" itemLabel="list" />
+ </h:selectOneMenu>
- <h:commandButton value="submit" />
- <a4j:commandButton value="submit ajax" />
- </h:panelGrid>
- <br />
+ <h:commandButton value="submit" />
+ <a4j:commandButton value="submit ajax" />
+ </h:panelGrid>
<br />
+ <br />
<div style="FONT-WEIGHT: bold;">rich:findComponent</div>
<h:panelGrid columns="2">
<rich:column>
@@ -92,11 +99,12 @@
<rich:column id="findID1">
<h:outputText value="#{rich:findComponent('messageID').for}"
/>
</rich:column>
- <rich:column>
+ <rich:column>
<a4j:commandLink value="getRendererType(messages)"
reRender="findID2"></a4j:commandLink>
</rich:column>
<rich:column id="findID2">
- <h:outputText
value="#{rich:findComponent('messagesID').rendererType}" />
+ <h:outputText
+ value="#{rich:findComponent('messagesID').rendererType}" />
</rich:column>
</h:panelGrid>
</f:subview>
\ No newline at end of file
Modified: trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -39,7 +39,7 @@
onmaskmouseout="#{event.onmaskmouseout}"
onmaskmouseover="#{event.onmaskmouseover}"
onmaskmouseup="#{event.onmaskmouseup}" onmove="#{event.onmove}"
- onresize="#{event.onresize}" onshow="#{event.onshow}">
+ onresize="#{event.onresize}" onshow="#{event.onshow}"
binding="#{modalPanel.htmlModalPanel}">
<f:facet name="header">
<h:outputText value="Heder goes here..." />
</f:facet>
Modified:
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -1,5 +1,6 @@
<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
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="ModalPanelPropertySubviewID">
+<h:commandButton action="#{modalPanel.add}" value="add test"
/>
<h:panelGrid columns="2">
<h:outputText value="shadowDepth" />
<h:inputText value="#{modalPanel.shadowDepth}" >
Modified:
trunk/test-applications/facelets/src/main/webapp/OrderingList/OrderingList.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/OrderingList/OrderingList.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++
trunk/test-applications/facelets/src/main/webapp/OrderingList/OrderingList.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -13,7 +13,9 @@
downControlLabel="#{orderingList.downControlLabel}"
orderControlsVisible="#{orderingList.orderControlsVisible}"
fastOrderControlsVisible="#{orderingList.fastOrderControlsVisible}"
rendered="#{orderingList.rendered}"
showButtonLabels="#{orderingList.showButtonLabels}"
selection="#{orderingList.selection}"
- onmousemove="#{event.onmousemove}" onclick="#{event.onclick}"
ondblclick="#{event.ondblclick}" onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
onorderchanged="#{event.onorderchanged}"
ontopclick="#{event.ontopclick}" onupclick="#{event.onupclick}"
ondownclick="#{event.ondownclick}"
onbottomclick="#{event.onbottomclick}"
onheaderclick="#{event.onheaderclick}">
+ onmousemove="#{event.onmousemove}" onclick="#{event.onclick}"
ondblclick="#{event.ondblclick}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
onorderchanged="#{event.onorderchanged}"
ontopclick="#{event.ontopclick}" onupclick="#{event.onupclick}"
+ ondownclick="#{event.ondownclick}"
onbottomclick="#{event.onbottomclick}"
onheaderclick="#{event.onheaderclick}"
binding="#{orderingList.htmlOL}">
<f:facet name="header">
<h:outputText value="header" />
</f:facet>
Modified:
trunk/test-applications/facelets/src/main/webapp/OrderingList/OrderingListProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/OrderingList/OrderingListProperty.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++
trunk/test-applications/facelets/src/main/webapp/OrderingList/OrderingListProperty.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -5,6 +5,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
id="orderingListPropertySubviewID">
+ <h:commandButton action="#{orderingList.add}" value="add test"
/>
<h:panelGrid columns="2">
<h:outputText value="Enter quantity of lines" />
<h:panelGroup>
Modified: trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -3,5 +3,5 @@
<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}" />
+ rendered="#{paint2D.rendered}"
binding="#{paint2D.htmlPaint2D}"/>
</f:subview>
Modified: trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++
trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -1,5 +1,6 @@
<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
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="Paint2DPropertySubviewID">
+<h:commandButton action="#{paint2D.add}" value="add test" />
<h:panelGrid columns="2" cellpadding="5px"
border="2">
<h:outputText value="Text"></h:outputText>
<h:inputText value="#{paintData.text}">
Modified: trunk/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml 2008-07-10 13:33:38
UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml 2008-07-10 14:17:51
UTC (rev 9511)
@@ -17,7 +17,7 @@
<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">
+ style="width:200px;" headerClass="hea2"
bodyClass="bo3" binding="#{panel.htmlPanel}">
<f:facet name="header">
<h:outputText value="Header of the Panel"/>
</f:facet>
Modified: trunk/test-applications/facelets/src/main/webapp/Panel/PanelProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Panel/PanelProperty.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/webapp/Panel/PanelProperty.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -4,6 +4,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
id="PanelPropertySubviewID">
+ <h:commandButton action="#{panel.add}" value="add test" />
<h:panelGrid columns="2" cellpadding="10px">
<h:outputText value="Title"></h:outputText>
<h:inputText valueChangeListener="#{panel.makeTitle}">
Modified: trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBar.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBar.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBar.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -1,7 +1,8 @@
<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
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="panelBarSubviewID">
<rich:panelBar id="pBId" height="#{panelBar.height}"
width="#{panelBar.width}" contentClass="#{panelBar.contentStyle}"
- styleClass="#{panelBar.style}" selectedPanel="pBiId4"
onclick="#{event.onclick}" onitemchange="#{event.onitemchange}"
onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}">
+ styleClass="#{panelBar.style}" selectedPanel="pBiId4"
onclick="#{event.onclick}" onitemchange="#{event.onitemchange}"
+ onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
binding="#{panelBar.htmlPanelBar}">
<rich:panelBarItem rendered="#{panelBar.rendered}" id="pBiId1"
label="#{panelBar.label[0]}"
headerClass="#{panelBar.headerStyle}">
<h:outputText value="Some text..."></h:outputText>
Modified:
trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBarProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBarProperty.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++
trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBarProperty.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -4,6 +4,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
id="panelBarPropertySubviewID">
+ <h:commandButton action="#{panelBar.add}" value="add test" />
<h:panelGrid columns="2" cellspacing="10px">
<h:outputText value="Label: "></h:outputText>
<h:inputText valueChangeListener="#{panelBar.makeLabels}">
Modified: trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++ trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -13,7 +13,7 @@
ongroupexpand="#{event.ongroupexpand}"
onitemhover="#{event.onitemhover}" onkeydown="#{event.onkeydown}"
onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
onmousedown="#{event.onmousedown}"
onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
- onmouseup="#{event.onmouseup}">
+ onmouseup="#{event.onmouseup}"
binding="#{panelMenu.htmlPanelMenu}">
<rich:panelMenuItem label="Item 1(Test event)"
onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
Modified:
trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++
trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -4,6 +4,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
id="panelMenuPropertySubviewID">
+ <h:commandButton action="#{panelMenu.add}" value="add test"
/>
<h:panelGrid columns="2">
<h:outputText value="Width"></h:outputText>
<h:inputText value="#{panelMenu.width}">
Modified:
trunk/test-applications/facelets/src/main/webapp/PickList/PickListProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/PickList/PickListProperty.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++
trunk/test-applications/facelets/src/main/webapp/PickList/PickListProperty.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -3,6 +3,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
id="pickListPropertySubviewID">
+ <h:commandButton action="#{pickList.add}" value="add test" />
<h:panelGrid columns="2">
<a4j:commandButton reRender="pickListTargenID" value="refresh
target"></a4j:commandButton>
<h:dataTable id="pickListTargenID" value="#{pickList.value}"
Modified: trunk/test-applications/facelets/src/main/webapp/ProgressBar/ProgressBar.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/ProgressBar/ProgressBar.xhtml 2008-07-10
13:33:38 UTC (rev 9510)
+++
trunk/test-applications/facelets/src/main/webapp/ProgressBar/ProgressBar.xhtml 2008-07-10
14:17:51 UTC (rev 9511)
@@ -18,7 +18,7 @@
onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
onmousedown="#{event.onmousedown}"
onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
- onmouseup="#{event.onmouseup}" onsubmit="#{event.onsubmit}">
+ onmouseup="#{event.onmouseup}" onsubmit="#{event.onsubmit}"
binding="#{progressBar.htmlProgressBar}">
<f:facet name="initial">
<h:outputText value="Process not started"></h:outputText>
</f:facet>
@@ -39,6 +39,8 @@
<h:outputText
value="[parameters=params:'%'], [{progressVar} | {minValue} {params} /
{value} {params}/ {maxValue} {params}]" />
+ <br />
+ <h:commandButton action="#{progressBar.add}" value="add test"
/>
<h:panelGrid columns="1">
<a4j:commandButton value="getValue"
onclick="alert($('formID:progressBarSubviewID:progressBarID').component.getValue())"></a4j:commandButton>