Author: ilya_shaikovsky
Date: 2011-02-10 04:35:53 -0500 (Thu, 10 Feb 2011)
New Revision: 21584
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/resources/css/application.ecss
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/queue/queue.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/templates/includes/skin-chooser.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml
Log:
new design.
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/resources/css/application.ecss
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/resources/css/application.ecss 2011-02-10
06:56:41 UTC (rev 21583)
+++
trunk/examples/richfaces-showcase/src/main/webapp/resources/css/application.ecss 2011-02-10
09:35:53 UTC (rev 21584)
@@ -1,16 +1,17 @@
-* {
- margin:0;
- padding:0;
-}
html{
height:100%;
}
body{
+ margin:0;
+ padding:0;
background:#94aebc
url('#{facesContext.externalContext.requestContextPath}/images/body-bg.jpg') left
bottom repeat;
font:normal 12px 'Lucida Sans Unicode, Lucida Grande,
Geneva,Verdana,Arial,sans-serif';
height:100%;
}
-ul{
+fieldset{
+ margin:0;
+}
+ul.layout{
list-style:none;
}
a{
@@ -56,6 +57,7 @@
background:url('#{facesContext.externalContext.requestContextPath}/images/sep.gif')
center right no-repeat;
color:#fff;
padding:0 8px 0 3px;
+ font:11px 'Lucida Sans Unicode, Lucida Grande,
Geneva,Verdana,Arial,sans-serif';
}
#header ul.top-links li.last a{
background:none;
@@ -83,7 +85,9 @@
height:25px;
padding:3px 5px 0 0;
display:inline-block;
+ font:normal 12px 'Lucida Sans Unicode, Lucida Grande,
Geneva,Verdana,Arial,sans-serif';
}
+
#header ul#skin-menu li span:hover{
text-decoration:underline;
}
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/queue/queue.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/queue/queue.xhtml 2011-02-10
06:56:41 UTC (rev 21583)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/queue/queue.xhtml 2011-02-10
09:35:53 UTC (rev 21584)
@@ -19,9 +19,11 @@
<p>Pay attention to next point in the example:</p>
<ul>
- <li>Setting request delay to greater value reduces the greatly
+ <li>Setting <b>requestDelay</b> to greater value reduces the greatly
requests count on fast typing. (More similar requests are combined in
the result)</li>
+ <li>Setting requestDelay to smaller value(just for easier exploration) but using
<b>ignoreDupResponse</b> flag set to true
+ - reduces greatly DOM updates count.</li>
</ul>
<p>Also pay your attention to the queue definition. Such definition
(inside some form without a name) means that the queue options becomes
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/templates/includes/skin-chooser.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/templates/includes/skin-chooser.xhtml 2011-02-10
06:56:41 UTC (rev 21583)
+++
trunk/examples/richfaces-showcase/src/main/webapp/templates/includes/skin-chooser.xhtml 2011-02-10
09:35:53 UTC (rev 21584)
@@ -7,14 +7,11 @@
xmlns:rich="http://richfaces.org/rich">
<ui:composition>
- <ul id="skin-menu">
+ <ul id="skin-menu" class="layout">
<a4j:repeat var="skin" value="#{skinBean.skins}"
iterationStatusVar="iterStatus">
<li class="#{(skin==skinBean.skin) ? 'current-skin' :
''}"><h:link
- includeViewParams="true">
- <a4j:outputPanel>
- #{skin}
- </a4j:outputPanel>
+ includeViewParams="true"><a4j:outputPanel>#{skin}</a4j:outputPanel>
<f:param name="skin" value="#{skin}" />
</h:link></li>
</a4j:repeat>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml 2011-02-10
06:56:41 UTC (rev 21583)
+++ trunk/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml 2011-02-10
09:35:53 UTC (rev 21584)
@@ -26,7 +26,7 @@
<div id="header">
<a href="#" class="logo"><img
src="#{facesContext.externalContext.requestContextPath}/images/rf-logo.png"
alt="RF logo"/></a>
<div class="right-controls">
- <ul class="top-links">
+ <ul class="top-links layout">
<li><a
href="http://jboss.org/richfaces;jsessionid=bJJO_UTMPzC7DsTvo5vjKA&q...
target="_blank">Project Site</a></li>
<li><a
href="http://www.jboss.org/community/wiki/richfaceswikihomepage;jses...
target="_blank">Project Wiki</a></li>
<li><a
href="http://community.jboss.org/community/richfaces;jsessionid=bJJO...
target="_blank">RichFaces Community Space</a></li>