JBoss Rich Faces SVN: r14443 - branches/community/3.3.X/ui/orderingList/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-02 11:24:33 -0400 (Tue, 02 Jun 2009)
New Revision: 14443
Modified:
branches/community/3.3.X/ui/orderingList/src/main/config/component/orderinglist.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of event handlers descriptions;
Modified: branches/community/3.3.X/ui/orderingList/src/main/config/component/orderinglist.xml
===================================================================
--- branches/community/3.3.X/ui/orderingList/src/main/config/component/orderinglist.xml 2009-06-02 15:21:26 UTC (rev 14442)
+++ branches/community/3.3.X/ui/orderingList/src/main/config/component/orderinglist.xml 2009-06-02 15:24:33 UTC (rev 14443)
@@ -222,7 +222,7 @@
<name>onorderchanged</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a order list is changed
+ The client side script method to be called when the list order is changed
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -230,7 +230,7 @@
<name>onorderchange</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; before a order list is changed
+ The client side script method to be called before the list order is changed
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -238,7 +238,7 @@
<name>ontopclick</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a button "Top" is clicked
+ The client side script method to be called when the 'Top' button is clicked
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -246,7 +246,7 @@
<name>onupclick</name>
<classname>java.lang.String</classname>
<description>
- HTML: a script expression; a button "Up" is clicked
+ The client side script method to be called when the 'Up' button is clicked
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -254,7 +254,7 @@
<name>ondownclick</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a button "Down" is clicked
+ The client side script method to be called when the 'Down' button is clicked
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -262,7 +262,7 @@
<name>onbottomclick</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a button "Bottom" is clicked
+ The client side script method to be called when the 'Bottom' button is clicked
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -270,7 +270,7 @@
<name>onheaderclick</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a header is clicked
+ The client side script method to be called when the list header is clicked
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -280,31 +280,31 @@
<property>
<name>onclick</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer button is clicked</description>
+ <description>The client side script method to be called when the component is clicked</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>ondblclick</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer button is double-clicked</description>
+ <description>The client side script method to be called when the component is double-clicked</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>onmouseout</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved away</description>
+ <description>The client side script method to be called when a pointer is moved away from the component</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>onmousemove</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved within</description>
+ <description>The client side script method to be called when a pointer is moved within the component</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>onmouseover</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved onto</description>
+ <description>The client side script method to be called when a pointer is moved onto the component</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
16 years, 11 months
JBoss Rich Faces SVN: r14442 - branches/community/3.3.X/ui/listShuttle/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-02 11:21:26 -0400 (Tue, 02 Jun 2009)
New Revision: 14442
Modified:
branches/community/3.3.X/ui/listShuttle/src/main/config/component/listShuttle.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of event handlers descriptions;
Modified: branches/community/3.3.X/ui/listShuttle/src/main/config/component/listShuttle.xml
===================================================================
--- branches/community/3.3.X/ui/listShuttle/src/main/config/component/listShuttle.xml 2009-06-02 14:23:20 UTC (rev 14441)
+++ branches/community/3.3.X/ui/listShuttle/src/main/config/component/listShuttle.xml 2009-06-02 15:21:26 UTC (rev 14442)
@@ -207,22 +207,22 @@
<property>
<name>onlistchanged</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; a list is changed</description>
+ <description>The client side script method to be called when the list is changed</description>
</property>
<property>
<name>onorderchanged</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; called after ordering action</description>
+ <description>The client side script method to be called when the list order is changed</description>
</property>
<property>
<name>onlistchange</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; before a list is changed</description>
+ <description>The client side script method to be called before the list is changed</description>
</property>
<property>
<name>onorderchange</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; called before ordering action</description>
+ <description>The client side script method to be called before the list order is changed</description>
</property>
<property>
@@ -452,7 +452,7 @@
<name>ontopclick</name>
<classname>java.lang.String</classname>
<description>
- A JavaScript event handler; a button "Top" is clicked
+ The client side script method to be called when the 'Top' button is clicked
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -460,7 +460,7 @@
<name>onupclick</name>
<classname>java.lang.String</classname>
<description>
- HTML: a script expression; a button "Up" is clicked
+ The client side script method to be called when the 'Up' button is clicked
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -468,7 +468,7 @@
<name>ondownclick</name>
<classname>java.lang.String</classname>
<description>
- A JavaScript event handler; a button "Down" is clicked
+ The client side script method to be called when the 'Down' button is clicked
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -476,7 +476,7 @@
<name>onbottomclick</name>
<classname>java.lang.String</classname>
<description>
- A JavaScript event handler; a button "Bottom" is clicked
+ The client side script method to be called when the 'Bottom' button is clicked
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -485,7 +485,7 @@
<name>oncopyallclick</name>
<classname>java.lang.String</classname>
<description>
- A JavaScript event handler; a button "Copy All" is clicked
+ The client side script method to be called when the 'Copy All' button is clicked
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -493,7 +493,7 @@
<name>oncopyclick</name>
<classname>java.lang.String</classname>
<description>
- HTML: a script expression; a button "Copy" is clicked
+ The client side script method to be called when the 'Copy' button is clicked
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -501,7 +501,7 @@
<name>onremoveclick</name>
<classname>java.lang.String</classname>
<description>
- A JavaScript event handler; a button "Remove" is clicked
+ The client side script method to be called when the 'Remove' button is clicked
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -509,7 +509,7 @@
<name>onremoveallclick</name>
<classname>java.lang.String</classname>
<description>
- A JavaScript event handler; a button "Remove All" is clicked
+ The client side script method to be called when the 'Remove All' button is clicked
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -517,31 +517,31 @@
<property>
<name>onclick</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer button is clicked</description>
+ <description>The client side script method to be called when the component is clicked</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>ondblclick</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer button is double-clicked</description>
+ <description>The client side script method to be called when the component is double-clicked</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>onmouseout</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved away</description>
+ <description>The client side script method to be called when a pointer is moved away from the component</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>onmousemove</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved within</description>
+ <description>The client side script method to be called when a pointer is moved within the component</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>onmouseover</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved onto</description>
+ <description>The client side script method to be called when a pointer is moved onto the component</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property hidden="true">
@@ -551,12 +551,12 @@
<property>
<name>onfocus</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; the element got the focus</description>
+ <description>The client side script method to be called when the component gets the focus</description>
</property>
<property>
<name>onblur</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; the element lost the focus</description>
+ <description>The client side script method to be called when the component loses the focus</description>
</property>
<property>
16 years, 11 months
JBoss Rich Faces SVN: r14441 - in branches/community/3.3.X/ui/modal-panel/src: main/resources/org/richfaces/renderkit/html/scripts and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2009-06-02 10:23:20 -0400 (Tue, 02 Jun 2009)
New Revision: 14441
Modified:
branches/community/3.3.X/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss
branches/community/3.3.X/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
branches/community/3.3.X/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
branches/community/3.3.X/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java
Log:
https://jira.jboss.org/jira/browse/RF-7298
Modified: branches/community/3.3.X/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss
===================================================================
--- branches/community/3.3.X/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss 2009-06-02 14:21:38 UTC (rev 14440)
+++ branches/community/3.3.X/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss 2009-06-02 14:23:20 UTC (rev 14441)
@@ -5,16 +5,16 @@
xmlns="http://www.w3.org/1999/xhtml">
<f:verbatim>
- .dr-mpnl-ovf-hd {
+ .rich-mpnl-ovf-hd {
overflow: hidden;
}
- .dr-mpnl-trim {
+ .rich-mpnl-trim {
position: relative;
z-index: 0;
}
- .dr-mpnl-iframe {
+ .rich-mpnl-iframe {
position: absolute;
left: 0px;
top: 0px;
@@ -23,7 +23,7 @@
z-index: -1;
}
- .dr-mpnl-mask-div {
+ .rich-mpnl-mask-div {
position: fixed;
top: 0;
left: 0;
@@ -36,20 +36,16 @@
background-color: #d0d0d0;
}
- .dr-mpnl-mask-div-opaque {
+ .rich-mpnl-mask-div-opaque {
filter: alpha(opacity=50);
opacity: 0.5;
}
- .dr-mpnl-mask-div-transparent {
+ .rich-mpnl-mask-div-transparent {
background-color: transparent;
}
-
- .dr-mpnl-mask {
-
- }
- .dr-mpnl-panel {
+ .rich-mpnl-panel {
position: fixed;
margin: 0px;
padding: 0px;
@@ -59,7 +55,7 @@
top: 0px;
}
- .dr-mpnl-resizer {
+ .rich-mpnl-resizer {
line-height: 1px;
font-size: 1px;
position: absolute;
@@ -68,14 +64,14 @@
opacity: 0.5;*/
}
- .dr-mpnl-header {
+ .rich-mpnl-header-cell {
height: 20px;
width: 100%;
vertical-align: middle;
z-index: 5;
}
- .dr-mpnl-pnl-button {
+ .rich-mpnl-button {
outline-style: none;
position: absolute;
border: 10px solid red;
@@ -101,7 +97,7 @@
}
</f:verbatim>
- <u:selector name=".dr-mpnl-spacer, .dr-mpnl-resizer">
+ <u:selector name=".rich-mpnl-spacer, .rich-mpnl-resizer">
<u:style name="background-image">
<f:resource f:key="/org/richfaces/renderkit/html/images/spacer.gif"/>
</u:style>
@@ -109,14 +105,14 @@
<f:verbatim>
<![CDATA[
-.dr-mpnl-pnl {
+.rich-mpnl-content {
border-width: 1px;
border-style: solid;
padding : 1px;
background-color: inherit;
}
-.dr-mpnl-pnl-h{
+.rich-mpnl-header{
padding : 2px;
border-width: 1px;
border-style: solid;
@@ -124,11 +120,11 @@
background-repeat : repeat-x;
}
-.dr-mpnl-pnl-b{
+.rich-mpnl-body{
padding : 10px;
}
-.dr-mpnl-shadow {
+.rich-mpnl-shadow {
position: absolute;
height: 100%;
width: 100%;
@@ -141,11 +137,11 @@
]]>
</f:verbatim>
-<u:selector name=".dr-mpnl-pnl">
+<u:selector name=".rich-mpnl-content">
<u:style name="background-color" skin="generalBackgroundColor" />
<u:style name="border-color" skin="panelBorderColor" />
</u:selector>
-<u:selector name=".dr-mpnl-pnl-h">
+<u:selector name=".rich-mpnl-header">
<u:style name="background-color" skin="headerBackgroundColor" />
<u:style name="border-color" skin="headerBackgroundColor" />
<u:style name="background-image" >
@@ -155,20 +151,20 @@
</u:selector>
-<u:selector name=".dr-mpnl-pnl-text">
+<u:selector name=".rich-mpnl-text">
<u:style name="font-size" skin="headerSizeFont" />
<u:style name="color" skin="headerTextColor" />
<u:style name="font-weight" skin="headerWeightFont" />
<u:style name="font-family" skin="headerFamilyFont" />
</u:selector>
-<u:selector name=".dr-mpnl-pnl-b">
+<u:selector name=".rich-mpnl-body">
<u:style name="font-size" skin="generalSizeFont" />
<u:style name="color" skin="generalTextColor" />
<u:style name="font-family" skin="generalFamilyFont" />
</u:selector>
-<u:selector name=".dr-mpnl-shadow">
+<u:selector name=".rich-mpnl-shadow">
<u:style name="background-color" skin="shadowBackgroundColor" />
</u:selector>
Modified: branches/community/3.3.X/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
===================================================================
--- branches/community/3.3.X/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2009-06-02 14:21:38 UTC (rev 14440)
+++ branches/community/3.3.X/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2009-06-02 14:23:20 UTC (rev 14441)
@@ -539,7 +539,7 @@
this.iframe = this.id.id + "IFrame";
new Insertion.Top(eCdiv,
"<iframe src=\"javascript:''\" frameborder=\"0\" scrolling=\"no\" id=\"" + this.iframe + "\" " +
- "class=\"dr-mpnl-iframe\" style=\"width: 1px; height: 1px;\">" +
+ "class=\"rich-mpnl-iframe\" style=\"width: 1px; height: 1px;\">" +
"</iframe>");
eIframe = $(this.iframe);
Modified: branches/community/3.3.X/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
===================================================================
--- branches/community/3.3.X/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2009-06-02 14:21:38 UTC (rev 14440)
+++ branches/community/3.3.X/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2009-06-02 14:23:20 UTC (rev 14441)
@@ -39,7 +39,7 @@
class="rich-modalpanel #{component.attributes['styleClass']}"
x:passThruWithExclusions="id,style,class,styleClass"
>
- <div class="dr-mpnl-mask-div dr-mpnl-mask-div-opaque rich-mpnl-mask-div" id="#{clientId}Div"
+ <div class="rich-mpnl-mask-div rich-mpnl-mask-div-opaque" id="#{clientId}Div"
style="z-index: 1;"
onclick="#{component.attributes['onmaskclick']}"
ondblclick="#{component.attributes['onmaskdblclick']}"
@@ -50,13 +50,13 @@
onmouseover="#{component.attributes['onmaskmouseover']}"
onmouseout="#{component.attributes['onmaskmouseout']}">
- <button class="dr-mpnl-pnl-button" id="#{clientId}FirstHref"></button>
+ <button class="rich-mpnl-button" id="#{clientId}FirstHref"></button>
</div>
- <div class="dr-mpnl-panel rich-mpnl_panel" >
+ <div class="rich-mpnl_panel" >
<div id="#{clientId}CDiv" style="position: absolute; left: 0px; top: 0px; z-index: 9;" class="rich-mp-container">
- <div id="#{clientId}ShadowDiv" class="dr-mpnl-shadow rich-mpnl-shadow"
+ <div id="#{clientId}ShadowDiv" class="rich-mpnl-shadow"
style="#{component.shadowStyle}" >
</div>
@@ -90,23 +90,23 @@
/*
overflow: hidden;
*/
- divClass = "dr-mpnl-ovf-hd";
+ divClass = "rich-mpnl-ovf-hd";
if (component.isTrimOverlayedElements()) {
/*
position: relative;
z-index: 0;
*/
- divClass += " dr-mpnl-trim";
+ divClass += " rich-mpnl-trim";
}
}
]]>
</jsp:scriptlet>
- <div id="#{clientId}ContentDiv" style="#{component.attributes['style']}" class="#{divClass} dr-mpnl-pnl rich-mp-content">
+ <div id="#{clientId}ContentDiv" style="#{component.attributes['style']}" class="#{divClass} rich-mpnl-content">
<jsp:scriptlet>
<![CDATA[if(component.getFacet("controls")!=null && component.getFacet("controls").isRendered()) {]]>
</jsp:scriptlet>
- <div class="dr-mpnl-pnl-text rich-mpnl-text rich-mpnl-controls #{component.attributes['controlsClass']}">
+ <div class="rich-mpnl-text rich-mpnl-controls #{component.attributes['controlsClass']}">
<u:insertFacet name="controls" />
</div>
<jsp:scriptlet>
@@ -118,8 +118,8 @@
<![CDATA[if(component.getFacet("header")!=null && component.getFacet("header").isRendered()) {]]>
</jsp:scriptlet>
<tr style="height: 1%;">
- <td class="dr-mpnl-header rich-mpnl-header-cell" >
- <div id="#{clientId}Header" style="white-space: nowrap;" class="dr-mpnl-pnl-text dr-mpnl-pnl-h rich-mpnl-text rich-mpnl-header #{component.attributes['headerClass']}">
+ <td class="rich-mpnl-header-cell" >
+ <div id="#{clientId}Header" style="white-space: nowrap;" class="rich-mpnl-text rich-mpnl-header #{component.attributes['headerClass']}">
<u:insertFacet name="header" />
</div>
</td>
@@ -128,7 +128,7 @@
<![CDATA[}]]>
</jsp:scriptlet>
<tr style="height: 99%">
- <td class="dr-mpnl-pnl-b rich-mpnl-body" valign="top">
+ <td class="rich-mpnl-body" valign="top">
<vcp:body>
<f:call name="renderChildren" />
</vcp:body>
@@ -152,7 +152,7 @@
variables.setVariable("resizerStyle", style);
]]>
</jsp:scriptlet>
- <div id="#{clientId}Resizer#{resizer}" class="dr-mpnl-resizer rich-mpnl-resizer" style="#{resizerStyle}">
+ <div id="#{clientId}Resizer#{resizer}" class="rich-mpnl-resizer" style="#{resizerStyle}">
</div>
<jsp:scriptlet>
<![CDATA[
@@ -163,10 +163,10 @@
</div>
</div>
- <div class="dr-mpnl-mask-div dr-mpnl-mask-div-transparent rich-mpnl-mask-div" id="#{clientId}CursorDiv"
+ <div class="rich-mpnl-mask-div rich-mpnl-mask-div-transparent" id="#{clientId}CursorDiv"
style="z-index: -200;">
- <button class="dr-mpnl-pnl-button" id="#{clientId}LastHref"></button>
+ <button class="rich-mpnl-button" id="#{clientId}LastHref"></button>
</div>
<script type="text/javascript">
Modified: branches/community/3.3.X/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java
===================================================================
--- branches/community/3.3.X/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java 2009-06-02 14:21:38 UTC (rev 14440)
+++ branches/community/3.3.X/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java 2009-06-02 14:23:20 UTC (rev 14441)
@@ -117,12 +117,11 @@
HtmlElement htmlContentDiv = renderedView.getHtmlElementById(modalPanel.getClientId(facesContext) + "ContentDiv");
assertNotNull(htmlContentDiv);
- assertTrue(htmlContentDiv.getAttributeValue("class").contains("rich-mp-content"));
+ assertTrue(htmlContentDiv.getAttributeValue("class").contains("rich-mpnl-content"));
HtmlElement header = renderedView.getHtmlElementById(modalPanel.getClientId(facesContext) + "Header");
assertNotNull(header);
- assertTrue(header.getAttributeValue("class").contains("dr-mpnl-pnl-text dr-mpnl-pnl-h"));
assertTrue(header.getAttributeValue("class").contains("rich-mpnl-text"));
assertTrue(header.getAttributeValue("class").contains("rich-mpnl-header"));
@@ -131,7 +130,7 @@
for (int i = 0; i < resizers.length; i++) {
HtmlElement resizer = renderedView.getHtmlElementById(modalPanel.getClientId(facesContext) + "Resizer" + resizers[i]);
assertNotNull(resizer);
- assertTrue(resizer.getAttributeValue("class").contains("dr-mpnl-resizer rich-mpnl-resizer"));
+ assertTrue(resizer.getAttributeValue("class").contains("rich-mpnl-resizer"));
}
}
16 years, 11 months
JBoss Rich Faces SVN: r14440 - in branches/community/3.3.X/test-applications/richfaces-docs: src and 24 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2009-06-02 10:21:38 -0400 (Tue, 02 Jun 2009)
New Revision: 14440
Added:
branches/community/3.3.X/test-applications/richfaces-docs/pom.xml
branches/community/3.3.X/test-applications/richfaces-docs/readme.txt
branches/community/3.3.X/test-applications/richfaces-docs/src/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Bean.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/ColorPicker.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Editor.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Layout.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Page.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/ProgressBar.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Queue.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/fileUpload/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/fileUpload/FileUpload.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/Hujations.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/Shelf.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/Tree.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/TreeBean.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/hujations.xml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/stations.xml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/GlobalQueue.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/MenuBean.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/MenuState.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/Skin.java
branches/community/3.3.X/test-applications/richfaces-docs/src/main/resources/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/WEB-INF/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/WEB-INF/.faces-config.xml.jsfdia
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/WEB-INF/faces-config.xml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/WEB-INF/web.xml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/a4j/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/a4j/queue.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/framework/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/framework/framework.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/home.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/Thumbs.db
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/close.png
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/contextMenuImages/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/contextMenuImages/pic1.png
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/contextMenuImages/pic2.png
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/dtpick.gif
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/error.gif
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/fileUploadImages/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/jQuery/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/jQuery/dog1.jpg
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/jQuery/dog2.jpg
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/index.jsp
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/display.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/edit.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/mainMenu.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/menu.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/template.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/misc/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/calendar.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/colorPicker.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/comboBox.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/contextMenu.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/datatable.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/editor.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/fileUpload.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/inplaceInput.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/jQuery.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/layout.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/modalPanel.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/page.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/pickList.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/progressBar.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/richPage.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/tree.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/skinning/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/skinning/stskinning.xhtml
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/stylesheet/
branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/stylesheet/theme.css
branches/community/3.3.X/test-applications/richfaces-docs/src/test/
branches/community/3.3.X/test-applications/richfaces-docs/src/test/java/
branches/community/3.3.X/test-applications/richfaces-docs/src/test/java/org/
branches/community/3.3.X/test-applications/richfaces-docs/src/test/java/org/docs/
branches/community/3.3.X/test-applications/richfaces-docs/src/test/java/org/docs/richfaces/
branches/community/3.3.X/test-applications/richfaces-docs/src/test/java/org/docs/richfaces/BeanTest.java
Log:
https://jira.jboss.org/jira/browse/RF-6419
Changed to the new, optimized app
Added: branches/community/3.3.X/test-applications/richfaces-docs/pom.xml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/pom.xml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/pom.xml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,177 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.docs.richfaces</groupId>
+ <artifactId>richfaces-docs</artifactId>
+ <packaging>war</packaging>
+ <name>richfaces-docs Maven Webapp</name>
+ <version>1</version>
+ <build>
+ <finalName>richfaces-docs</finalName>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+<dependencies>
+
+ <dependency>
+
+ <groupId>junit</groupId>
+
+ <artifactId>junit</artifactId>
+
+ <version>3.8.1</version>
+
+ <scope>test</scope>
+
+ </dependency>
+
+ <dependency>
+
+ <groupId>javax.servlet</groupId>
+
+ <artifactId>servlet-api</artifactId>
+
+ <version>2.4</version>
+
+ <scope>provided</scope>
+
+ </dependency>
+
+ <dependency>
+
+ <groupId>javax.servlet</groupId>
+
+ <artifactId>jsp-api</artifactId>
+
+ <version>2.0</version>
+
+ <scope>provided</scope>
+
+ </dependency>
+
+ <dependency>
+
+ <groupId>jstl</groupId>
+
+ <artifactId>jstl</artifactId>
+
+ <version>1.1.2</version>
+
+ </dependency>
+
+ <dependency>
+
+ <groupId>javax.servlet.jsp</groupId>
+
+ <artifactId>jsp-api</artifactId>
+
+ <version>2.1</version>
+
+ <scope>provided</scope>
+
+ </dependency>
+
+ <dependency>
+
+ <groupId>javax.faces</groupId>
+
+ <artifactId>jsf-api</artifactId>
+
+ <version>1.2_12</version>
+
+ </dependency>
+
+ <dependency>
+
+ <groupId>javax.faces</groupId>
+
+ <artifactId>jsf-impl</artifactId>
+
+ <version>1.2_12</version>
+
+ </dependency>
+
+ <dependency>
+
+ <groupId>javax.el</groupId>
+
+ <artifactId>el-api</artifactId>
+
+ <version>1.0</version>
+
+ <scope>provided</scope>
+
+ </dependency>
+
+ <dependency>
+
+ <groupId>el-impl</groupId>
+
+ <artifactId>el-impl</artifactId>
+
+ <version>1.0</version>
+
+ <scope>provided</scope>
+
+ </dependency>
+
+ <dependency>
+
+ <groupId>javax.annotation</groupId>
+
+ <artifactId>jsr250-api</artifactId>
+
+ <version>1.0</version>
+
+ </dependency>
+
+ <dependency>
+ <groupId>com.sun.facelets</groupId>
+ <artifactId>jsf-facelets</artifactId>
+ <version>1.1.11</version>
+ </dependency>
+
+
+ <!-- RichFaces libraries -->
+
+ <dependency>
+
+ <groupId>org.richfaces.framework</groupId>
+
+ <artifactId>richfaces-api</artifactId>
+
+ <version>3.3.1-SNAPSHOT</version>
+
+ </dependency>
+
+ <dependency>
+
+ <groupId>org.richfaces.framework</groupId>
+
+ <artifactId>richfaces-impl</artifactId>
+
+ <version>3.3.1-SNAPSHOT</version>
+
+ </dependency>
+
+ <dependency>
+
+ <groupId>org.richfaces.ui</groupId>
+
+ <artifactId>richfaces-ui</artifactId>
+
+ <version>3.3.1-SNAPSHOT</version>
+
+ </dependency>
+
+</dependencies>
+</project>
Added: branches/community/3.3.X/test-applications/richfaces-docs/readme.txt
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/readme.txt (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/readme.txt 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,4 @@
+This is a test application for RichFaces doc team
+
+Running
+mvn clean install eclipse:eclipse -Dwtpverion=2.0
\ No newline at end of file
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Bean.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Bean.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Bean.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,29 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.docs.richfaces;
+/**
+ * @author $Autor$
+ *
+ */
+public class Bean {
+
+}
\ No newline at end of file
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/ColorPicker.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/ColorPicker.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/ColorPicker.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,45 @@
+package org.docs.richfaces;
+
+public class ColorPicker {
+
+ String value;
+
+ String showEvent;
+
+ String colorMode;
+
+ String flat;
+
+ public String getValue() {
+ return value;
+ }
+ public void setValue(String value) {
+ this.value = value;
+ }
+ public String getShowEvent() {
+ return showEvent;
+ }
+ public void setShowEvent(String showEvent) {
+ this.showEvent = showEvent;
+ }
+ public String getColorMode() {
+ return colorMode;
+ }
+ public void setColorMode(String colorMode) {
+ this.colorMode = colorMode;
+ }
+ public String getFlat() {
+ return flat;
+ }
+ public void setFlat(String flat) {
+ this.flat = flat;
+ }
+
+
+
+
+
+
+
+
+}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Editor.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Editor.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Editor.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,18 @@
+package org.docs.richfaces;
+
+public class Editor {
+
+ String edit;
+
+ public String getEdit() {
+ return edit;
+ }
+
+ public void setEdit(String edit) {
+ this.edit = edit;
+ }
+
+
+
+
+}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Layout.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Layout.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Layout.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,17 @@
+/**
+ *
+ */
+package org.docs.richfaces;
+
+/**
+ * @author Michael Sorokin
+ *
+ */
+public class Layout {
+
+
+
+
+
+
+}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Page.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Page.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Page.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,47 @@
+/**
+ *
+ */
+package org.docs.richfaces;
+
+/**
+ * @author Michael Sorokin
+ *
+ */
+public class Page {
+
+ private String markupType;
+ private String theme;
+private String pageTitle;
+
+
+
+
+ public String getPageTitle() {
+ return pageTitle;
+}
+
+public void setPageTitle(String pageTitle) {
+ this.pageTitle = pageTitle;
+}
+
+ public String getTheme() {
+ return theme;
+ }
+
+ public void setTheme(String theme) {
+ this.theme = theme;
+ }
+
+
+
+ public String getMarkupType() {
+ return markupType;
+ }
+
+ public void setMarkupType(String markupType) {
+ this.markupType = markupType;
+ }
+
+
+
+}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/ProgressBar.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/ProgressBar.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/ProgressBar.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,21 @@
+package org.docs.richfaces;
+
+public class ProgressBar {
+ private int progress;
+
+
+
+ public ProgressBar(int progress) {
+
+ this.progress = 50;
+ }
+
+ public int getProgress() {
+ return progress;
+ }
+
+ public void setProgress(int progress) {
+ this.progress = progress;
+ }
+
+}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Queue.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Queue.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/Queue.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,47 @@
+package org.docs.richfaces;
+
+public class Queue {
+
+ String a="";
+ String b="";
+ String c="";
+
+ boolean check;
+
+ public String getA() {
+ return a;
+ }
+
+ public void setA(String a) {
+ this.a = a;
+ }
+
+ public String getB() {
+ return b;
+ }
+
+ public void setB(String b) {
+ this.b = b;
+ }
+
+ public String getC() {
+ return c;
+ }
+
+ public void setC(String c) {
+ this.c = c;
+ }
+
+ public boolean isCheck() {
+ return check;
+ }
+
+ public void setCheck(boolean check) {
+ this.check = check;
+ }
+
+
+
+
+
+}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/fileUpload/FileUpload.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/fileUpload/FileUpload.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/fileUpload/FileUpload.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,160 @@
+package org.docs.richfaces.fileUpload;
+
+import java.io.ByteArrayOutputStream;
+import java.io.DataOutputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.InputStream;
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.faces.context.FacesContext;
+import javax.servlet.ServletContext;
+import javax.swing.JPopupMenu.Separator;
+
+import org.richfaces.event.UploadEvent;
+import org.richfaces.model.UploadItem;
+
+
+import com.sun.facelets.FaceletContext;
+import com.sun.facelets.util.Path;
+
+
+
+
+public class FileUpload {
+
+
+private List data;
+
+ private String realImageFilePath;
+
+
+
+
+ private String[] strFilesDirs;
+
+ private static final String IMAGE_URL = File.separator+"img"+File.separator+"fileUploadImages"+File.separator;
+
+
+// File f1 = new File(
+//
+// "C:\\Projects\\RichFaces\\test-applications\\richfaces-docs\\web\\src\\main\\webapp\\img\\fileUploadImages\\");
+//String[] strFilesDirs = f1.list();
+
+
+
+ public FileUpload() {
+ initrealImageFilePath();
+
+ System.out.println(realImageFilePath);
+
+
+ data = new ArrayList();
+
+ File f1 = new File(realImageFilePath);
+
+ String[] strFilesDirs = f1.list();
+
+ for(int i= 0; i< strFilesDirs.length; i++){
+
+ System.out.println(strFilesDirs[i]);
+ }
+
+ }
+
+ public String getRealImageFilePath() {
+ return realImageFilePath;
+ }
+
+ public void setRealImageFilePath(String realImageFilePath) {
+ this.realImageFilePath = realImageFilePath;
+ }
+
+ private void initrealImageFilePath() {
+ // Perform application initialization that must complete
+ // *before* managed components are initialized
+ // TODO - add your own initialiation code here
+
+ // Managed Component Initialization
+ // Perform application initialization that must complete
+ // *after* managed components are initialized
+ // TODO - add your own initialization code here
+ ServletContext theApplicationsServletContext =
+ (ServletContext) FacesContext.getCurrentInstance().getExternalContext().getContext();
+ this.realImageFilePath = theApplicationsServletContext.getRealPath(IMAGE_URL);
+
+
+ }
+
+public String[] getStrFilesDirs() {
+ return strFilesDirs;
+ }
+
+ public void setStrFilesDirs(String[] strFilesDirs) {
+ this.strFilesDirs = strFilesDirs;
+}
+
+ public void fileUploadListener(UploadEvent event) throws Exception {
+ UploadItem upload = event.getUploadItem();
+
+ if (upload.isTempFile()) {
+ File file = upload.getFile();
+ System.out.println(upload.getFileName());
+
+ // FileReader in = new FileReader(upload.getFile());
+ InputStream in = new FileInputStream(upload.getFile());
+ // ByteInputStream in = new ByteInputStream(upload.getData(), 1000);
+ FileOutputStream outputFile = new FileOutputStream(
+ realImageFilePath+File.separator+ upload.getFileName());
+ // FileWriter out = new FileWriter(outputFile);
+ DataOutputStream filewr = new DataOutputStream(outputFile);
+
+ int c;
+ while ((c = in.read()) != -1) {
+
+ filewr.write(c);
+ }
+ in.close();
+ filewr.close();
+ //
+ //
+ // ByteArrayOutputStream b = new ByteArrayOutputStream();
+ // b.write(upload.getData());
+
+ } else {
+ ByteArrayOutputStream b = new ByteArrayOutputStream();
+ b.write(upload.getData());
+ }
+
+ }
+
+ public void listener(UploadEvent event) throws Exception {
+
+ try {
+ UploadItem item = event.getUploadItem();
+ System.out
+ .println("File : " + item.getFileName() + " was uploaded");
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+ public List getData() {
+ for (int i = 0; i < data.size(); i++)
+ System.out.println(data.get(i));
+ return data;
+ }
+
+ public void setData(List data) {
+ this.data = data;
+ }
+
+
+
+
+
+}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/Hujations.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/Hujations.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/Hujations.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,24 @@
+package org.docs.richfaces.tree;
+
+import org.richfaces.model.TreeNode;
+import org.richfaces.component.xml.XmlTreeDataBuilder;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import java.io.IOException;
+
+public class Hujations {
+
+ private TreeNode data;
+
+ public Hujations() throws SAXException, IOException {
+ data = XmlTreeDataBuilder.build(new InputSource(getClass().getResourceAsStream("hujations.xml")));
+ }
+
+ public void setData(TreeNode data) {
+ this.data = data;
+ }
+
+ public TreeNode getData() {
+ return data;
+ }
+ }
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/Shelf.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/Shelf.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/Shelf.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,28 @@
+package org.docs.richfaces.tree;
+/**
+ *
+ */
+
+/**
+ * @author atsebro
+ *
+ */
+public class Shelf {
+
+ String[] albSet = {"Vacations", "New Year"};
+ String[] imgSet = {"Start", "Middle", "Finish"};
+
+ public String[] getAlbSet() {
+ return albSet;
+ }
+ public void setAlbSet(String[] albSet) {
+ this.albSet = albSet;
+ }
+ public String[] getImgSet() {
+ return imgSet;
+ }
+ public void setImgSet(String[] imgSet) {
+ this.imgSet = imgSet;
+ }
+
+}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/Tree.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/Tree.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/Tree.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,139 @@
+
+package org.docs.richfaces.tree;
+
+import javax.faces.context.FacesContext;
+
+import org.richfaces.component.xml.XmlTreeDataBuilder;
+import org.richfaces.model.TreeNode;
+import org.richfaces.model.TreeNodeImpl;
+import org.xml.sax.InputSource;
+
+
+public class Tree {
+
+
+
+ private TreeNodeImpl<String> stationRoot = new TreeNodeImpl<String>();
+
+ private TreeNodeImpl<String> stationNodes = new TreeNodeImpl<String>();
+
+ private String[] kickRadioFeed = { "Hall & Oates - Kiss On My List",
+
+ "David Bowie - Let's Dance", "Lyn Collins - Think (About It)",
+
+ "Kim Carnes - Bette Davis Eyes",
+
+ "KC & the Sunshine Band - Give It Up" };
+
+
+ private TreeNode data;
+
+
+
+
+
+
+
+ public Tree() {
+
+
+
+
+ stationRoot.setData("KickRadio");
+
+ stationNodes.addChild(0, stationRoot);
+
+ for (int i = 0; i < kickRadioFeed.length; i++){
+
+ TreeNodeImpl<String> child = new TreeNodeImpl<String>();
+
+ child.setData(kickRadioFeed[i]);
+
+ stationRoot.addChild(i, child);
+
+ }
+
+
+
+ FacesContext context = FacesContext.getCurrentInstance();
+
+ try {
+ data = XmlTreeDataBuilder.build(new InputSource(getClass().getResourceAsStream("stations.xml")));
+ }catch (Exception e){}
+ }
+
+
+
+
+
+
+
+ public TreeNode getData() {
+ return data;
+ }
+
+
+
+
+
+
+
+ public void setData(TreeNode data) {
+ this.data = data;
+ }
+
+
+
+
+
+
+
+ public TreeNodeImpl<String> getStationRoot() {
+ return stationRoot;
+ }
+
+
+
+
+
+
+
+ public void setStationRoot(TreeNodeImpl<String> stationRoot) {
+ this.stationRoot = stationRoot;
+ }
+
+
+
+
+
+
+
+ public TreeNodeImpl<String> getStationNodes() {
+ return stationNodes;
+ }
+
+
+
+
+
+
+
+ public void setStationNodes(TreeNodeImpl<String> stationNodes) {
+ this.stationNodes = stationNodes;
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/TreeBean.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/TreeBean.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/TreeBean.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,150 @@
+package org.docs.richfaces.tree;
+
+import java.util.Set;
+import java.util.TreeSet;
+
+import javax.faces.context.FacesContext;
+
+import org.richfaces.component.xml.XmlTreeDataBuilder;
+import org.richfaces.model.TreeNode;
+import org.richfaces.model.TreeNodeImpl;
+import org.xml.sax.InputSource;
+
+public class TreeBean {
+ private TreeNode<String> data;
+
+ public TreeBean() {
+
+ String[] components = {"< a4j:ajaxListener >", "< a4j:keepAlive >", "< a4j:actionparam >" };
+ String[][] attributes = {{"type"},
+ {"ajaxOnly", "beanName"},
+ {"actionListener", "assignTo", "binding", "converter", "id", "name", "noEscape", "value"}};
+
+ if (data == null) {
+ data = new TreeNodeImpl<String>();
+
+ for (int i = 0; i < components.length; i++) {
+ TreeNode<String> child = new TreeNodeImpl<String>();
+ child.setData(components[i]);
+ data.addChild(components[i], child);
+
+ for (int j = 0; j < attributes[i].length; j++) {
+ TreeNode<String> grandChild = new TreeNodeImpl<String>();
+ grandChild.setData(attributes[i][j]);
+ child.addChild(attributes[i][j], grandChild);
+ }
+ }
+ }
+ }
+
+ public TreeNode<String> getData() {
+ return data;
+ }
+
+ public static boolean[] checkNameChars() {
+ Set<Integer> result = new TreeSet<Integer>();
+ boolean[] chars = new boolean[0xFFFF + 1];
+
+ result.add(Character.getType(':'));
+ chars[':'] = true;
+ for (char i = 'A'; i <= 'Z'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ result.add(Character.getType('_'));
+ for (char i = 'a'; i <= 'z'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+
+ for (char i = '\u00c0'; i <= '\u00d6'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '\u00d8'; i <= '\u00f6'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '\u00f8'; i <= '\u02ff'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '\u0370'; i <= '\u037d'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '\u037f'; i <= '\u1fff'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '\u200c'; i <= '\u200d'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '\u2070'; i <= '\u218f'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '\u2c00'; i <= '\u2fef'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '\u3001'; i <= '\ud7ff'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '\uf900'; i <= '\ufdcf'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '\ufdf0'; i <= '\ufffd'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '-'; i <= '-'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '.'; i <= '.'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '0'; i <= '9'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '\u00b7'; i <= '\u00b7'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '\u0300'; i <= '\u036f'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+ for (char i = '\u203f'; i <= '\u2040'; i++) {
+ result.add(Character.getType(i));
+ chars[i] = true;
+ }
+
+ System.out.println(result);
+
+ return chars;
+ }
+
+ public static void checkChars(boolean[] skipSet) {
+ Set<Integer> result = new TreeSet<Integer>();
+ for (char c = '\u0000'; c < '\uffff'; c++) {
+ if (!skipSet[c]) {
+ result.add(Character.getType(c));
+ }
+ }
+ System.out.println(result);
+ }
+
+ public static void main(String[] args) {
+ boolean[] skipChars = checkNameChars();
+ System.out.println("Bean.main()");
+ checkChars(skipChars);
+ }
+
+}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/hujations.xml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/hujations.xml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/hujations.xml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<hujations>
+ <song>List</song>
+ <song>Dance</song>
+ <song>It</song>
+ <song>Eyes</song>
+ <song>Up</song>
+</hujations>
\ No newline at end of file
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/stations.xml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/stations.xml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/tree/stations.xml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<station name="KickRadio">
+ <feed date="today">
+ <song time="07:00">Hall Oates - Kiss On My List</song>
+ <song time="07:03">David Bowie - Let's Dance</song>
+ <song time="07:06">Lyn Collins - Think (About It)</song>
+ <song time="07:10">Kim Carnes - Bette Davis Eyes</song>
+ <song time="07:15">KC the Sunshine Band - Give It Up</song>
+ </feed>
+</station>
\ No newline at end of file
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/GlobalQueue.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/GlobalQueue.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/GlobalQueue.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,21 @@
+package org.docs.richfaces.util;
+
+public class GlobalQueue {
+
+
+ private boolean globalQueue;
+
+ public boolean isGlobalQueue() {
+ return globalQueue;
+ }
+
+ public void setGlobalQueue(boolean globalQueue) {
+ this.globalQueue = globalQueue;
+ }
+
+
+
+
+
+
+}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/MenuBean.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/MenuBean.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/MenuBean.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,22 @@
+package org.docs.richfaces.util;
+
+import javax.faces.event.ActionEvent;
+
+
+
+public class MenuBean {
+
+ private MenuState menuState;
+
+ public MenuState getMenuState() {
+ return menuState;
+ }
+ public void setMenuState(MenuState menuState) {
+ this.menuState = menuState;
+ }
+ public MenuBean() {}
+
+ public void select (ActionEvent event) {
+ menuState.setSelectedMenuItem(event.getComponent().getId());
+ }
+}
\ No newline at end of file
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/MenuState.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/MenuState.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/MenuState.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,40 @@
+package org.docs.richfaces.util;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.annotation.PostConstruct;
+
+
+public class MenuState {
+
+
+ private Map <String, Boolean> menu;
+
+ private String selectedMenuItem;
+
+ public String getSelectedMenuItem() {
+ return selectedMenuItem;
+ }
+ public Map<String, Boolean> getMenu() {
+ return menu;
+ }
+ public void setMenu(Map<String, Boolean> menu) {
+ this.menu = menu;
+ }
+ public void setSelectedMenuItem(String selectedMenuItem) {
+ this.selectedMenuItem = selectedMenuItem;
+ }
+ public MenuState() {
+ }
+ @PostConstruct
+ public void init () {
+ menu = new HashMap <String, Boolean>();
+ menu.put("group1", false);
+ menu.put("group2", false);
+ menu.put("group3", false);
+ menu.put("group4", false);
+ }
+
+
+
+}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/Skin.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/Skin.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/java/org/docs/richfaces/util/Skin.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,24 @@
+package org.docs.richfaces.util;
+
+public class Skin {
+ private String skin;
+ private String standardSkinning;
+
+
+
+
+ public String getStandardSkinning() {
+ return standardSkinning;
+ }
+ public void setStandardSkinning(String standardSkinning) {
+ this.standardSkinning = standardSkinning;
+ }
+ public String getSkin() {
+ return skin;
+ }
+ public void setSkin(String skin) {
+ this.skin = skin;
+ }
+
+
+}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/WEB-INF/.faces-config.xml.jsfdia
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/WEB-INF/.faces-config.xml.jsfdia (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/WEB-INF/.faces-config.xml.jsfdia 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PROCESS model-entity="JSFProcess"/>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/WEB-INF/faces-config.xml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/WEB-INF/faces-config.xml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,164 @@
+<?xml version="1.0"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+<faces-config>
+ <managed-bean>
+ <managed-bean-name>editor</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.Editor</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>edit</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>colorPicker</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.ColorPicker</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>colorMode</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ <managed-property>
+ <property-name>flat</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ <managed-property>
+ <property-name>showEvent</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ <managed-property>
+ <property-name>value</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>queue</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.Queue</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>skin</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.util.Skin</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>skin</property-name>
+ <property-class>java.lang.String</property-class>
+ <value>blueSky</value>
+ </managed-property>
+ <managed-property>
+ <property-name>standardSkinning</property-name>
+ <property-class>java.lang.String</property-class>
+ <value>enable</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>menuState</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.util.MenuState</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>menu</property-name>
+ <property-class>java.util.Map</property-class>
+ <value/>
+ </managed-property>
+ <managed-property>
+ <property-name>selectedMenuItem</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>menuBean</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.util.MenuBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>menuState</property-name>
+ <property-class>org.docs.richfaces.util.MenuState</property-class>
+ <value>#{menuState}</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>tree</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.tree.Tree</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>nodes</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.tree.Nodes</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>node</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ <managed-property>
+ <property-name>root</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>globalQueue</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.util.GlobalQueue</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>globalQueue</property-name>
+ <property-class>boolean</property-class>
+ <value>false</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>fileUpload</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.fileUpload.FileUpload</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>layout</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.Layout</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>theme</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>shelf</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.tree.Shelf</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>hujations</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.tree.Hujations</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>authentification</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.authentification.Authentification</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>bean</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.tree.Bean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>treeBean</managed-bean-name>
+ <managed-bean-class>org.docs.richfaces.tree.TreeBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+
+
+
+ <application>
+ <view-handler>
+ com.sun.facelets.FaceletViewHandler
+ </view-handler>
+ </application>
+
+</faces-config>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/WEB-INF/web.xml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/WEB-INF/web.xml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/WEB-INF/web.xml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ <display-name>Archetype Created Web Application</display-name>
+ <context-param>
+ <param-name>javax.faces.CONFIG_FILES</param-name>
+ <param-value>/WEB-INF/faces-config.xml</param-value>
+ </context-param>
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>server</param-value>
+ </context-param>
+
+ <context-param>
+
+ <param-name>org.richfaces.queue.global.enabled</param-name>
+ <param-value>#{globalQueue.globalQueue}</param-value>
+
+ </context-param>
+
+
+ <context-param>
+ <param-name>org.richfaces.SKIN</param-name>
+ <param-value>#{skin.skin}</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>org.richfaces.CONTROL_SKINNING</param-name>
+ <param-value>#{skin.standardSkinning}</param-value>
+ </context-param>
+ <!--
+ -->
+ <filter>
+ <display-name>Ajax4jsf Filter</display-name>
+ <filter-name>ajax4jsf</filter-name>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
+ </filter>
+ <filter-mapping>
+ <filter-name>ajax4jsf</filter-name>
+ <servlet-name>Faces Servlet</servlet-name>
+ <dispatcher>REQUEST</dispatcher>
+ <dispatcher>FORWARD</dispatcher>
+ <dispatcher>INCLUDE</dispatcher>
+ <dispatcher>ERROR</dispatcher>
+ </filter-mapping>
+
+
+
+
+
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>/faces/*</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.xhtml</url-pattern>
+ </servlet-mapping>
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ </login-config>
+
+
+
+</web-app>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/a4j/queue.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/a4j/queue.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/a4j/queue.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,42 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml"
+ xmlns:a4j="http://richfaces.org/a4j">
+
+<ui:define name="body">
+
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+
+
+ <rich:panel>
+ <f:facet name="header">a4j:queue</f:facet>
+
+<h:form prependId="false" >
+<a4j:queue size="3" oncomplete="alert(request.queue.this)" onsizeexceeded="alert('onsizeexceeded')" />
+
+<h:inputText value="#{queue.a}" >
+<a4j:support reRender="a" event="onkeyup" id="queue" />
+</h:inputText><br />
+<h:outputText value="#{queue.a}" id="a" />
+<br />
+
+<h:inputText value="#{queue.b}" >
+<a4j:support reRender="b" event="onchange" />
+</h:inputText><br />
+<h:outputText value="#{queue.b}" id="b" />
+<br />
+</h:form>
+
+
+
+</rich:panel>
+</ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/framework/framework.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/framework/framework.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/framework/framework.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,25 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml"
+ xmlns:a4j="http://richfaces.org/a4j">
+
+<ui:define name="body">
+
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+
+
+ <rich:panel>
+ <f:facet name="header">Framework</f:facet>
+
+ </rich:panel>
+
+</ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/home.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/home.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/home.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:rich="http://richfaces.org/rich">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>RichFaces Documentation Application</title>
+ <link href="stylesheet/theme.css" rel="stylesheet" type="text/css" />
+</head>
+
+<body>
+
+ <ui:include src="layout/menu.xhtml">
+ <ui:param name="projectName" value="RichFaces Docs"/>
+ </ui:include>
+ <div class="richcomponentsmenu">
+
+ <ui:include src="layout/mainMenu.xhtml" />
+
+</div>
+
+ <div class="body" >
+ <rich:panel>
+ <f:facet name="header">RichFaces Documentation Application </f:facet>
+
+ <p>
+ RichFaces documentation team from now on (3.3.1 version of RichFaces)
+ will be using RDA while documenting RichFaces components.
+ The main idea of the application is to make sure that all code snippets we provide in the Guide are working in a real application. Besides, it will help us keep the examples in one place so that any doc team member can continue what the other has started.
+ </p>
+
+ </rich:panel>
+
+ </div>
+
+ <div class="footer" style="display: block; float: none; clear:both;">
+
+ <p>Developed and maintained by Michael Sorokin. Feel free to email me: msorokin(a)exadel.com</p>
+ </div>
+
+</body>
+</html>
+
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/Thumbs.db
===================================================================
(Binary files differ)
Property changes on: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/Thumbs.db
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/close.png
===================================================================
(Binary files differ)
Property changes on: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/close.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/contextMenuImages/pic1.png
===================================================================
(Binary files differ)
Property changes on: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/contextMenuImages/pic1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/contextMenuImages/pic2.png
===================================================================
(Binary files differ)
Property changes on: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/contextMenuImages/pic2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/dtpick.gif
===================================================================
(Binary files differ)
Property changes on: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/dtpick.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/error.gif
===================================================================
(Binary files differ)
Property changes on: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/error.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/jQuery/dog1.jpg
===================================================================
(Binary files differ)
Property changes on: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/jQuery/dog1.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/jQuery/dog2.jpg
===================================================================
(Binary files differ)
Property changes on: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/img/jQuery/dog2.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/index.jsp
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/index.jsp (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/index.jsp 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,11 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+
+<html>
+
+<head></head>
+
+ <body>
+ <jsp:forward page="home.xhtml" />
+ </body>
+
+</html>
\ No newline at end of file
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/display.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/display.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/display.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,16 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+
+ <div class="prop">
+ <span class="name">
+ <ui:insert name="label"/>
+ </span>
+ <span class="value">
+ <ui:insert/>
+ </span>
+ </div>
+
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/edit.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/edit.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/edit.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,27 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+
+ <div class="prop">
+
+ <s:label styleClass="name #{invalid?'errors':''}">
+ <ui:insert name="label"/>
+ <s:span styleClass="required" rendered="#{required}">*</s:span>
+ </s:label>
+
+ <span class="value #{invalid?'errors':''}">
+ <s:validateAll>
+ <ui:insert/>
+ </s:validateAll>
+ </span>
+
+ <span class="error">
+ <h:graphicImage value="/img/error.gif" rendered="#{invalid}" styleClass="errors"/>
+ <s:message styleClass="errors"/>
+ </span>
+
+ </div>
+
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/mainMenu.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/mainMenu.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/mainMenu.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,104 @@
+<!-- mainMenu -->
+
+<rich:panelMenu
+xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+
+ mode="client"
+ iconExpandedGroup="disc"
+ iconCollapsedGroup="disc"
+ iconExpandedTopGroup="chevronUp"
+ iconGroupTopPosition="right"
+ iconCollapsedTopGroup="chevronDown"
+ iconCollapsedTopPosition="right"
+ id="mainMenu">
+ <rich:panelMenuGroup label="Rich Components" id="group1" value="#{menuState.menu['group1']}" >
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/calendar.xhtml" >rich:calendar</h:outputLink>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/colorPicker.xhtml" >rich:colorPicker</h:outputLink>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/comboBox.xhtml" >rich:comboBox</h:outputLink>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/contextMenu.xhtml" >rich:contextMenu</h:outputLink>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/editor.xhtml" >rich:editor</h:outputLink>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/fileUpload.xhtml" >rich:fileUpload</h:outputLink>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/jQuery.xhtml" >rich:jQuery</h:outputLink>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/inplaceInput.xhtml" >rich:inplaceInput</h:outputLink>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/modalPanel.xhtml" >rich:modalPanel</h:outputLink>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/layout.xhtml" >rich:layout</h:outputLink>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/page.xhtml" >rich:page</h:outputLink>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/pickList.xhtml" >rich:pickList</h:outputLink>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/progressBar.xhtml" >rich:progressBar</h:outputLink>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/rich/tree.xhtml" >rich:tree</h:outputLink>
+ </rich:panelMenuItem>
+
+ </rich:panelMenuGroup>
+
+<rich:panelMenuGroup label="A4J Components" id="group2" value="#{menuState.menu['group2']}">
+
+<rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+<h:outputLink value="#{facesContext.externalContext.requestContextPath}/a4j/queue.xhtml" >a4j:queue</h:outputLink>
+</rich:panelMenuItem>
+
+
+
+</rich:panelMenuGroup>
+<rich:panelMenuGroup label="Framework" id="group3" value="#{menuState.menu['group3']}">
+
+<rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+<h:outputLink value="#{facesContext.externalContext.requestContextPath}/framework/framework.xhtml" >Framework</h:outputLink>
+</rich:panelMenuItem>
+
+</rich:panelMenuGroup>
+
+<rich:panelMenuGroup label="Skinnability" id="group4" value="#{menuState.menu['group4']}">
+
+<rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+<h:outputLink value="#{facesContext.externalContext.requestContextPath}/skinning/stskinning.xhtml" >Standard Skinning</h:outputLink>
+</rich:panelMenuItem>
+
+</rich:panelMenuGroup>
+
+</rich:panelMenu>
\ No newline at end of file
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/menu.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/menu.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/menu.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,68 @@
+<rich:toolBar
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:rich="http://richfaces.org/rich"
+ styleClass="menuToolBar"
+
+ >
+
+ <rich:toolBarGroup>
+ <h:outputText value="#{projectName}:"/>
+ <s:link view="/home.xhtml" value="Home"/>
+ <span>|</span>
+
+ <s:link view="/conventions.xhtml" value="Conventions" />
+
+
+ </rich:toolBarGroup>
+ <!-- @newMenuItem@ -->
+ <rich:toolBarGroup location="right">
+
+
+
+ <h:outputText value="Global Queue:" style="margin: 0px; padding: 0px;"/>
+ <h:form>
+
+
+ <h:selectOneMenu value="#{globalQueue.globalQueue}" onchange="submit()">
+ <f:selectItem itemLabel="Enable" itemValue="true" />
+ <f:selectItem itemLabel="Disable" itemValue="false" />
+
+ </h:selectOneMenu>
+ </h:form>
+
+ <span>|</span>
+
+
+ <h:outputText value="Standard controls skinning:" />
+ <h:form>
+ <h:selectOneMenu value="#{skin.standardSkinning}">
+ <f:selectItem itemLabel="Enable" itemValue="enable"/>
+ <f:selectItem itemLabel="Disable" itemValue="disable" />
+ </h:selectOneMenu>
+
+ </h:form>
+ <span>|</span>
+
+ <h:outputText value="Select skin:" />
+<h:form>
+
+ <h:selectOneMenu id="select" value="#{skin.skin}" onchange="submit()">
+ <f:selectItem itemLabel="plain" itemValue="plain" />
+ <f:selectItem itemLabel="emeraldTown" itemValue="emeraldTown" />
+ <f:selectItem itemLabel="blueSky" itemValue="blueSky" />
+ <f:selectItem itemLabel="wine" itemValue="wine" />
+ <f:selectItem itemLabel="japanCherry" itemValue="japanCherry" />
+ <f:selectItem itemLabel="ruby" itemValue="ruby" />
+ <f:selectItem itemLabel="classic" itemValue="classic" />
+ <f:selectItem itemLabel="deepMarine" itemValue="deepMarine" />
+ </h:selectOneMenu>
+
+ </h:form>
+ </rich:toolBarGroup>
+</rich:toolBar>
+
+
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/template.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/template.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/layout/template.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:rich="http://richfaces.org/rich">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>RichFaces Documentation Application</title>
+ <link href="../stylesheet/theme.css" rel="stylesheet" type="text/css" />
+
+</head>
+
+<body>
+
+ <ui:include src="menu.xhtml">
+ <ui:param name="projectName" value="RichFaces Docs"/>
+ </ui:include>
+ <div class="richcomponentsmenu">
+
+ <ui:include src="/layout/mainMenu.xhtml" />
+
+
+</div>
+
+ <div class="body" >
+ <ui:insert name="body"/>
+
+
+ </div>
+
+ <div class="footer" style="display: block; float: none; clear:both;">
+
+ <p>Developed and maintained by Michael Sorokin. Feel free to email me: msorokin(a)exadel.com</p>
+ </div>
+
+</body>
+</html>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/calendar.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/calendar.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/calendar.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,26 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml">
+
+ <ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <rich:panel>
+ <f:facet name="header">rich:calendar</f:facet>
+
+ <h:form>
+ <rich:calendar oninputselect="alert('hi!')"/>
+ </h:form>
+
+
+ </rich:panel>
+
+ </ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/colorPicker.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/colorPicker.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/colorPicker.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,28 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml">
+
+<ui:define name="body">
+
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+
+
+ <rich:panel>
+ <f:facet name="header">rich:colorPicker</f:facet>
+
+ <h:form>
+ <rich:colorPicker value="#F0F8FF" colorMode="rgb" flat="true" />
+ </h:form>
+ <h:outputText value="#{colorPicker.value}" />
+ </rich:panel>
+
+</ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/comboBox.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/comboBox.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/comboBox.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,28 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml">
+
+ <ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <rich:panel>
+ <f:facet name="header">rich:comboBox</f:facet>
+
+ <rich:comboBox defaultLabel="Enter some value">
+ <f:selectItem itemValue="suggestion 1"/>
+ <f:selectItem itemValue="suggestion 2"/>
+ <f:selectItem itemValue="suggestion 3"/>
+ <f:selectItem itemValue="suggestion 4"/>
+ <f:selectItem itemValue="suggestion 5"/>
+ </rich:comboBox>
+ </rich:panel>
+
+ </ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/contextMenu.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/contextMenu.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/contextMenu.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,49 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml">
+
+
+ <ui:define name="body">
+ <script type="text/javascript">
+ function enlarge(){
+ document.getElementById('pic').width=document.getElementById('pic').width*1.1;
+ document.getElementById('pic').height=document.getElementById('pic').height*1.1;
+ }
+
+ function decrease(){
+ document.getElementById('pic').width=document.getElementById('pic').width*0.9;
+ document.getElementById('pic').height=document.getElementById('pic').height*0.9;
+ }
+ </script>
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <rich:panel>
+ <f:facet name="header">rich:contextMenu</f:facet>
+
+ <rich:contextMenu event="oncontextmenu" attachTo="pic1" submitMode="none" ongroupactivate="alert('hey')">
+ <rich:menuItem value="Zoom In" onclick="enlarge();" id="zin"/>
+ <rich:menuItem value="Zoom Out" onclick="decrease();" id="zout"/>
+ </rich:contextMenu>
+
+ <h:panelGrid columns="1" columnClasses="cent">
+ <h:panelGroup id="picture">
+ <h:graphicImage value="/img/contextMenuImages/pic1.png" id="pic"/>
+ </h:panelGroup>
+ </h:panelGrid>
+
+ <h:panelGrid columns="1" columnClasses="cent">
+ <h:panelGroup id="picture1">
+ <h:graphicImage value="/img/contextMenuImages/pic2.png" id="pic1"/>
+ </h:panelGroup>
+ </h:panelGrid>
+
+ </rich:panel>
+
+ </ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/datatable.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/datatable.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/datatable.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,27 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" template="../layout/template.xhtml">
+
+ <ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message" />
+ <h:form>
+ Please enter your name:<br />
+ <h:inputText value="#{person.name}" size="15" />
+ <br />
+ <h:commandButton type="submit" value="Say Hello"
+ action="#{manager.sayHello}" />
+ </h:form>
+ <h:dataTable value="#{fans}" var="fan">
+ <h:column>
+ <h:outputText value="#{fan.name}" />
+ </h:column>
+ </h:dataTable>
+
+ </ui:define>
+</ui:composition>
\ No newline at end of file
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/editor.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/editor.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/editor.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,28 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml">
+
+
+ <ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <rich:panel>
+ <f:facet name="header">rich:editor</f:facet>
+
+ <rich:editor theme="advanced" plugins="save,paste">
+ <f:param name="theme_advanced_buttons1" value="bold,italic,underline, cut,copy,paste,pasteword"/>
+ <f:param name="theme_advanced_toolbar_location" value="top"/>
+ <f:param name="theme_advanced_toolbar_align" value="left"/>
+ </rich:editor>
+
+ </rich:panel>
+
+ </ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/fileUpload.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/fileUpload.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/fileUpload.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,44 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:c="http://java.sun.com/jstl/core">
+
+<ui:define name="body">
+
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+
+
+ <rich:panel>
+ <f:facet name="header">rich:fileUpload</f:facet>
+
+ <h:outputText value="Simple rich:fileUpload" />
+ <rich:fileUpload fileUploadListener="#{fileUpload.fileUploadListener}"
+ uploadData="#{fileUpload.data}"
+
+ immediateUpload="true"/>
+
+<rich:panel>
+<h1>repeat</h1>
+<ul>
+<ui:repeat value="#{fileupload.strFilesDirs}" var="files">
+<li>#{files}</li>
+
+</ui:repeat>
+<h:outputText value="#{fileupload.realImageFilePath}" />
+</ul>
+</rich:panel>
+
+ </rich:panel>
+
+
+</ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/inplaceInput.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/inplaceInput.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/inplaceInput.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,33 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml">
+
+ <ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <rich:panel>
+ <f:facet name="header">rich:inplaceInput</f:facet>
+
+ <rich:panel style="width:220px;">
+ <f:facet name="header">
+ <h:outputText value="Person Info"></h:outputText>
+ </f:facet>
+ <h:panelGrid columns="2">
+ <h:outputText value="Name: "/>
+ <rich:inplaceInput defaultLabel="click to enter your name"/>
+ <h:outputText value="Email:"/>
+ <rich:inplaceInput defaultLabel="click to enter your email"/>
+ </h:panelGrid>
+ </rich:panel>
+
+ </rich:panel>
+
+ </ui:define>
+</ui:composition>
\ No newline at end of file
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/jQuery.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/jQuery.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/jQuery.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,37 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml">
+
+ <ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <rich:panel>
+ <f:facet name="header">rich:jQuery</f:facet>
+
+ <h:panelGrid columns="1" columnClasses="cent">
+ <h:panelGroup id="picture1">
+ <h:graphicImage width="50" value="/img/jQuery/dog1.jpg"
+ onmouseover="enlargePic(this, {pwidth:'200px'})" onmouseout="releasePic(this)" />
+ </h:panelGroup>
+ </h:panelGrid>
+
+ <h:panelGrid columns="1" columnClasses="cent">
+ <h:panelGroup id="picture2">
+ <h:graphicImage width="50" value="/img/jQuery/dog2.jpg"
+ onmouseover="enlargePic(this, {pwidth:'200px'})" onmouseout="releasePic(this)" />
+ </h:panelGroup>
+ </h:panelGrid>
+
+ <rich:jQuery name="enlargePic" timing="onJScall" query="animate({width:param.pwidth})" />
+ <rich:jQuery name="releasePic" timing="onJScall" query="animate({width:'50px'})"/>
+ </rich:panel>
+
+ </ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/layout.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/layout.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/layout.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,123 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml"
+ xmlns:a4j="http://richfaces.org/a4j">
+
+<ui:define name="body">
+
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+
+
+ <rich:panel>
+ <f:facet name="header">Layout Components: rich:layout and rich:layoutPanel </f:facet>
+
+<h3>Listing 1: top, left, center, right, bottom</h3>
+
+<rich:layout>
+ <rich:layoutPanel position="top">
+ <p>top</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="left">
+ <p>left</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="center">
+ <rich:layout>
+ <rich:layoutPanel position="top">
+ <p>top1</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="left">
+ <p>left1</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="center">
+ <p>center1</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="right">
+ <p>right1</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="bottom">
+ <p>bottom1</p>
+
+</rich:layoutPanel>
+</rich:layout>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="right">
+ <p>right</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="bottom">
+ <p>bottom</p>
+</rich:layoutPanel>
+</rich:layout>
+
+
+ <h3>Listing 2: center</h3>
+<rich:layout>
+
+ <rich:layoutPanel position="center">
+ <!--center-->
+</rich:layoutPanel>
+
+
+</rich:layout>
+
+
+ <h3>Listing 3: left + right</h3>
+<rich:layout>
+
+ <rich:layoutPanel position="left">
+ <p>left</p>
+</rich:layoutPanel>
+
+
+<rich:layoutPanel position="right">
+ <p>right</p>
+</rich:layoutPanel>
+
+</rich:layout>
+
+
+
+<table class="tableofattributes" cellpadding="0" cellspacing="0">
+<thead>
+
+
+ <tr>
+ <td>
+ Attribute
+ </td>
+ <td>
+ Value
+ </td>
+ </tr>
+</thead>
+ <tbody>
+ <tr>
+ <td>
+ Theme
+ </td>
+ <td>
+
+ </td>
+ </tr>
+
+
+ </tbody>
+
+
+</table>
+
+
+
+
+
+ </rich:panel>
+
+</ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/modalPanel.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/modalPanel.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/modalPanel.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,70 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j"
+ template="../layout/template.xhtml">
+
+ <script>
+ function getRightTop(ref) {
+ var position = new Object();
+ position.top = 0; //ref.offsetTop;
+ position.left =0; // ref.offsetLeft+ref.clientWidth+6;
+ return position;
+ }
+ </script>
+
+ <ui:define name="body">
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <rich:panel>
+ <f:facet name="header">rich:modalPanel</f:facet>
+
+ <rich:modalPanel id="panel" width="350" height="100" >
+ <f:facet name="header">
+ <h:panelGroup>
+ <h:outputText value="Modal Panel"></h:outputText>
+ </h:panelGroup>
+ </f:facet>
+
+ <f:facet name="controls">
+ <h:panelGroup>
+ <h:graphicImage value="/img/close.png" styleClass="hidelink" id="hidelink"/>
+ <rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
+ </h:panelGroup>
+ </f:facet>
+
+ <h:outputText value="This panel is called using Component Control Component"></h:outputText>
+ <br/>
+ <h:outputText value="Closure link (X) works also through Component Control"></h:outputText>
+
+ <a onclick="Richfaces.showModalPanel('pnl');" href="#">Show ModalPanel</a>
+
+ <a4j:form>
+ <rich:modalPanel id="pnl">
+ <f:facet name="header">
+ <h:outputText value="This is a panel header" />
+ </f:facet>
+
+ <p>The <rich:modalPanel> accepts different types of information:
+ from simple text to iterative components such as <rich:dataTable>, etc.
+ </p>
+
+ <a onclick="Richfaces.hideModalPanel('pnl');" href="#">Hide</a>
+ <a onclick="Richfaces.hideTopModalPanel();" href="#">Hide Top Modal Panel</a>
+ </rich:modalPanel>
+ </a4j:form>
+ </rich:modalPanel>
+
+ <h:outputLink value="#" id="link">
+ Show Modal Panel
+ <rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
+ </h:outputLink>
+ </rich:panel>
+
+ </ui:define>
+</ui:composition>
\ No newline at end of file
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/page.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/page.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/page.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,185 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml"
+ xmlns:a4j="http://richfaces.org/a4j">
+
+<ui:define name="body">
+
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+
+
+ <rich:panel>
+ <p>A page with the rich:page component can be found <a href="richPage.xhtml" style="display:inline">here</a>.</p>
+ <f:facet name="header">Layout Components: rich:page, rich:layout, rich:layoutPanel </f:facet>
+<h3>Listing 1: pageTitle, markupType and pageHeader facet</h3>
+
+<rich:page markupType="#{page.markupType}" pageTitle="#{page.pageTitle}" contentType="text/html; charset=UTF-8" >
+ <f:facet name="pageHeader" title="advisory" >
+ <meta content="The rich:page component" name="keywords" />
+ <link rel="shortcut icon" href="/images/favicon.ico"/>
+ <link href="/css/style.css" rel="stylesheet" type="text/css" />
+ <script type="text/javascript" src="/js/menu.js"></script>
+ </f:facet>
+ <!-- page content -->
+ <p> page content </p>
+</rich:page>
+
+
+
+
+<h3>Listing 2: facets "header", "sidebar" and "footer"</h3>
+
+
+<rich:page sidebarPosition="right" sidebarWidth="300">
+ <f:facet name="header" >
+ header content
+
+ </f:facet>
+
+ <f:facet name="sidebar">
+side bar content
+ </f:facet>
+ <p>body content</p>
+
+ <f:facet name="footer">
+ footer content
+ </f:facet>
+ </rich:page>
+
+
+<h3>Listing 3: with classes attributes</h3>
+
+
+
+ <rich:page sidebarPosition="right" sidebarWidth="300"
+bodyClass="myBodyClass"
+footerClass="myFooterClass"
+headerClass="myHeaderClass"
+sidebarClass="mySidebarClass"
+>
+ <f:facet name="header" >
+ header content
+
+ </f:facet>
+
+ <f:facet name="sidebar">
+side bar content
+ </f:facet>
+ <p>body content</p>
+
+ <f:facet name="footer">
+ footer content
+ </f:facet>
+ </rich:page>
+
+
+
+ <h3>Listing 4: t</h3>
+
+
+
+ <rich:page sidebarPosition="right" sidebarWidth="300"
+theme="#{page.theme}"
+>
+ <f:facet name="header" >
+ header content
+
+ </f:facet>
+
+ <f:facet name="sidebar">
+side bar content
+ </f:facet>
+ <p>body content</p>
+
+ <f:facet name="footer">
+ footer content
+ </f:facet>
+ </rich:page>
+
+
+
+
+
+<table class="tableofattributes" cellpadding="0" cellspacing="0" >
+<thead>
+
+
+ <tr>
+ <td>
+ Attribute
+ </td>
+ <td>
+ Value
+ </td>
+ </tr>
+</thead>
+ <tbody>
+ <tr>
+ <td>
+ Theme
+ </td>
+ <td>
+ <h:form>
+ <h:selectOneMenu value="#{page.theme}" onchange="submit()">
+ <f:selectItem itemLabel="Default" itemValue="" />
+ <f:selectItem itemLabel="simple" itemValue="simple" />
+ <f:selectItem itemLabel="csszend" itemValue="csszend" />
+
+
+ </h:selectOneMenu>
+ </h:form>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td>
+ markupType
+ </td>
+ <td>
+ <h:form>
+ <h:selectOneMenu value="#{page.markupType}" onchange="submit()">
+ <f:selectItem itemLabel="html" itemValue="html" />
+ <f:selectItem itemLabel="xhtml" itemValue="xhtml" />
+ <f:selectItem itemLabel="html-transitional" itemValue="html-transitional" />
+ <f:selectItem itemLabel="html-3.2" itemValue="html-3.2" />
+
+ </h:selectOneMenu>
+ </h:form>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td>
+ page title
+ </td>
+ <td>
+ <h:form>
+ <h:inputText value="#{page.pageTitle}" onchange="submit()"/>
+ </h:form>
+ </td>
+ </tr>
+
+
+ </tbody>
+
+
+</table>
+
+
+
+
+
+ </rich:panel>
+
+</ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/pickList.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/pickList.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/pickList.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,41 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml">
+
+<ui:define name="body">
+ <style>
+ .rich-picklist-target-cell{
+ background: grey;
+ font-size: 16px;
+ }
+ </style>
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <rich:panel>
+ <f:facet name="header">rich:pickList</f:facet>
+
+ <h:form>
+ <rich:pickList>
+ <f:selectItem itemLabel="Bentley" itemValue="1"/>
+ <f:selectItem itemLabel="Ford" itemValue="2"/>
+ <f:selectItem itemLabel="Chevrolet" itemValue="3"/>
+ <f:selectItem itemLabel="Lincoln" itemValue="4"/>
+ <f:selectItem itemLabel="Mazda" itemValue="5"/>
+ <f:selectItem itemLabel="BMV" itemValue="6"/>
+ <f:selectItem itemLabel="Volkwagen" itemValue="7"/>
+ <f:selectItem itemLabel="Audi" itemValue="8"/>
+ <f:selectItem itemLabel="Mercedes" itemValue="9"/>
+ <f:selectItem itemLabel="Toyota" itemValue="10"/>
+ </rich:pickList>
+ </h:form>
+ </rich:panel>
+
+</ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/progressBar.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/progressBar.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/progressBar.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,30 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml"
+ xmlns:a4j="http://richfaces.org/a4j">
+
+<ui:define name="body">
+
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+
+
+ <rich:panel>
+ <f:facet name="header">rich:progressBar</f:facet>
+
+ <h:form id="form">
+ <rich:progressBar value="30" mode="client" id="progressBar">
+ <h:outputText value="{value}"/>
+ </rich:progressBar>
+ <button type="button" onclick="startProgress();" style="margin: 9px 0px 5px;" id="button">Start Progress</button>
+ </h:form>
+ </rich:panel>
+ </ui:define>
+</ui:composition>
\ No newline at end of file
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/richPage.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/richPage.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/richPage.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,72 @@
+<f:view xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+
+<rich:page sidebarPosition="left" sidebarWidth="300" title="advisory" pageTitle="Page Title"
+theme="simple"
+ >
+ <f:facet name="pageHeader" >
+ </f:facet>
+
+ <f:facet name="header" >
+ <ui:include src="layout/menu.xhtml">
+ <ui:param name="projectName" value="RichFaces Docs"/>
+
+ <!--Header-->
+ </ui:include>
+
+ </f:facet>
+
+ <f:facet name="subheader" >
+ <!--Subheader-->
+
+ </f:facet>
+
+ <f:facet name="sidebar">
+<ui:include src="layout/mainMenu.xhtml" />
+<!--Side panel-->
+
+ </f:facet>
+
+<rich:layout>
+
+ <rich:layoutPanel position="top">
+
+ <!--Top-->
+
+ </rich:layoutPanel>
+
+ <rich:layoutPanel position="left">
+
+ <!--Left-->
+
+ </rich:layoutPanel>
+
+ <rich:layoutPanel position="center">
+
+ <!--Center-->
+
+ </rich:layoutPanel>
+
+ <rich:layoutPanel position="right">
+
+ <!--Right-->
+
+ </rich:layoutPanel>
+
+ <rich:layoutPanel position="bottom">
+
+ <!--Bottom-->
+
+ </rich:layoutPanel>
+
+</rich:layout>
+ <f:facet name="footer">
+ <!--Footer-->
+ </f:facet>
+ </rich:page>
+
+</f:view>
\ No newline at end of file
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/tree.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/tree.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/rich/tree.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,88 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml">
+
+ <ui:define name="body">
+ <h:messages globalOnly="true" styleClass="message" />
+ <rich:panel>
+ <f:facet name="header">rich:tree</f:facet>
+ <h4>Case 1. rich:tree is built from a simple org.richfaces.model.TreeNode
+ model</h4>
+ <h:form>
+ <rich:tree value="#{tree.stationNodes}" var="station">
+ <rich:treeNode>
+ <h:outputText value="#{station}" />
+ </rich:treeNode>
+ </rich:tree>
+ </h:form>
+
+ <h4>Case 2. A simple rich:tree from a local XML file</h4>
+ <h:form>
+ <rich:tree id="treeXML" value="#{tree.data}" var="vardata">
+ <rich:treeNode>
+ <h:outputText value="#{vardata.attributes['name']}" />
+ <h:outputText value="#{vardata.attributes['date']}" />
+ <h:outputText value="#{vardata.attributes['time']}" />
+ <h:outputText value=" #{vardata.text}" />
+ </rich:treeNode>
+
+ </rich:tree>
+ </h:form>
+
+ <br></br>
+ <h4>Case 3. Tree built with treeNodesAdaptors</h4>
+ <p>Using the <rich:treeNodesAdaptor> means that the typical tree hierarchy should be built directly in the component tree.<br></br>
+ </p>
+ <h:form>
+ <rich:tree id="adaptor_based" >
+ <rich:treeNodesAdaptor id="adaptor"
+ nodes="#{shelf.albSet}"
+ var="album">
+ <rich:treeNode>
+ <h:outputText value="#{album}" />
+ </rich:treeNode>
+
+ <rich:treeNodesAdaptor id="adaptor2"
+ nodes="#{shelf.imgSet}"
+ var="image">
+ <rich:treeNode>
+ <h:outputText value="#{image}" />
+ </rich:treeNode>
+ </rich:treeNodesAdaptor>
+ </rich:treeNodesAdaptor>
+ </rich:tree>
+ </h:form>
+
+ <br></br>
+ <h4>Case 4. Tree built from XML (simple example)</h4>
+ <p>The <code>org.richfaces.model.TreeNode</code> interface, which is used in following case, accepts data worked with <code>org.richfaces.component.xml.XmlTreeDataBuilder</code> class and renders it as tree nodes.</p>
+ <h:form>
+ <rich:tree id="tree"
+ value="#{hujatiorns.data}"
+ var="vardata" >
+ <rich:treeNode>
+ <h:outputText value="#{vardata.text}" />
+ </rich:treeNode>
+ </rich:tree>
+ </h:form>
+
+ <br></br>
+ <h4>Case 5. The tree with <code>org.richfaces.TreeRowKeyConverter</code> usage</h4>
+
+ <h:form>
+ <rich:tree value="#{treeBean.data}" var="node" switchType="ajax" rowKeyConverter="org.richfaces.TreeRowKeyConverter">
+ <rich:treeNode ajaxSingle="true">
+ <h:outputText value="#{node}"/>
+ </rich:treeNode>
+ </rich:tree>
+ </h:form>
+
+ </rich:panel>
+ </ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/skinning/stskinning.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/skinning/stskinning.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/skinning/stskinning.xhtml 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,72 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="../layout/template.xhtml"
+ xmlns:a4j="http://richfaces.org/a4j">
+
+<ui:define name="body">
+
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+
+
+ <rich:panel>
+ <f:facet name="header">Standard Controls Skinning</f:facet>
+
+<h:selectOneRadio id="subscriptions1" value="">
+ <f:selectItem itemLabel="News" itemValue="1" />
+ <f:selectItem itemLabel="Sports" itemValue="2" />
+ <f:selectItem itemLabel="Music" itemValue="3" />
+ <f:selectItem itemLabel="Java" itemValue="4" />
+ <f:selectItem itemLabel="Web" itemValue="5" />
+</h:selectOneRadio>
+
+
+<h:selectManyCheckbox id="subscriptions2" value="" layout="pageDirection">
+ <f:selectItem itemLabel="News" itemValue="1" />
+ <f:selectItem itemLabel="Sports" itemValue="2" />
+ <f:selectItem itemLabel="Music" itemValue="3" />
+ <f:selectItem itemLabel="Java" itemValue="4" />
+ <f:selectItem itemLabel="Web" itemValue="5" />
+</h:selectManyCheckbox>
+
+<h:selectManyListbox id="subscriptions3" value="">
+ <f:selectItem itemLabel="News" itemValue="1" />
+ <f:selectItem itemLabel="Sports" itemValue="2" />
+ <f:selectItem itemLabel="Music" itemValue="3" />
+ <f:selectItem itemLabel="Java" itemValue="4" />
+ <f:selectItem itemLabel="Web" itemValue="5" />
+</h:selectManyListbox>
+
+
+<h:commandButton value="Submit" />
+
+
+<select id="form:menu" name="form:menu" multiple="true" size="1">
+ <option value="1">News</option>
+ <option value="2">Sports</option>
+ <option value="3">Music</option>
+ <option value="4">Java</option>
+ <option value="5">Web</option>
+</select>
+
+
+<select id="form:subscriptions" name="form:subscriptions" size="1">
+ <option value="1">News</option>
+ <option value="2">Sports</option>
+ <option value="3">Music</option>
+ <option value="4">Java</option>
+ <option value="5">Web</option>
+</select>
+
+
+ </rich:panel>
+
+</ui:define>
+</ui:composition>
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/stylesheet/theme.css
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/stylesheet/theme.css (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/main/webapp/stylesheet/theme.css 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,153 @@
+body {
+ font-size: 12px;
+ text-align: left;
+}
+
+a:active, a:link, a:visited {
+ color: #0D5798;
+}
+a:hover {
+ color: #8CAFCD;
+}
+
+input, textarea {
+ border: 1px solid #BBBBBB;
+ font-size: 10px;
+ background: #F0F8FF;
+ color: black;
+}
+
+input[type='submit'], input[type='button'] {
+ background: #4477AA;
+ color: white;
+ margin: 5px;
+ border-color: gray;
+}
+
+.tableControl, .actionButtons {
+ width: 100%;
+}
+
+.tableControl a {
+ padding-left: 10px;
+}
+
+.tableControl {
+ text-align: right;
+}
+
+.footer {
+ text-align: center;
+ font-size: 10px;
+}
+
+.rich-table {
+ width:100%;
+}
+
+h1 {
+ font-family: Arial,sans-serif;
+ color: #578BB8;
+ font-size: 1.6em;
+ margin-top: 0;
+}
+
+body {
+ margin: 0px;
+ font-family: Arial,sans-serif;
+ color: #616161;
+
+}
+
+.body {
+ padding: 30px;
+ display:block; float:left;
+ width:75%;
+
+}
+a {display:block}
+.columnHeader:hover
+{
+ color: #FF6600;
+}
+
+.message {
+ border: 1px solid #FFCC00;
+ padding: 5px;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ background-color: #F0F8FF;
+ font-size: 12px;
+}
+
+.name {
+ vertical-align: top;
+ font-weight: bold;
+ width: 115px;
+ float: left;
+ padding: 5px;
+ margin-top: 3px;
+ clear: left;
+}
+.value {
+ float: left;
+ padding: 5px;
+}
+
+.error {
+ float: left;
+ padding: 5px;
+}
+.errors {
+ color: red;
+ vertical-align: middle;
+}
+img.errors {
+ padding-right: 5px;
+}
+.errors input {
+ border: 1px solid red;
+}
+.errors textarea {
+ border: 1px solid red;
+}
+.clear{
+
+}
+.required {
+ color: red;
+ padding-left: 2px;
+}
+
+.rich-stglpanel-body {
+ overflow: auto;
+}
+
+.richcomponentsmenu {
+display: block;
+float:left; width: 200px;
+height: 600px;
+padding-top: 30px;
+
+}
+.richcomponentsmenu a:HOVER {background: #FFFFFF; display: block}
+.dr-pmenu-hovered-element {background-color: #FFFFFF;}
+
+.dr-toolbar-int {padding: 2px 3px 2px 3px;}
+
+
+.dr-pnl-b .simpletext p {font-size: 12px;}
+#mainMenu {text-align: left;}
+
+.tableofattributes {padding: 0px; margin: 0px; width: 400px; margin-top: 20px; border: 1px solid #8fbde6; border-bottom: none;}
+
+
+.tableofattributes thead td {background: #F0F8FF; font-weight: 900; padding-left: 5px;}
+.tableofattributes tbody td {padding-left: 5px; border-bottom: 1px solid #8fbde6 }
+.bodyClass {border: 1px solid black;}
+
+.rich-page {margin: 0px; padding: 0px;}
+.rich-page-main{float:right;margin-left:-25em;}
+.rich-page-sidebar{float:left;width:23.076923em;*width:22.500563em;}
+.rich-page-body{margin-left:24.076923em;*marginleft:23.475563em;}
+.rich-page-body{float:none;width:auto;}
Added: branches/community/3.3.X/test-applications/richfaces-docs/src/test/java/org/docs/richfaces/BeanTest.java
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/src/test/java/org/docs/richfaces/BeanTest.java (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/src/test/java/org/docs/richfaces/BeanTest.java 2009-06-02 14:21:38 UTC (rev 14440)
@@ -0,0 +1,46 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.docs.richfaces;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+*/
+public class BeanTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public BeanTest( String testName )
+ {
+ super( testName );
+ }
+
+ public void testStub() throws Exception {
+
+ }
+}
16 years, 11 months
JBoss Rich Faces SVN: r14439 - branches/community/3.3.X/test-applications/richfaces-docs.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2009-06-02 10:17:55 -0400 (Tue, 02 Jun 2009)
New Revision: 14439
Removed:
branches/community/3.3.X/test-applications/richfaces-docs/pom.xml
Log:
https://jira.jboss.org/jira/browse/RF-6419
deleting the file
Deleted: branches/community/3.3.X/test-applications/richfaces-docs/pom.xml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/pom.xml 2009-06-02 14:16:54 UTC (rev 14438)
+++ branches/community/3.3.X/test-applications/richfaces-docs/pom.xml 2009-06-02 14:17:55 UTC (rev 14439)
@@ -1,121 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.docs</groupId>
- <artifactId>richfaces-docs</artifactId>
- <packaging>pom</packaging>
- <version>1.0-SNAPSHOT</version>
- <name>richfaces-docs</name>
- <properties>
- <projectName>richfaces-docs</projectName>
- <richfacesVersion>3.3.2-SNAPSHOT</richfacesVersion>
- <seamVersion>2.0.1.GA</seamVersion>
-
- <droolsVersion>4.0.0</droolsVersion>
- <faceletsVersion>1.1.14</faceletsVersion>
-
- </properties>
- <repositories>
-
- <repository>
- <id>snapshots.jboss.org</id>
- <name>Snapshot Jboss Repository for Maven</name>
- <url>http://snapshots.jboss.org/maven2/</url>
- </repository>
-
-<repository>
- <id>repository.jboss.com</id>
- <name>Jboss Repository for Maven</name>
- <url>http://repository.jboss.com/maven2/</url>
- </repository>
-
-
-
-
-
- <repository>
- <id>repository.exadel.com</id>
- <name>Exadel Maven 2 Repository</name>
- <url>http://repository.exadel.com/</url>
- </repository>
-
-
- </repositories>
-
- <modules>
- <module>ear</module>
- <module>ejb</module>
- <module>web</module>
- </modules>
-<!--dependencies>
-
- <dependency>
-
- <groupId>javax.faces</groupId>
-
- <artifactId>jsf-api</artifactId>
-
- <version>1.2_12</version>
-<scope>provided</scope>
- </dependency>
-
- <dependency>
-
- <groupId>javax.faces</groupId>
-
- <artifactId>jsf-impl</artifactId>
-
- <version>1.2_12</version>
-<scope>provided</scope>
- </dependency>
-</dependencies-->
-
-
- <build>
-
-
-
-
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-ejb-plugin</artifactId>
- <configuration>
- <ejbVersion>3.0</ejbVersion>
- </configuration>
- </plugin>
- </plugins>
-
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <downloadSources>true</downloadSources>
- <downloadJavadocs>false</downloadJavadocs>
- <projectNameTemplate>[artifactId]-[version]</projectNameTemplate>
- <wtpmanifest>true</wtpmanifest>
- <wtpapplicationxml>true</wtpapplicationxml>
- <wtpversion>2.0</wtpversion>
- <classpathContainers>
- <classpathContainer>org.eclipse.jdt.launching.JDK_CONTAINER</classpathContainer>
- </classpathContainers>
- </configuration>
- </plugin>
-
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
-</project>
16 years, 11 months
JBoss Rich Faces SVN: r14436 - in branches/community/3.3.X/ui/panel/src: main/templates and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-06-02 10:16:31 -0400 (Tue, 02 Jun 2009)
New Revision: 14436
Modified:
branches/community/3.3.X/ui/panel/src/main/resources/org/richfaces/renderkit/html/css/panel.xcss
branches/community/3.3.X/ui/panel/src/main/templates/panel.jspx
branches/community/3.3.X/ui/panel/src/test/java/org/richfaces/component/PanelComponentTest.java
Log:
RF-7297
Modified: branches/community/3.3.X/ui/panel/src/main/resources/org/richfaces/renderkit/html/css/panel.xcss
===================================================================
--- branches/community/3.3.X/ui/panel/src/main/resources/org/richfaces/renderkit/html/css/panel.xcss 2009-06-02 14:15:40 UTC (rev 14435)
+++ branches/community/3.3.X/ui/panel/src/main/resources/org/richfaces/renderkit/html/css/panel.xcss 2009-06-02 14:16:31 UTC (rev 14436)
@@ -4,13 +4,13 @@
xmlns="http://www.w3.org/1999/xhtml" >
<f:verbatim>
<![CDATA[
-.dr-pnl{
+.rich-panel{
border-width: 1px;
border-style: solid;
padding : 1px;
}
-.dr-pnl-h{
+.rich-panel-header{
padding : 2px;
border-width: 1px;
border-style: solid;
@@ -18,16 +18,16 @@
background-repeat : repeat-x;
}
-.dr-pnl-b{
+.rich-panel-body{
padding : 10px;
}
]]>
</f:verbatim>
-<u:selector name=".dr-pnl">
+<u:selector name=".rich-panel">
<u:style name="background-color" skin="generalBackgroundColor" />
<u:style name="border-color" skin="panelBorderColor" />
</u:selector>
-<u:selector name=".dr-pnl-h">
+<u:selector name=".rich-panel-header">
<u:style name="background-color" skin="headerBackgroundColor" />
<u:style name="border-color" skin="headerBackgroundColor" />
<u:style name="font-size" skin="headerSizeFont" />
@@ -38,7 +38,7 @@
<f:resource f:key="org.richfaces.renderkit.html.GradientA"/>
</u:style>
</u:selector>
-<u:selector name=".dr-pnl-b">
+<u:selector name=".rich-panel-body">
<u:style name="font-size" skin="generalSizeFont" />
<u:style name="color" skin="generalTextColor" />
<u:style name="font-family" skin="generalFamilyFont" />
Modified: branches/community/3.3.X/ui/panel/src/main/templates/panel.jspx
===================================================================
--- branches/community/3.3.X/ui/panel/src/main/templates/panel.jspx 2009-06-02 14:15:40 UTC (rev 14435)
+++ branches/community/3.3.X/ui/panel/src/main/templates/panel.jspx 2009-06-02 14:16:31 UTC (rev 14436)
@@ -11,23 +11,23 @@
<f:clientid var="clientId"/>
<h:styles>css/panel.xcss</h:styles>
- <div id="#{clientId}" x:passThruWithExclusions="id,value,styleClass,class" class="dr-pnl rich-panel #{component.attributes['styleClass']}">
+ <div id="#{clientId}" x:passThruWithExclusions="id,value,styleClass,class" class="rich-panel #{component.attributes['styleClass']}">
<jsp:scriptlet>
<![CDATA[if(component.getFacet("header")!=null && component.getFacet("header").isRendered()) {]]>
</jsp:scriptlet>
- <div id="#{clientId}_header" class="dr-pnl-h rich-panel-header #{component.attributes['headerClass']}">
+ <div id="#{clientId}_header" class="rich-panel-header #{component.attributes['headerClass']}">
<u:insertFacet name="header" />
</div>
<jsp:scriptlet>
<![CDATA[} else if (null != component.getHeader() && !"".equals(component.getHeader())) { ]]>
</jsp:scriptlet>
- <div id="#{clientId}_header" class="dr-pnl-h rich-panel-header #{component.attributes['headerClass']}">
+ <div id="#{clientId}_header" class="rich-panel-header #{component.attributes['headerClass']}">
#{component.attributes['header']}
</div>
<jsp:scriptlet>
<![CDATA[}]]>
</jsp:scriptlet>
- <div id="#{clientId}_body" class="dr-pnl-b rich-panel-body #{component.attributes['bodyClass']}">
+ <div id="#{clientId}_body" class="rich-panel-body #{component.attributes['bodyClass']}">
<vcp:body>
<f:call name="renderChildren" />
</vcp:body>
Modified: branches/community/3.3.X/ui/panel/src/test/java/org/richfaces/component/PanelComponentTest.java
===================================================================
--- branches/community/3.3.X/ui/panel/src/test/java/org/richfaces/component/PanelComponentTest.java 2009-06-02 14:15:40 UTC (rev 14435)
+++ branches/community/3.3.X/ui/panel/src/test/java/org/richfaces/component/PanelComponentTest.java 2009-06-02 14:16:31 UTC (rev 14436)
@@ -120,7 +120,7 @@
*/
public void testRenderAttributes() throws Exception
{
- Object[][] attributes ={{"style","xxx","style","xxx"},{"onclick","alert()","onclick","alert()"},{"styleClass","yyy","class","dr-pnl rich-panel yyy"}};
+ Object[][] attributes ={{"style","xxx","style","xxx"},{"onclick","alert()","onclick","alert()"},{"styleClass","yyy","class","rich-panel yyy"}};
UIComponent text = createComponent(HtmlOutputText.COMPONENT_TYPE, HtmlOutputText.class.getName(), null, null , null);
htmlPanel.getFacets().put("header", text);
for (int i = 0; i < attributes.length; i++) {
16 years, 11 months
JBoss Rich Faces SVN: r14434 - in branches/community/3.3.X/ui/datascroller/src: main/resources/org/richfaces/renderkit/html/css and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-06-02 09:41:21 -0400 (Tue, 02 Jun 2009)
New Revision: 14434
Modified:
branches/community/3.3.X/ui/datascroller/src/main/java/org/richfaces/renderkit/html/DataScrollerRenderer.java
branches/community/3.3.X/ui/datascroller/src/main/resources/org/richfaces/renderkit/html/css/datascroller.xcss
branches/community/3.3.X/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx
branches/community/3.3.X/ui/datascroller/src/test/java/org/richfaces/component/DatascrollerComponentTest.java
Log:
RF-7296
Modified: branches/community/3.3.X/ui/datascroller/src/main/java/org/richfaces/renderkit/html/DataScrollerRenderer.java
===================================================================
--- branches/community/3.3.X/ui/datascroller/src/main/java/org/richfaces/renderkit/html/DataScrollerRenderer.java 2009-06-02 13:40:34 UTC (rev 14433)
+++ branches/community/3.3.X/ui/datascroller/src/main/java/org/richfaces/renderkit/html/DataScrollerRenderer.java 2009-06-02 13:41:21 UTC (rev 14434)
@@ -211,10 +211,10 @@
out.startElement("td", component);
if (isCurrentPage) {
- out.writeAttribute("class", "dr-dscr-act rich-datascr-act "+
+ out.writeAttribute("class", "rich-datascr-act "+
styleClass, null);
} else {
- out.writeAttribute("class", "dr-dscr-inact rich-datascr-inact "+
+ out.writeAttribute("class", "rich-datascr-inact "+
styleClass, null);
out.writeAttribute("onclick", getOnClick(Integer.toString(i + 1)), null);
}
Modified: branches/community/3.3.X/ui/datascroller/src/main/resources/org/richfaces/renderkit/html/css/datascroller.xcss
===================================================================
--- branches/community/3.3.X/ui/datascroller/src/main/resources/org/richfaces/renderkit/html/css/datascroller.xcss 2009-06-02 13:40:34 UTC (rev 14433)
+++ branches/community/3.3.X/ui/datascroller/src/main/resources/org/richfaces/renderkit/html/css/datascroller.xcss 2009-06-02 13:41:21 UTC (rev 14434)
@@ -4,13 +4,11 @@
xmlns="http://www.w3.org/1999/xhtml" >
<f:verbatim><![CDATA[
-.dr-dscr{
-}
-.dr-dscr-t{
+.rich-dtascroller-table{
border-width : 1px;
border-style: solid;
}
-.dr-dscr-button, .dr-dscr-sepctrl {
+.rich-datascr-button, .rich-datascr-ctrls-separator {
border-width: 1px;
border-style: solid;
width : 25px;
@@ -18,17 +16,17 @@
text-align: center;
}
-.dr-dscr-button-dsbld {
+.rich-datascr-button-dsbld {
cursor: default;
}
-.dr-dscr-act{
+.rich-datascr-act{
border-top-width: 2px;
border-top-style: solid;
width : 25px;
text-align: center;
}
-.dr-dscr-inact{
+.rich-datascr-inact{
border-top-width: 2px;
border-top-style: solid;
width : 25px;
@@ -40,23 +38,18 @@
]]>
</f:verbatim>
-<u:selector name=".dr-stglpnl">
- <u:style name="background-color" skin="tableBackgroundColor" />
- <u:style name="border-color" skin="panelBorderColor" />
-</u:selector>
-
-<u:selector name=".dr-dscr-button, .dr-dscr-sepctrl">
+<u:selector name=".rich-datascr-button, .rich-datascr-ctrls-separator">
<u:style name="background-color" skin="additionalBackgroundColor" />
<u:style name="border-color" skin="panelBorderColor" />
<u:style name="font-family" skin="generalFamilyFont" />
<u:style name="font-size" skin="generalSizeFont" />
</u:selector>
-<u:selector name=".dr-dscr-button-dsbld">
+<u:selector name=".rich-datascr-button-dsbld">
<u:style name="color" skin="panelBorderColor" default="gray" />
</u:selector>
-<u:selector name=".dr-dscr-act">
+<u:selector name=".rich-datascr-act">
<u:style name=" border-top-color" skin="generalTextColor" />
<u:style name="color" skin="generalTextColor" />
<u:style name="font-family" skin="generalFamilyFont" />
@@ -64,14 +57,14 @@
</u:selector>
-<u:selector name=".dr-dscr-inact">
+<u:selector name=".rich-datascr-inact">
<u:style name=" border-top-color" skin="headerBackgroundColor" />
<u:style name="color" skin="headerBackgroundColor" />
<u:style name="font-family" skin="generalFamilyFont" />
<u:style name="font-size" skin="generalSizeFont" />
</u:selector>
-<u:selector name=".dr-dscr-t">
+<u:selector name=".rich-dtascroller-table">
<u:style name="border-color" skin="panelBorderColor" />
<u:style name="background-color" skin="tableBackgroundColor" />
</u:selector>
Modified: branches/community/3.3.X/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx
===================================================================
--- branches/community/3.3.X/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx 2009-06-02 13:40:34 UTC (rev 14433)
+++ branches/community/3.3.X/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx 2009-06-02 13:41:21 UTC (rev 14434)
@@ -55,7 +55,7 @@
<div id="#{clientId}"
x:passThruWithExclusions="value,name,type,id,styleClass,class,style"
style="#{component.attributes['style']} #{singlePageRenderStyle}"
- class="dr-dscr rich-datascr #{component.attributes['styleClass']}">
+ class="rich-datascr #{component.attributes['styleClass']}">
<jsp:scriptlet>
<![CDATA[
@@ -64,7 +64,7 @@
]]>
</jsp:scriptlet>
- <table id="#{clientId}_table" style="text-align:#{component.attributes['align']}" border="0" cellpadding="0" cellspacing="1" class="dr-dscr-t rich-dtascroller-table #{component.attributes['tableStyleClass']}">
+ <table id="#{clientId}_table" style="text-align:#{component.attributes['align']}" border="0" cellpadding="0" cellspacing="1" class="rich-dtascroller-table #{component.attributes['tableStyleClass']}">
<tbody>
<tr>
<jsp:scriptlet><![CDATA[
@@ -77,14 +77,14 @@
variables.setVariable("facet", component.FIRST_FACET_NAME);
facet=component.FIRST_FACET_NAME;
}else{
- variables.setVariable("buttonClass", "dr-dscr-button-dsbld rich-datascr-button-dsbld");
+ variables.setVariable("buttonClass", "rich-datascr-button-dsbld");
variables.setVariable("onclick", "");
variables.setVariable("facet", component.FIRST_DISABLED_FACET_NAME);
facet=component.FIRST_DISABLED_FACET_NAME;
};
if(component.getFacet(facet)!=null ) {
]]></jsp:scriptlet>
- <td class="#{buttonClass} dr-dscr-button rich-datascr-button" onclick="#{onclick}">
+ <td class="#{buttonClass} rich-datascr-button" onclick="#{onclick}">
<jsp:scriptlet>
<![CDATA[if(component.FIRST_FACET_NAME.equals(facet)){]]>
</jsp:scriptlet>
@@ -100,7 +100,7 @@
<jsp:scriptlet><![CDATA[
}else{
]]></jsp:scriptlet>
- <td class="#{buttonClass} dr-dscr-button rich-datascr-button" onclick="#{onclick}">
+ <td class="#{buttonClass} rich-datascr-button" onclick="#{onclick}">
<jsp:scriptlet><![CDATA[
writer.write("««");
]]></jsp:scriptlet>
@@ -110,7 +110,7 @@
if (controlsState.isControlsSeparatorRendered() &&
(controlsState.isFastRewindRendered() || controlsState.isPreviousRendered())) {
]]></jsp:scriptlet>
- <td class="dr-dscr-sepctrl rich-datascr-ctrls-separator"><u:insertFacet name="controlsSeparator" /></td>
+ <td class="rich-datascr-ctrls-separator"><u:insertFacet name="controlsSeparator" /></td>
<jsp:scriptlet><![CDATA[
}
}
@@ -123,14 +123,14 @@
variables.setVariable("facet", component.FAST_REWIND_FACET_NAME);
facet=component.FAST_REWIND_FACET_NAME;
}else{
- variables.setVariable("buttonClass", "dr-dscr-button-dsbld rich-datascr-button-dsbld");
+ variables.setVariable("buttonClass", "rich-datascr-button-dsbld");
variables.setVariable("onclick", "");
variables.setVariable("facet", component.FAST_REWIND_DISABLED_FACET_NAME);
facet=component.FAST_REWIND_DISABLED_FACET_NAME;
}
if(component.getFacet(facet)!=null ) {
]]></jsp:scriptlet>
- <td class="#{buttonClass} dr-dscr-button rich-datascr-button" onclick="#{onclick}">
+ <td class="#{buttonClass} rich-datascr-button" onclick="#{onclick}">
<jsp:scriptlet>
<![CDATA[if(component.FAST_REWIND_FACET_NAME.equals(facet)){]]>
</jsp:scriptlet>
@@ -146,7 +146,7 @@
<jsp:scriptlet><![CDATA[
}else{
]]></jsp:scriptlet>
- <td class="#{buttonClass} dr-dscr-button rich-datascr-button" onclick="#{onclick}">
+ <td class="#{buttonClass} rich-datascr-button" onclick="#{onclick}">
<jsp:scriptlet><![CDATA[
writer.write("«");
]]></jsp:scriptlet>
@@ -156,7 +156,7 @@
if (controlsState.isControlsSeparatorRendered() && controlsState.isPreviousRendered()) {
]]></jsp:scriptlet>
- <td class="dr-dscr-sepctrl rich-datascr-ctrls-separator"><u:insertFacet name="controlsSeparator" /></td>
+ <td class="rich-datascr-ctrls-separator"><u:insertFacet name="controlsSeparator" /></td>
<jsp:scriptlet><![CDATA[
}
}
@@ -171,13 +171,13 @@
facet=component.PREVIOUS_FACET_NAME;
}else{
variables.setVariable("onclick", "");
- variables.setVariable("buttonClass", "dr-dscr-button-dsbld rich-datascr-button-dsbld");
+ variables.setVariable("buttonClass", "rich-datascr-button-dsbld");
variables.setVariable("facet", component.PREVIOUS_DISABLED_FACET_NAME);
facet=component.PREVIOUS_DISABLED_FACET_NAME;
}
if(component.getFacet(facet)!=null ) {
]]></jsp:scriptlet>
- <td class="#{buttonClass} dr-dscr-button rich-datascr-button" onclick="#{onclick}">
+ <td class="#{buttonClass} rich-datascr-button" onclick="#{onclick}">
<jsp:scriptlet>
<![CDATA[if(component.PREVIOUS_FACET_NAME.equals(facet)){]]>
</jsp:scriptlet>
@@ -193,7 +193,7 @@
<jsp:scriptlet><![CDATA[
}else{
]]></jsp:scriptlet>
- <td class="#{buttonClass} dr-dscr-button rich-datascr-button" onclick="#{onclick}">
+ <td class="#{buttonClass} rich-datascr-button" onclick="#{onclick}">
</td>
<jsp:scriptlet><![CDATA[
}
@@ -224,13 +224,13 @@
facet=component.NEXT_FACET_NAME;
}else{
variables.setVariable("onclick", "");
- variables.setVariable("buttonClass", "dr-dscr-button-dsbld rich-datascr-button-dsbld");
+ variables.setVariable("buttonClass", "rich-datascr-button-dsbld");
variables.setVariable("facet", component.NEXT_DISABLED_FACET_NAME);
facet=component.NEXT_DISABLED_FACET_NAME;
}
if(component.getFacet(facet)!=null ) {
]]></jsp:scriptlet>
- <td class="#{buttonClass} dr-dscr-button rich-datascr-button" onclick="#{onclick}">
+ <td class="#{buttonClass} rich-datascr-button" onclick="#{onclick}">
<jsp:scriptlet>
<![CDATA[if(component.NEXT_FACET_NAME.equals(facet)){]]>
</jsp:scriptlet>
@@ -246,7 +246,7 @@
<jsp:scriptlet><![CDATA[
}else{
]]></jsp:scriptlet>
- <td class="#{buttonClass} dr-dscr-button rich-datascr-button" onclick="#{onclick}">
+ <td class="#{buttonClass} rich-datascr-button" onclick="#{onclick}">
</td>
<jsp:scriptlet><![CDATA[
@@ -255,7 +255,7 @@
if (controlsState.isControlsSeparatorRendered() &&
(controlsState.isFastForwardRendered() || controlsState.isLastRendered())) {
]]></jsp:scriptlet>
- <td class="dr-dscr-sepctrl rich-datascr-ctrls-separator"><u:insertFacet name="controlsSeparator" /></td>
+ <td class="rich-datascr-ctrls-separator"><u:insertFacet name="controlsSeparator" /></td>
<jsp:scriptlet><![CDATA[
}
}
@@ -271,13 +271,13 @@
}
else{
variables.setVariable("onclick", "");
- variables.setVariable("buttonClass", "dr-dscr-button-dsbld rich-datascr-button-dsbld");
+ variables.setVariable("buttonClass", "rich-datascr-button-dsbld");
variables.setVariable("facet", component.FAST_FORWARD_DISABLED_FACET_NAME);
facet=component.FAST_FORWARD_DISABLED_FACET_NAME;
}
if(component.getFacet(facet)!=null ) {
]]></jsp:scriptlet>
- <td class="#{buttonClass} dr-dscr-button rich-datascr-button" onclick="#{onclick}">
+ <td class="#{buttonClass} rich-datascr-button" onclick="#{onclick}">
<jsp:scriptlet>
<![CDATA[if(component.FAST_FORWARD_FACET_NAME.equals(facet)){]]>
</jsp:scriptlet>
@@ -293,7 +293,7 @@
<jsp:scriptlet><![CDATA[
}else{
]]></jsp:scriptlet>
- <td class="#{buttonClass} dr-dscr-button rich-datascr-button" onclick="#{onclick}">
+ <td class="#{buttonClass} rich-datascr-button" onclick="#{onclick}">
<jsp:scriptlet><![CDATA[
writer.write("»");
]]></jsp:scriptlet>
@@ -303,7 +303,7 @@
if (controlsState.isControlsSeparatorRendered() && controlsState.isLastRendered()) {
]]></jsp:scriptlet>
- <td class="dr-dscr-sepctrl rich-datascr-ctrls-separator"><u:insertFacet name="controlsSeparator" /></td>
+ <td class="rich-datascr-ctrls-separator"><u:insertFacet name="controlsSeparator" /></td>
<jsp:scriptlet><![CDATA[
}
}
@@ -318,13 +318,13 @@
facet=component.LAST_FACET_NAME;
}else{
variables.setVariable("onclick", "");
- variables.setVariable("buttonClass", "dr-dscr-button-dsbld rich-datascr-button-dsbld");
+ variables.setVariable("buttonClass", "rich-datascr-button-dsbld");
variables.setVariable("facet", component.LAST_DISABLED_FACET_NAME);
facet=component.LAST_DISABLED_FACET_NAME;
}
if(component.getFacet(facet)!=null ) {
]]></jsp:scriptlet>
- <td class="#{buttonClass} dr-dscr-button rich-datascr-button" onclick="#{onclick}">
+ <td class="#{buttonClass} rich-datascr-button" onclick="#{onclick}">
<jsp:scriptlet>
<![CDATA[if(component.LAST_FACET_NAME.equals(facet)){]]>
</jsp:scriptlet>
@@ -340,7 +340,7 @@
<jsp:scriptlet><![CDATA[
}else{
]]></jsp:scriptlet>
- <td class="#{buttonClass} dr-dscr-button rich-datascr-button" onclick="#{onclick}">
+ <td class="#{buttonClass} rich-datascr-button" onclick="#{onclick}">
<jsp:scriptlet><![CDATA[
writer.write("»»");
]]></jsp:scriptlet>
Modified: branches/community/3.3.X/ui/datascroller/src/test/java/org/richfaces/component/DatascrollerComponentTest.java
===================================================================
--- branches/community/3.3.X/ui/datascroller/src/test/java/org/richfaces/component/DatascrollerComponentTest.java 2009-06-02 13:40:34 UTC (rev 14433)
+++ branches/community/3.3.X/ui/datascroller/src/test/java/org/richfaces/component/DatascrollerComponentTest.java 2009-06-02 13:41:21 UTC (rev 14434)
@@ -225,7 +225,6 @@
assertNotNull(f6_d);
String classAttr = div.getAttributeValue("class");
- assertTrue(classAttr.contains("dr-dscr"));
assertTrue(classAttr.contains("rich-datascr"));
16 years, 11 months