JBoss Rich Faces SVN: r7368 - in trunk/samples/richfaces-demo/src/main/webapp: richfaces/actionparam/examples and 12 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: vbaranov
Date: 2008-03-28 12:11:50 -0400 (Fri, 28 Mar 2008)
New Revision: 7368
Modified:
trunk/samples/richfaces-demo/src/main/webapp/css/common.css
trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/screenSize.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandButton/examples/sayHello.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandLink/examples/sayHello.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/examples/ajaxSubmit.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/jsFunction/examples/hoverEcho.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/poll/examples/clock.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/poll/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/region/examples/selfRender.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/region/examples/validationErrorIssue.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/status/examples/cleaner.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/status/examples/pictured.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/status/examples/simple.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/support/examples/echo.xhtml
Log:
Update design of the demo on the "Ajax Support" menu item
Modified: trunk/samples/richfaces-demo/src/main/webapp/css/common.css
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/css/common.css 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/css/common.css 2008-03-28 16:11:50 UTC (rev 7368)
@@ -6,7 +6,7 @@
.demo_legend {
font-weight : bold;
- margin : 0px 10px 0px 20px;
+ margin : 0px 10px 0px 18px;
font-family: Verdana;
}
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -14,6 +14,7 @@
<a4j:actionparam name="username" value="John" assignTo="#{userBean.name}"/>
</a4j:commandButton>
</rich:panel>
+ <rich:spacer height="1" />
<rich:panel>
<h:outputText id="rep" value="Selected Name:#{userBean.name}"/>
</rich:panel>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/screenSize.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/screenSize.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/screenSize.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -11,7 +11,8 @@
<a4j:actionparam name="h" value="screen.height"
assignTo="#{userBean.screenHeight}" noEscape="true" />
</a4j:commandButton>
-
+ <br />
+ <rich:spacer height="3" />
<rich:panel id="infoPanel">
<h:panelGrid columns="2">
<h:outputText value="Width:" />
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -9,17 +9,16 @@
<ui:define name="sample">
<style>
.viewsourcepanel {
- padding-bottom:0px;
+ padding:10px;
width:100%;
overflow:auto;
border-width:0;
- background-color:#FFFFE7;
}
.viewsourcebody {
padding:0;
}
ol{
- font-size:12px !important;
+ font-size:11px !important;
}
</style>
@@ -41,9 +40,12 @@
attribute is an id of the JSF component or an id list. This is a simple example:
</p>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
- <rich:insert src="/richfaces/ajaxAttributes/snippets/reRender2.xhtml" highlight="xhtml"></rich:insert>
- </rich:panel>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Code Example</legend>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:insert src="/richfaces/ajaxAttributes/snippets/reRender2.xhtml" highlight="xhtml"></rich:insert>
+ </rich:panel>
+ </fieldset>
<p>
reRender uses <a target="_blank" href="http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api/javax/faces/c...">
UIComponent.findComponent()</a> algorithm (with some additional exceptions)
@@ -53,9 +55,12 @@
found mentioning it more precisely. The following example shows the difference
in approaches (both buttons will work successfully):
</p>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
- <rich:insert src="/richfaces/ajaxAttributes/snippets/reRender3.xhtml" highlight="xhtml"></rich:insert>
- </rich:panel>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Code Example</legend>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:insert src="/richfaces/ajaxAttributes/snippets/reRender3.xhtml" highlight="xhtml"></rich:insert>
+ </rich:panel>
+ </fieldset>
<p>
You can use JSF EL expression as a value of the reRender attribute. It might be a property of
types Set, Collection, Array or simple String. The EL for reRender is resolved right before the
@@ -76,10 +81,13 @@
explicitly. It might be useful if you have an area on a page that should be updated as a
response on any Ajax request. For example, the following code allows to output error
messages regardless of what Ajax request causes the Validation phase failed.
- </p>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
- <rich:insert src="/richfaces/ajaxAttributes/snippets/reRender1.xhtml" highlight="xhtml"></rich:insert>
- </rich:panel>
+ </p>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Code Example</legend>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:insert src="/richfaces/ajaxAttributes/snippets/reRender1.xhtml" highlight="xhtml"></rich:insert>
+ </rich:panel>
+ </fieldset>
<p>
<b>limitToList</b> attribute allows to dismiss the behavior of the a4j:outputPanel ajaxRendered
attribute. limitToList = "true" means to update only the area(s) that mentioned in the
@@ -103,10 +111,13 @@
the requests produced by the same event. For example, according to the following code,
only the newest request will be sent to the server if a user types very fast and has typed
the several characters already before the previous Ajax Response is back.
- </p>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
- <rich:insert src="/richfaces/ajaxAttributes/snippets/eventqueue.xhtml" highlight="xhtml"></rich:insert>
- </rich:panel>
+ </p>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Code Example</legend>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:insert src="/richfaces/ajaxAttributes/snippets/eventqueue.xhtml" highlight="xhtml"></rich:insert>
+ </rich:panel>
+ </fieldset>
<p><b>requestDelay</b> attribute defines the time (in ms.) that the request will be wait in
the queue before it is ready to send. When the delay time is over, the request will be
sent to the server or removed if the newest 'similar' request is in a queue already .
@@ -217,9 +228,12 @@
will be serialized in JSON format and be available on the client side. You can refer
to it using the 'data' variable. For example:
</p>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
- <rich:insert src="/richfaces/ajaxAttributes/snippets/data.xhtml" highlight="xhtml"></rich:insert>
- </rich:panel>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Code Example</legend>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:insert src="/richfaces/ajaxAttributes/snippets/data.xhtml" highlight="xhtml"></rich:insert>
+ </rich:panel>
+ </fieldset>
<p>
Richfaces allows to serialize not only primitive types into JSON format, but also complex
types including arrays and collections. The beans should be serializable to be refered
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandButton/examples/sayHello.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandButton/examples/sayHello.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandButton/examples/sayHello.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -4,21 +4,33 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
+
+ <style>
+ .gridhello {
+ border-collapse : collapse;
+ }
+ .gridhellocolumn {
+ padding-left : 0;
+ }
+ .outhello {
+ font-weight: bold;
+ }
+ </style>
- <rich:separator height="1" />
-
<a4j:form>
- <h:panelGrid columns="3">
+ <h:panelGrid columns="3" styleClass="gridhello" columnClasses="gridhellocolumn">
<h:outputText value="Name:" />
<h:inputText value="#{userBean.name}" />
<a4j:commandButton value="Say Hello" reRender="out" />
</h:panelGrid>
</a4j:form>
+ <rich:spacer height="7"/>
+ <br />
<h:panelGroup id="out">
- <h:outputText value="Hello " rendered="#{not empty userBean.name}" />
- <h:outputText value="#{userBean.name}" />
- <h:outputText value="!" rendered="#{not empty userBean.name}" />
+ <h:outputText value="Hello " rendered="#{not empty userBean.name}" styleClass="outhello" />
+ <h:outputText value="#{userBean.name}" styleClass="outhello" />
+ <h:outputText value="!" rendered="#{not empty userBean.name}" styleClass="outhello" />
</h:panelGroup>
- <rich:separator height="1" style="padding-top:10px" />
+ <br />
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandLink/examples/sayHello.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandLink/examples/sayHello.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandLink/examples/sayHello.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -5,10 +5,20 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <rich:separator height="1" />
+ <style>
+ .gridhello {
+ border-collapse : collapse;
+ }
+ .gridhellocolumn {
+ padding-left : 0;
+ }
+ .outhello {
+ font-weight: bold;
+ }
+ </style>
<a4j:form>
- <h:panelGrid columns="3">
+ <h:panelGrid columns="3" styleClass="gridhello" columnClasses="gridhellocolumn">
<h:outputText value="Name:" />
<h:inputText value="#{userBean.name}" />
<a4j:commandLink reRender="out">
@@ -16,11 +26,13 @@
</a4j:commandLink>
</h:panelGrid>
</a4j:form>
+ <rich:spacer height="7"/>
+ <br />
<h:panelGroup id="out">
- <h:outputText value="Hello " rendered="#{not empty userBean.name}" />
- <h:outputText value="#{userBean.name}" />
- <h:outputText value="!" rendered="#{not empty userBean.name}" />
+ <h:outputText value="Hello " rendered="#{not empty userBean.name}" styleClass="outhello" />
+ <h:outputText value="#{userBean.name}" styleClass="outhello" />
+ <h:outputText value="!" rendered="#{not empty userBean.name}" styleClass="outhello" />
</h:panelGroup>
- <rich:separator height="1" style="padding-top:10px" />
+ <br />
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/examples/ajaxSubmit.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/examples/ajaxSubmit.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/examples/ajaxSubmit.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -5,6 +5,12 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
+ <style type="text/css">
+ .dr-pnl-b {
+ padding: 25px;
+ }
+ </style>
+
<h:panelGrid columns="2">
<rich:panel>
<f:facet name="header">
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/usage.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/usage.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -9,17 +9,16 @@
<ui:define name="sample">
<style type="text/css">
- .viewsourcepanel {
- padding-bottom:0px;
- width:100%;
- overflow:auto;
- border-width:0;
- background-color:#FFFFE7;
- }
- .viewsourcebody {
- padding:0;
- }
-
+ .viewcodeexamplepanel {
+ padding:10px;
+ width:100%;
+ overflow:auto;
+ border-width:0;
+ background-color:#FFFFFF;
+ }
+ .viewsourcebody {
+ padding:0;
+ }
</style>
<p>a4j:form functionality is similar to the standard h:form component except two additional features:
@@ -38,9 +37,12 @@
when user clicks this link later. The example of problematic code is below. To fix the code,
you need to replace h:form with a4j:form and h:commandLink with a4j:htmlCommandLink.
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
- <rich:insert src="/richfaces/form/snippets/commandLinkProblem.xhtml" highlight="xhtml"/>
- </rich:panel>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Code Example</legend>
+ <rich:panel styleClass="viewcodeexamplepanel" bodyClass="viewsourcebody">
+ <rich:insert src="/richfaces/form/snippets/commandLinkProblem.xhtml" highlight="xhtml"/>
+ </rich:panel>
+ </fieldset>
</p>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/jsFunction/examples/hoverEcho.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/jsFunction/examples/hoverEcho.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/jsFunction/examples/hoverEcho.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -4,17 +4,17 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-
- <rich:separator lineType="solid" height="1" />
+
<table width="400">
<tbody>
<tr>
- <td onmouseover="updateName('Alex')" onmouseout="updateName('')" > Alex</td>
- <td onmouseover="updateName('Jonh')" onmouseout="updateName('')" > Jonh</td>
- <td onmouseover="updateName('Roger')" onmouseout="updateName('')" > Roger</td>
+ <td><span onmouseover="updateName('Alex')" onmouseout="updateName('')">Alex</span></td>
+ <td><span onmouseover="updateName('Jonh')" onmouseout="updateName('')">Jonh</span></td>
+ <td><span onmouseover="updateName('Roger')" onmouseout="updateName('')">Roger</span></td>
</tr>
+ <rich:spacer height="10" />
<tr>
- <td colspan="3"><h:outputText id="showname" value="Name: #{userBean.name}" /></td>
+ <td colspan="3">Name: <b><h:outputText id="showname" value="#{userBean.name}" /></b></td>
</tr>
</tbody>
</table>
@@ -25,5 +25,5 @@
</a4j:jsFunction>
</a4j:form>
- <rich:separator height="1" style="padding-top:10px" />
+ <br />
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/poll/examples/clock.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/poll/examples/clock.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/poll/examples/clock.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -5,7 +5,6 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <rich:separator height="1" />
<a4j:region>
<h:form>
<a4j:poll id="poll" interval="500" enabled="#{pollBean.pollEnabled}"
@@ -35,5 +34,4 @@
value="Server Date: #{pollBean.date}" />
</h:panelGrid>
</h:form>
- <rich:separator height="1" style="padding-top:10px" />
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/poll/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/poll/usage.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/poll/usage.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -19,7 +19,7 @@
<p>The following example shown how the date and time is updated on the page based on the data
taken from the server. To turn off polling, press "Stop Polling" button.</p>
- <p><b>Note: </b>polling is automatically disabled in this demo after one minute of working.</p>
+
<fieldset class="demo_fieldset">
<legend class="demo_legend">Poll Demo</legend>
@@ -32,7 +32,9 @@
</div>
</fieldset>
+ <p class="note"><b>Note: </b><br />polling is automatically disabled in this demo after one minute of working.</p>
+
<p><b>interval</b> attribute defines the interval in ms between the previous response and the
next request. Hence, the total period between two requests generated by a4j:poll is a sum of interval
and server response time.
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/usage.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/usage.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -9,11 +9,11 @@
<ui:define name="sample">
<style>
.viewsourcepanel {
- padding-bottom:0px;
+ padding:10px;
width:100%;
overflow:auto;
border-width:0;
- background-color:#FFFFE7;
+ background-color:#FFFFFF;
}
.viewsourcebody {
padding:0;
@@ -34,23 +34,29 @@
Attribute 'interval' is used as for poll component. It specifies the interval in ms.
for call push request. Simple example of usage:
</p>
- <p>
- <i>Page code:</i>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
- <rich:insert highlight="xhtml" src="/richfaces/push/snippets/page.xhtml"/>
- </rich:panel>
+ <p>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Page code:</legend>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:insert highlight="xhtml" src="/richfaces/push/snippets/page.xhtml"/>
+ </rich:panel>
+ </fieldset>
</p>
- <p>
- <i>Code for registration of listener:</i>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
- <rich:insert highlight="java" src="/richfaces/push/snippets/listenerReg.java"/>
- </rich:panel>
+ <p>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Code for registration of listener:</legend>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:insert highlight="java" src="/richfaces/push/snippets/listenerReg.java"/>
+ </rich:panel>
+ </fieldset>
</p>
- <p>
- <i>Component can get message using current code:</i>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
- <rich:insert highlight="java" src="/richfaces/push/snippets/listenermessage.java"/>
- </rich:panel>
+ <p>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Component can get message using current code:</legend>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:insert highlight="java" src="/richfaces/push/snippets/listenermessage.java"/>
+ </rich:panel>
+ </fieldset>
</p>
<p>
Thus, component 'push' uses asynchronous model instead of polls.
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/region/examples/selfRender.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/region/examples/selfRender.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/region/examples/selfRender.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -5,20 +5,35 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <rich:separator height="1" />
+ <style>
+ .outergridselfcolumn {
+ padding: 0px 30px 10px 0px;
+ width : 300px;
+ vertical-align: top;
+ }
+ .innergridselfcolumn1 {
+ padding-left: 10px;
+ font-weight: bold;
+ }
+ .innergridselfcolumn2 {
+ padding-left: 10px;
+ }
+ </style>
- <h:panelGrid columns="2" width="100%">
+ <h:panelGrid columns="2" columnClasses="outergridselfcolumn">
<a4j:region selfRendered="true">
<h:panelGroup>
<h:form>
- <h:panelGrid columns="2">
+ <h:panelGrid columns="2" columnClasses="innergridselfcolumn1,innergridselfcolumn2">
<h:outputText value="Name" />
<h:inputText value="#{userBean.name}">
<a4j:support event="onkeyup" reRender="out3,outname2" />
</h:inputText>
</h:panelGrid>
</h:form>
+ <rich:spacer height="5" />
+ <br />
<h:panelGroup id="out3">
This text will disappear during the partial update of this panel.
The text appears again only after the whole page refresh or a partial
@@ -30,13 +45,15 @@
<a4j:region selfRendered="true">
<h:panelGroup>
<h:form>
- <h:panelGrid columns="2">
+ <h:panelGrid columns="2" columnClasses="innergridselfcolumn1,innergridselfcolumn2">
<h:outputText value="Name" />
<h:inputText value="#{userBean.name}">
<a4j:support event="onkeyup" reRender="out4,outname2" />
</h:inputText>
</h:panelGrid>
</h:form>
+ <rich:spacer height="5" />
+ <br />
<h:panelGroup id="out4">
<h:outputText value="The text of the similar panel will
not disappear because it is printed with h:outputText" />
@@ -47,7 +64,6 @@
</h:panelGrid>
<h:outputText id="outname2" style="font-weight:bold"
value="Typed Name: #{userBean.name}" />
-
- <rich:separator style="padding-top:10px" height="1" />
+ <br />
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/region/examples/validationErrorIssue.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/region/examples/validationErrorIssue.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/region/examples/validationErrorIssue.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -4,12 +4,17 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-
- <rich:separator height="1" />
+
+ <style>
+ .outergridvalidationcolumn {
+ padding: 0px 30px 10px 0px;
+ }
+ </style>
+
<a4j:outputPanel ajaxRendered="true">
<h:messages style="color:red" />
</a4j:outputPanel>
- <h:panelGrid columns="2" width="100%">
+ <h:panelGrid columns="2" columnClasses="outergridvalidationcolumn">
<h:form id="form1">
<h:panelGrid columns="2">
@@ -17,7 +22,7 @@
<h:inputText value="#{userBean.name}">
<a4j:support event="onkeyup" reRender="outname" />
</h:inputText>
- <h:outputText value="Job:" />
+ <h:outputText value="Job" />
<h:inputText required="true" id="job2" value="#{userBean.job}" />
</h:panelGrid>
</h:form>
@@ -37,5 +42,5 @@
</h:panelGrid>
<h:outputText id="outname" style="font-weight:bold" value="Typed Name: #{userBean.name}" />
- <rich:separator style="padding-top:10px" height="1" />
+ <br />
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/status/examples/cleaner.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/status/examples/cleaner.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/status/examples/cleaner.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -5,7 +5,6 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <rich:separator height="1"/>
<a4j:region id="extr">
<h:form>
<h:outputText value="Status:" />
@@ -30,8 +29,12 @@
</h:panelGrid>
<a4j:region>
- <h:outputText id="out" value="Name: #{userBean.name}, Job: #{userBean.job}" />
<br />
+ <rich:spacer height="5"/>
+ <b><h:outputText id="out" value="Name: #{userBean.name}, Job: #{userBean.job}" /></b>
+ <br />
+ <rich:spacer height="5"/>
+ <br />
<a4j:commandButton ajaxSingle="true" value="Clean Up Form" reRender="name, job, out" status="commonstatus">
<a4j:actionparam name="n" value="" assignTo="#{userBean.name}" />
<a4j:actionparam name="j" value="" assignTo="#{userBean.job}" />
@@ -40,5 +43,5 @@
</h:form>
</a4j:region>
- <rich:separator height="1" style="padding-top:10px"/>
+ <br />
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/status/examples/pictured.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/status/examples/pictured.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/status/examples/pictured.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -5,7 +5,6 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <rich:separator height="1"/>
<a4j:region id="rb">
<h:panelGrid columns="2">
@@ -21,6 +20,6 @@
</h:panelGrid>
</a4j:region>
- <rich:separator height="1" style="padding-top:10px"/>
+ <br />
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/status/examples/simple.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/status/examples/simple.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/status/examples/simple.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -5,13 +5,14 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <rich:separator height="1"/>
<h:outputText value="Ajax Status:"/>
<a4j:status id="commonstatus" startText="In progress..." stopText="Complete"/>
+ <br />
+ <rich:spacer height="5" />
<h:form>
<a4j:commandButton eventsQueue="foo" value="Ajax Request"/>
</h:form>
- <rich:separator height="1" style="padding-top:10px"/>
+ <br />
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/support/examples/echo.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/support/examples/echo.xhtml 2008-03-28 15:48:13 UTC (rev 7367)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/support/examples/echo.xhtml 2008-03-28 16:11:50 UTC (rev 7368)
@@ -5,7 +5,6 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <rich:separator height="1"/>
<h:form>
<h:panelGrid columns="2">
<h:inputText value="#{userBean.name}">
@@ -14,6 +13,6 @@
<h:outputText id="outtext" value="#{userBean.name}" />
</h:panelGrid>
</h:form>
- <rich:separator height="1" style="padding-top:10px"/>
+ <br />
</ui:composition>
\ No newline at end of file
16 years, 9 months
JBoss Rich Faces SVN: r7367 - trunk/ui/orderingList/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-28 11:48:13 -0400 (Fri, 28 Mar 2008)
New Revision: 7367
Modified:
trunk/ui/orderingList/src/main/config/component/orderinglist.xml
Log:
http://jira.jboss.com/jira/browse/RF-2530
Modified: trunk/ui/orderingList/src/main/config/component/orderinglist.xml
===================================================================
--- trunk/ui/orderingList/src/main/config/component/orderinglist.xml 2008-03-28 15:45:20 UTC (rev 7366)
+++ trunk/ui/orderingList/src/main/config/component/orderinglist.xml 2008-03-28 15:48:13 UTC (rev 7367)
@@ -295,7 +295,7 @@
A number of rows to display, or zero for all remaining rows in the list
</description>
</property>
- <property el="false">
+ <property el="false" hidden="true">
<name>stateVar</name>
<classname>java.lang.String</classname>
<description>
16 years, 9 months
JBoss Rich Faces SVN: r7366 - trunk/ui/calendar/src/test/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2008-03-28 11:45:20 -0400 (Fri, 28 Mar 2008)
New Revision: 7366
Modified:
trunk/ui/calendar/src/test/java/org/richfaces/component/CalendarComponentTest.java
Log:
Some small fix for calendar test.
Modified: trunk/ui/calendar/src/test/java/org/richfaces/component/CalendarComponentTest.java
===================================================================
--- trunk/ui/calendar/src/test/java/org/richfaces/component/CalendarComponentTest.java 2008-03-28 15:06:30 UTC (rev 7365)
+++ trunk/ui/calendar/src/test/java/org/richfaces/component/CalendarComponentTest.java 2008-03-28 15:45:20 UTC (rev 7366)
@@ -285,7 +285,7 @@
public void testCalendarTime() throws Exception{
Calendar calendarObject = Calendar.getInstance();
calendarObject.set(2001, Calendar.SEPTEMBER, 11, 13, 36);
- assertEquals(0, calendarObject.getTime().compareTo((Date)calendar2.getSubmittedValue()));
+ assertEquals(calendarObject.getTime().toString(), calendar2.getSubmittedValue().toString());
}
16 years, 9 months
JBoss Rich Faces SVN: r7365 - trunk/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-03-28 11:06:30 -0400 (Fri, 28 Mar 2008)
New Revision: 7365
Modified:
trunk/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss
Log:
http://jira.jboss.com/jira/browse/RF-2599
Modified: trunk/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss
===================================================================
--- trunk/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss 2008-03-28 13:52:42 UTC (rev 7364)
+++ trunk/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss 2008-03-28 15:06:30 UTC (rev 7365)
@@ -262,7 +262,7 @@
<u:style name="font-size" skin="headerSizeFont" />
</u:selector>
- <u:selector name=".rich-list-shuttle-button-selection">
+ <u:selector name=".rich-list-shuttle-button-selection, .rich-list-shuttle-button-selection:hover">
<u:style name="color" skin="generalTextColor" />
<u:style name="text-decoration" value="none" />
<u:style name="display" value="block" />
16 years, 9 months
JBoss Rich Faces SVN: r7364 - trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-03-28 09:52:42 -0400 (Fri, 28 Mar 2008)
New Revision: 7364
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
Log:
http://jira.jboss.com/jira/browse/RF-2810
Modified: trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
===================================================================
--- trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-03-28 13:44:51 UTC (rev 7363)
+++ trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-03-28 13:52:42 UTC (rev 7364)
@@ -8,10 +8,11 @@
this.inplaceSelect = $(clientId);
this.inplaceSelect.component = this;
+ this.attrCloseOnSelect = true; //will be corrected in a future version (http://jira.jboss.com/jira/browse/RF-2814)
+
this.currentItemValue = this.value;
this.button.style.top = Richfaces.getBorderWidth(this.tempValueKeeper, "t") + "px";
this["rich:destructor"] = "destroy";
-
},
destroy: function() {
@@ -22,7 +23,6 @@
initHandlers : function($super) {
$super();
this.tempValueKeeper.observe("click", function(e){this.tempKeeperClickHandler(e);}.bindAsEventListener(this));
- this.tempValueKeeper.observe("keydown", function(e){this.tmpValueKeyDownHandlerIn(e);}.bindAsEventListener(this));
this.button.observe("click", function(e){this.buttonClickHandler(e);}.bindAsEventListener(this));
@@ -74,20 +74,22 @@
},
tmpValueBlurHandler : function($super, event) {
- $super(event);
+ if ($super(event)) {
+
+
- if (!this.comboList.isList || this.clickOnBar) {
- this.comboList.hideWithDelay();
- }
if (!this.attributes.showControls) {
this.save();
} else {
this.applyTmpValue();
}
+ if (!this.comboList.isList || this.clickOnBar) {
+ this.comboList.hideWithDelay();
+ }
+
this.comboList.isList = false;
- /*this.comboList.hideWithDelay();*/
-
+ }
},
listClickHandler : function(event) {
@@ -116,11 +118,18 @@
} else {
this.comboList.isList = true;
}
+
+ if (this.attrCloseOnSelect) {
+ //bug : http://jira.jboss.com/jira/browse/RF-2810,
+ //will be corrected in a future version (http://jira.jboss.com/jira/browse/RF-2814)
+ this.comboList.isList = false;
+ }
},
- tmpValueKeyDownHandlerIn : function(event) {
+ tmpValueKeyDownHandler : function(event) {
switch (event.keyCode) {
- case Event.KEY_RETURN :
+ case Event.KEY_RETURN :
+ this.comboList.isList = false;
this.save();
this.comboList.hideWithDelay();
Event.stop(event);
@@ -136,13 +145,18 @@
case Event.KEY_ESC :
this.comboList.resetSelection();
this.comboList.hideWithDelay();
+ this.cancel(event);
break;
+ case Event.KEY_TAB :
+ this.save();
+ this.byTab = true;
+ break;
}
},
save : function($super) {
this.applyTmpValue();
- if ((!this.comboList.isList || this.clickOnBar)) {
+ if (!this.comboList.isList || this.clickOnBar) {
this.saveValue(this.currentItemValue, this.tempValueKeeper.value);
}
16 years, 9 months
JBoss Rich Faces SVN: r7363 - in trunk/samples/richfaces-demo/src/main: java/org/richfaces/demo/ajaxsupport and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-28 09:44:51 -0400 (Fri, 28 Mar 2008)
New Revision: 7363
Added:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/poll/
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/poll/PollBean.java
Modified:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/ajaxsupport/UserBean.java
trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/poll/examples/clock.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-2820
http://jira.jboss.com/jira/browse/RF-2822
Modified: trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/ajaxsupport/UserBean.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/ajaxsupport/UserBean.java 2008-03-28 13:17:44 UTC (rev 7362)
+++ trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/ajaxsupport/UserBean.java 2008-03-28 13:44:51 UTC (rev 7363)
@@ -10,13 +10,9 @@
private String address;
private String city;
private String zip;
- private Date date;
- private Date pollStartTime;
- private boolean pollEnabled;
public UserBean() {
super();
- pollEnabled=true;
}
public String getName() {
@@ -60,29 +56,6 @@
this.job = job;
}
- public Date getDate() {
- Date date = new Date();
- if (null==pollStartTime){
- pollStartTime = new Date();
- return date;
- }
- if ((date.getTime()-pollStartTime.getTime())>=60000) setPollEnabled(false);
- return date;
- }
-
- public void setDate(Date date) {
- this.date = date;
- }
-
- public boolean getPollEnabled() {
- return pollEnabled;
- }
-
- public void setPollEnabled(boolean pollEnabled) {
- if (pollEnabled) setPollStartTime(null);
- this.pollEnabled = pollEnabled;
- }
-
public String getAddress() {
return address;
}
@@ -107,12 +80,4 @@
this.zip = zip;
}
- public Date getPollStartTime() {
- return pollStartTime;
- }
-
- public void setPollStartTime(Date pollStartTime) {
- this.pollStartTime = pollStartTime;
- }
-
}
Added: trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/poll/PollBean.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/poll/PollBean.java (rev 0)
+++ trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/poll/PollBean.java 2008-03-28 13:44:51 UTC (rev 7363)
@@ -0,0 +1,48 @@
+/**
+ *
+ */
+package org.richfaces.demo.poll;
+
+import java.util.Date;
+
+/**
+ * @author Ilya Shaikovsky
+ *
+ */
+public class PollBean {
+
+ private Date pollStartTime;
+ private boolean pollEnabled;
+
+
+ public PollBean() {
+ pollEnabled=true;
+ }
+ public Date getDate() {
+ Date date = new Date();
+ if (null==pollStartTime){
+ pollStartTime = new Date();
+ return date;
+ }
+ if ((date.getTime()-pollStartTime.getTime())>=60000) setPollEnabled(false);
+ return date;
+ }
+
+ public boolean getPollEnabled() {
+ return pollEnabled;
+ }
+
+ public void setPollEnabled(boolean pollEnabled) {
+ if (pollEnabled) setPollStartTime(null);
+ this.pollEnabled = pollEnabled;
+ }
+
+ public Date getPollStartTime() {
+ return pollStartTime;
+ }
+
+ public void setPollStartTime(Date pollStartTime) {
+ this.pollStartTime = pollStartTime;
+ }
+
+}
Modified: trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml 2008-03-28 13:17:44 UTC (rev 7362)
+++ trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml 2008-03-28 13:44:51 UTC (rev 7363)
@@ -39,7 +39,7 @@
<managed-bean>
<managed-bean-name>userBean</managed-bean-name>
<managed-bean-class>org.richfaces.demo.ajaxsupport.UserBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
+ <managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>screenWidth</property-name>
<property-class>java.lang.Integer</property-class>
@@ -303,6 +303,11 @@
<managed-bean-class>org.richfaces.demo.filteringFeature.FilteringBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
+ <managed-bean>
+ <managed-bean-name>pollBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.poll.PollBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
<navigation-rule>
<from-view-id>/richfaces/include/examples/wstep1.xhtml</from-view-id>
<navigation-case>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/usage.xhtml 2008-03-28 13:17:44 UTC (rev 7362)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/usage.xhtml 2008-03-28 13:44:51 UTC (rev 7363)
@@ -20,9 +20,6 @@
padding:0;
}
- input[type="button"], input[type="submit"] {
- background-color:#{a4jSkin.trimColor};
- }
</style>
<p>a4j:form functionality is similar to the standard h:form component except two additional features:
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/poll/examples/clock.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/poll/examples/clock.xhtml 2008-03-28 13:17:44 UTC (rev 7362)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/poll/examples/clock.xhtml 2008-03-28 13:44:51 UTC (rev 7363)
@@ -1,30 +1,39 @@
<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:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-
- <rich:separator height="1"/>
+ 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:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+
+ <rich:separator height="1" />
<a4j:region>
<h:form>
- <a4j:poll id="poll" interval="500" enabled="#{userBean.pollEnabled}" reRender="poll,grid"/>
+ <a4j:poll id="poll" interval="500" enabled="#{pollBean.pollEnabled}"
+ reRender="poll,grid" />
</h:form>
</a4j:region>
<h:form>
<h:panelGrid columns="2" width="80%" id="grid">
- <h:panelGrid columns="1">
- <h:outputText value="Polling Inactive" rendered="#{not userBean.pollEnabled}"></h:outputText>
- <h:outputText value="Polling Active" rendered="#{userBean.pollEnabled}"></h:outputText>
+ <h:panelGrid columns="1">
+
+ <h:outputText value="Polling Inactive"
+ rendered="#{not pollBean.pollEnabled}"></h:outputText>
+
+ <h:outputText value="Polling Active"
+ rendered="#{pollBean.pollEnabled}"></h:outputText>
+
<a4j:commandButton style="width:120px" id="control"
- value="#{userBean.pollEnabled?'Stop':'Start'} Polling"
- reRender="poll, grid">
- <a4j:actionparam name="polling" value="#{!userBean.pollEnabled}"
- assignTo="#{userBean.pollEnabled}"/>
- </a4j:commandButton>
+ value="#{pollBean.pollEnabled?'Stop':'Start'} Polling"
+ reRender="poll, grid">
+ <a4j:actionparam name="polling" value="#{!pollBean.pollEnabled}"
+ assignTo="#{pollBean.pollEnabled}" />
+ </a4j:commandButton>
+
</h:panelGrid>
- <h:outputText id="serverDate" style="font-size:16px" value="Server Date: #{userBean.date}"/>
- </h:panelGrid>
+
+ <h:outputText id="serverDate" style="font-size:16px"
+ value="Server Date: #{pollBean.date}" />
+ </h:panelGrid>
</h:form>
- <rich:separator height="1" style="padding-top:10px"/>
+ <rich:separator height="1" style="padding-top:10px" />
</ui:composition>
\ No newline at end of file
16 years, 9 months
JBoss Rich Faces SVN: r7362 - Reports/3.2.0 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2008-03-28 09:17:44 -0400 (Fri, 28 Mar 2008)
New Revision: 7362
Added:
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR20032008.xls
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR525032008tkuprevich.xls
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR526032008vvolkov.xls
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR527032008ayanul.xls
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR527032008vvolkov.xls
Log:
Added: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR20032008.xls
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR20032008.xls
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR525032008tkuprevich.xls
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR525032008tkuprevich.xls
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR526032008vvolkov.xls
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR526032008vvolkov.xls
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR527032008ayanul.xls
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR527032008ayanul.xls
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR527032008vvolkov.xls
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR527032008vvolkov.xls
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 9 months
JBoss Rich Faces SVN: r7361 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-28 09:09:00 -0400 (Fri, 28 Mar 2008)
New Revision: 7361
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml
Log:
syntax mistake
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml 2008-03-28 12:42:09 UTC (rev 7360)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml 2008-03-28 13:09:00 UTC (rev 7361)
@@ -6,7 +6,7 @@
<h:form>
<rich:panel>
- <a4j:commandButton value="Set" reRender="rep" >
+ <a4j:commandButton value="Set Name to Alex" reRender="rep" >
<a4j:actionparam name="username" value="Alex" assignTo="#{userBean.name}"/>
</a4j:commandButton>
<rich:spacer width="20" />
16 years, 9 months
JBoss Rich Faces SVN: r7360 - in trunk/samples/richfaces-demo/src/main/webapp: templates/include and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-28 08:42:09 -0400 (Fri, 28 Mar 2008)
New Revision: 7360
Modified:
trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml
trunk/samples/richfaces-demo/src/main/webapp/templates/include/header.xhtml
Log:
togglePanel in header fix
Modified: trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml 2008-03-28 12:10:35 UTC (rev 7359)
+++ trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml 2008-03-28 12:42:09 UTC (rev 7360)
@@ -69,7 +69,7 @@
<param-name>createTempFiles</param-name>
<param-value>false</param-value>
</init-param>
- <init-param>
+ <init-param>
<param-name>maxRequestSize</param-name>
<param-value>1000000</param-value>
</init-param>
Modified: trunk/samples/richfaces-demo/src/main/webapp/templates/include/header.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/templates/include/header.xhtml 2008-03-28 12:10:35 UTC (rev 7359)
+++ trunk/samples/richfaces-demo/src/main/webapp/templates/include/header.xhtml 2008-03-28 12:42:09 UTC (rev 7360)
@@ -48,7 +48,7 @@
</h:outputLink>
</td>
<td class="control">
- <rich:toggleControl for="skin_chooser" value="more »" />
+ <rich:toggleControl for="skin_chooser" value="more..." />
</td>
</tr>
</tbody>
@@ -123,7 +123,7 @@
</td>
</ui:remove>
<td class="control">
- <rich:toggleControl for="skin_chooser" value="« less" />
+ <rich:toggleControl for="skin_chooser" value="...less" />
</td>
</tr>
</tbody>
16 years, 9 months
JBoss Rich Faces SVN: r7359 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces: actionparam/examples and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-28 08:10:35 -0400 (Fri, 28 Mar 2008)
New Revision: 7359
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wizard.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/selectItems.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSlider/examples/sliderUsage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml
Log:
after review changes
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml 2008-03-28 12:04:26 UTC (rev 7358)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml 2008-03-28 12:10:35 UTC (rev 7359)
@@ -6,7 +6,7 @@
<h:form>
<rich:panel>
- <a4j:commandButton value="Set Name to Alex" reRender="rep" >
+ <a4j:commandButton value="Set" reRender="rep" >
<a4j:actionparam name="username" value="Alex" assignTo="#{userBean.name}"/>
</a4j:commandButton>
<rich:spacer width="20" />
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/usage.xhtml 2008-03-28 12:04:26 UTC (rev 7358)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/usage.xhtml 2008-03-28 12:10:35 UTC (rev 7359)
@@ -8,12 +8,6 @@
<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
- <style>
- input[type="button"] {
- background-color:#{a4jSkin.trimColor};
- }
- </style>
-
<p>a4j:actionparam is a component that combines together the functionality of f:param and ActionListener.
Additionally to the f:param, this component allows to assign the value to the property of the manager bean
directly using the assignTo attribute.
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wizard.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wizard.xhtml 2008-03-28 12:04:26 UTC (rev 7358)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wizard.xhtml 2008-03-28 12:10:35 UTC (rev 7359)
@@ -24,10 +24,6 @@
padding:2px;
}
- .navPanel input[type="button"] {
- background-color: #{richSkin.additionalBackgroundColor};
- }
-
</style>
<br/>
<h:panelGrid width="100%" columns="2" columnClasses="col1,col2">
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/selectItems.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/selectItems.xhtml 2008-03-28 12:04:26 UTC (rev 7358)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/selectItems.xhtml 2008-03-28 12:10:35 UTC (rev 7359)
@@ -21,7 +21,7 @@
<h:panelGroup style="width:200px;" layout="block">
<rich:inplaceSelect value="#{inplaceComponentsBean.inputValue}"
- defaultLabel="Click here to edit" openOnEdit="true"
+ defaultLabel="Double Click to edit" openOnEdit="true"
showControls="true" editEvent="ondblclick" layout="block"
viewClass="inplace" changedClass="inplace"
changedHoverClass="hover" viewHoverClass="hover">
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSlider/examples/sliderUsage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSlider/examples/sliderUsage.xhtml 2008-03-28 12:04:26 UTC (rev 7358)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSlider/examples/sliderUsage.xhtml 2008-03-28 12:10:35 UTC (rev 7359)
@@ -1,22 +1,23 @@
<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:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
+ 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:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
- <a4j:form ajaxSubmit="true">
- <p>
- Here is an example of default inputNumberSlider:
- </p>
- <rich:inputNumberSlider value="50"/>
- <p>
- Here is "minimalistic" input:
- </p>
- <rich:inputNumberSlider value="50" showInput="false" enableManualInput="false" showBoundaryValues="false" showToolTip="false"/>
- <p>
- Another variation of input:
- </p>
- <rich:inputNumberSlider value="500" width="500" maxValue="1000" step="50" showToolTip="false" />
- </a4j:form>
+ <p>Here is an example of default inputNumberSlider:</p>
+
+ <rich:inputNumberSlider value="50" />
+
+ <p>Here is "minimalistic" input:</p>
+
+ <rich:inputNumberSlider value="50" showInput="false"
+ enableManualInput="false" showBoundaryValues="false"
+ showToolTip="false" />
+
+ <p>Another variation of input:</p>
+
+ <rich:inputNumberSlider value="500" width="500" maxValue="1000"
+ step="50" showToolTip="false" />
+
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml 2008-03-28 12:04:26 UTC (rev 7358)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml 2008-03-28 12:10:35 UTC (rev 7359)
@@ -1,95 +1,110 @@
<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:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
+ 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:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
<style>
- .tooltip {
- background-color:#{a4jSkin.generalBackgroundColor};
- border-width:1px;
- padding:10px;
- }
- .tooltipData {
- font-weight: bold;
- }
- </style>
-
+.tooltip {
+ background-color: #{
+ a4jSkin
+ .
+
+
+
+ generalBackgroundColor
+}
+
+;
+border-width
+
+
+
+
+:1
+px
+
+
+;
+padding
+
+
+
+
+:10
+px
+
+
+;
+}
+.tooltipData {
+ font-weight: bold;
+}
+</style>
+
<h:form>
- <h:outputText value="This tooltip rendered on server in separate request" id="tt3">
- <rich:toolTip direction="top-right" mode="ajax" verticalOffset="5" zorder="200" styleClass="tooltip" layout="block">
- <f:facet name="defaultContent">
- <strong>Wait...</strong>
- </f:facet>
- <span>This tooltip content was <strong>rendered</strong> on server </span>
- <h:panelGrid columns="2">
- <h:outputText value="tooltips requested:" />
- <h:outputText value="#{toolTipData.tooltipCounter}" styleClass="tooltipData" />
- <h:outputText value="last request:" />
- <h:outputText value="#{toolTipData.tooltipDate}" styleClass="tooltipData" >
- <f:convertDateTime pattern="mm:ss.SSS"/>
- </h:outputText>
- </h:panelGrid>
- </rich:toolTip>
- </h:outputText>
- <rich:dataTable value="#{toolTipData.vehicles}" width="400" var="vehicle" rowKeyVar="row">
- <rich:column>
- <f:facet name="header">
- <h:outputText value="##"/>
- </f:facet>
- <h:outputText value="#{row+1}" />
- </rich:column>
- <rich:column>
- <f:facet name="header">
- <h:outputText value="Make"/>
- </f:facet>
- <h:outputText id="make" value="#{vehicle.make}" >
- <rich:toolTip direction="top-right" mode="ajax" showDelay="300" styleClass="tooltip" immediate="true" layout="block">
- <a4j:actionparam name="key" value="#{row}" assignTo="#{toolTipData.currentVehicleIndex}" />
+ <rich:dataTable value="#{toolTipData.vehicles}" width="400"
+ var="vehicle" rowKeyVar="row">
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="##" />
+ </f:facet>
+ <h:outputText value="#{row+1}" />
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Make" />
+ </f:facet>
+ <a4j:outputPanel layout="block">
+ <rich:toolTip direction="top-right" mode="ajax" showDelay="300"
+ styleClass="tooltip" immediate="true" layout="block">
+ <a4j:actionparam name="key" value="#{row}"
+ assignTo="#{toolTipData.currentVehicleIndex}" />
- <h:panelGrid columns="4">
+ <h:panelGrid columns="4">
+ <f:facet name="header">
+ <h:outputText value="Vehicle details:" />
+ </f:facet>
+ <h:outputText value="make:" />
+ <h:outputText value="#{vehicle.make}" styleClass="tooltipData" />
+ <h:outputText value="model:" />
+ <h:outputText value="#{vehicle.model}" styleClass="tooltipData" />
+ <h:outputText value="year:" />
+ <h:outputText value="#{vehicle.year}" styleClass="tooltipData" />
+ <h:outputText value="milage:" />
+ <h:outputText value="#{vehicle.milage}" styleClass="tooltipData" />
+ <h:outputText value="zip:" />
+ <h:outputText value="#{vehicle.zip}" styleClass="tooltipData" />
+ <h:outputText value="listed:" />
+ <h:outputText value="#{vehicle.listed}" styleClass="tooltipData">
+ <f:convertDateTime dateStyle="short" />
+ </h:outputText>
+ <f:facet name="footer">
+ <h:panelGroup>
+ <h:outputText value="vin: " />
+ <h:outputText value="#{vehicle.vin}" styleClass="tooltipData" />
+ </h:panelGroup>
+ </f:facet>
+
+ </h:panelGrid>
+ </rich:toolTip>
+ <h:outputText id="make" value="#{vehicle.make}"/>
+ </a4j:outputPanel>
+ </rich:column>
+ <rich:column>
<f:facet name="header">
- <h:outputText value="Vehicle details:" />
+ <h:outputText value="Model" />
</f:facet>
- <h:outputText value="make:" />
- <h:outputText value="#{vehicle.make}" styleClass="tooltipData" />
- <h:outputText value="model:" />
- <h:outputText value="#{vehicle.model}" styleClass="tooltipData" />
- <h:outputText value="year:" />
- <h:outputText value="#{vehicle.year}" styleClass="tooltipData" />
- <h:outputText value="milage:" />
- <h:outputText value="#{vehicle.milage}" styleClass="tooltipData" />
- <h:outputText value="zip:" />
- <h:outputText value="#{vehicle.zip}" styleClass="tooltipData" />
- <h:outputText value="listed:" />
- <h:outputText value="#{vehicle.listed}" styleClass="tooltipData" >
- <f:convertDateTime dateStyle="short"/>
- </h:outputText>
- <f:facet name="footer">
- <h:panelGroup>
- <h:outputText value="vin: " />
- <h:outputText value="#{vehicle.vin}" styleClass="tooltipData" />
- </h:panelGroup>
+ <h:outputText value="#{vehicle.model}" />
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Year" />
</f:facet>
-
- </h:panelGrid>
- </rich:toolTip>
- </h:outputText>
- </rich:column>
- <rich:column>
- <f:facet name="header">
- <h:outputText value="Model"/>
- </f:facet>
- <h:outputText value="#{vehicle.model}" />
- </rich:column>
- <rich:column>
- <f:facet name="header">
- <h:outputText value="Year"/>
- </f:facet>
- <h:outputText value="#{vehicle.year}" />
- </rich:column>
- </rich:dataTable>
+ <h:outputText value="#{vehicle.year}" />
+ </rich:column>
+ </rich:dataTable>
</h:form>
16 years, 9 months