Author: dsvyatobatsko
Date: 2008-03-21 12:41:17 -0400 (Fri, 21 Mar 2008)
New Revision: 7070
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/usage.xhtml
Log:
[RF-2662] Demo site: corrections of Spacer demo layout
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml 2008-03-21
16:19:20 UTC (rev 7069)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml 2008-03-21
16:41:17 UTC (rev 7070)
@@ -4,16 +4,19 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-
+
<style>
- .div_near_spacer {
- height: 2px;
- border: 0px;
- font-size: 0px;
- background-color: #{a4jSkin.panelBorderColor};
- }
+ .div_near_spacer {
+ border-top-width: 0px;
+ border-left-width: 0px;
+ font-size: 0px;
+ border-bottom-width: 0px;
+ height: 2px;
+ background-color: #{a4jSkin.panelBorderColor};
+ border-right-width: 0px
+ }
</style>
-
+
<p>
There is a spacer 100x10<rich:spacer width="100" height="10"
title="Here is a spacer..."/>before this.
</p>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/usage.xhtml 2008-03-21
16:19:20 UTC (rev 7069)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/usage.xhtml 2008-03-21
16:41:17 UTC (rev 7070)
@@ -10,10 +10,17 @@
Spacer is a simple component that renders an invisible image with the given width,
height. Usually it is used to separate elements of page design.
</p>
- <ui:include src="/richfaces/spacer/examples/spacers.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/spacer/examples/spacers.xhtml"/>
- </ui:include>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Spacer example</legend>
+ <div class="sample-container">
+ <ui:include src="/richfaces/spacer/examples/spacers.xhtml"/>
+ <br/><br/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/spacer/examples/spacers.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
+
</ui:define>
</ui:composition>