Author: ilya_shaikovsky
Date: 2010-11-03 05:10:45 -0400 (Wed, 03 Nov 2010)
New Revision: 19907
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/tooltip/samples/tooltip-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/tree/samples/tree-sample.xhtml
Log:
layout corrections
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/tooltip/samples/tooltip-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/tooltip/samples/tooltip-sample.xhtml 2010-11-03
09:05:36 UTC (rev 19906)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/tooltip/samples/tooltip-sample.xhtml 2010-11-03
09:10:45 UTC (rev 19907)
@@ -7,21 +7,10 @@
xmlns:rich="http://richfaces.org/rich">
<style>
.tooltip {
- background-color: #{ richSkin.generalBackgroundColor
+ background-color: #{ richSkin.generalBackgroundColor};
+ border-width:3px;
+ padding:10px;
}
-
-;
-border-width
-:
-3px;
-
-
-padding
-:
-10px;
-
-
-}
.tooltip-custom-body {
background-color: orange;
}
@@ -45,7 +34,7 @@
<rich:panel id="sample1" styleClass="tooltip-text"
bodyClass="rich-laguna-panel-no-header">
<p>Here you can see <b>default client-side</b> tool-tip</p>
- <rich:tooltip id="tt1">
+ <rich:tooltip id="tt1" styleClass="tooltip">
<span style="white-space: nowrap"> This tool-tip content was
<strong>pre-rendered</strong> to the page.<br />
Also the tooltip following mouse by default </span>
@@ -56,7 +45,7 @@
<p>This tool-tip will not <b>follow mouse</b>. Also this tool-tip
has a <b>delay 1.5 sec</b>, so be patient!</p>
<rich:tooltip followMouse="false" showDelay="1500"
- bodyClass="tooltip-custom-body" styleClass="qqq">
+ styleClass="tooltip-custom-body">
<span style="white-space: nowrap"> This tool-tip content also
<strong>pre-rendered</strong> to the page.<br />
</span>
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/tree/samples/tree-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/tree/samples/tree-sample.xhtml 2010-11-03
09:05:36 UTC (rev 19906)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/tree/samples/tree-sample.xhtml 2010-11-03
09:10:45 UTC (rev 19907)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-<h:form>
+
<rich:tree id="tree" nodeType="#{node.type}"
var="node"
value="#{treeBean.rootNodes}" toggleType="client">
<rich:treeNode type="country">
@@ -18,6 +18,4 @@
#{node.artist} - #{node.title}
</rich:treeNode>
</rich:tree>
- <a4j:commandButton execute="@all"
render="@all"></a4j:commandButton>
-</h:form>
</ui:composition>
\ No newline at end of file