Author: SergeySmirnov
Date: 2007-09-07 15:22:59 -0400 (Fri, 07 Sep 2007)
New Revision: 2819
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/tooltipUsage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml
Log:
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/usage.xhtml 2007-09-07
17:12:50 UTC (rev 2818)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/usage.xhtml 2007-09-07
19:22:59 UTC (rev 2819)
@@ -16,8 +16,7 @@
<li>resizing of columns by the mouse dragging the column bar;</li>
<li>sorting of columns by clicking the header;</li>
<li>fixing of one or more left columns when a table is scrolled
horizontally;</li>
- <li>one and multi-selection rows mode;</li>
- <li>built-it drag-n-drop support;</li>
+ <li>one and multi-selection rows mode;</li>
<li>customization of table look-n-fill from skin parameters</li>
<li>customizing the table look-n-fill from skin parameters</li>
</ul>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/tooltipUsage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/tooltipUsage.xhtml 2007-09-07
17:12:50 UTC (rev 2818)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/tooltipUsage.xhtml 2007-09-07
19:22:59 UTC (rev 2819)
@@ -7,13 +7,13 @@
<style>
.tooltip {
- background-color:#{a4jSkin.generalBackgroundColor};
+ background-color:#{richSkin.generalBackgroundColor};
border-width:3px;
padding:10px;
}
.tooltip-text {
width:350px;
- height:75px;
+ height:65px;
cursor:arrow;
border-width:2px;
text-align:center;
@@ -37,13 +37,15 @@
</rich:panel>
<rich:panel id="sample2" styleClass="tooltip-text">
<rich:toolTip followMouse="true" direction="top-right"
delay="500" styleClass="tooltip" style="width:250px">
- <span>
- This tool-tip content also <strong>pre-rendered</strong> to the page.
- However, the look of this tool-tip is customized by styleClass attribute.
+ <span style="white-space:nowrap">
+ This tool-tip content also <strong>pre-rendered</strong> to the
page.<br/>
+ However, the look of this tool-tip is customized<br/>
+ by styleClass attribute.
</span>
</rich:toolTip>
<p>
- This tool-tip will <b>follow mouse</b>. Also this tool-tip has a
<b>delay 0.5 sec</b>, so be patient!
+ This tool-tip will <b>follow mouse</b>. Also this tool-tip has a
<b>delay 0.5 sec</b>,
+ so be patient!
</p>
</rich:panel>
<h:form>
@@ -52,9 +54,10 @@
<f:facet name="defaultContent">
<strong>Wait...</strong>
</f:facet>
- <span >This tool-tip content was <strong>rendered on server</strong>
</span>
+ <span style="white-space:nowrap">This tool-tip content was
<strong>rendered on server</strong>
+ </span>
<h:panelGrid columns="2">
- <h:outputText value="tooltips requested:" />
+ <h:outputText style="white-space:nowrap" value="tooltips
requested:" />
<h:outputText value="#{toolTipData.tooltipCounter}"
styleClass="tooltipData" />
</h:panelGrid>
</rich:toolTip>
@@ -69,9 +72,9 @@
<f:facet name="defaultContent">
<strong>Wait...</strong>
</f:facet>
- <span >This tool-tip content was <strong>rendered on server</strong>
</span>
+ <span style="white-space:nowrap">This tool-tip content was
<strong>rendered on server</strong><br/></span>
<h:panelGrid columns="2">
- <h:outputText value="tooltips requested:" />
+ <h:outputText style="white-space:nowrap" value="tooltips
requested:" />
<h:outputText value="#{toolTipData.tooltipCounter}"
styleClass="tooltipData" />
</h:panelGrid>
</rich:toolTip>
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 2007-09-07
17:12:50 UTC (rev 2818)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml 2007-09-07
19:22:59 UTC (rev 2819)
@@ -8,7 +8,7 @@
<style>
.tooltip {
background-color:#{a4jSkin.generalBackgroundColor};
- border-width:3px;
+ border-width:1px;
padding:10px;
}
.tooltipData {
@@ -45,13 +45,13 @@
<h:outputText value="Make"/>
</f:facet>
<h:outputText id="make" value="#{vehicle.make}" >
- <rich:toolTip direction="top-right" mode="ajax"
delay="1000" styleClass="tooltip" immediate="true"
layout="block">
+ <rich:toolTip direction="top-right" mode="ajax"
delay="30" styleClass="tooltip" immediate="true"
layout="block">
<a4j:actionparam name="key" value="#{row}"
assignTo="#{toolTipData.currentVehicleIndex}" />
- <f:facet name="defaultContent">
- <strong>Wait please, content is loading...</strong>
- </f:facet>
- <span>Vehicle details:</span>
- <h:panelGrid columns="2">
+
+ <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:" />
@@ -62,12 +62,17 @@
<h:outputText value="#{vehicle.milage}"
styleClass="tooltipData" />
<h:outputText value="zip:" />
<h:outputText value="#{vehicle.zip}" styleClass="tooltipData"
/>
- <h:outputText value="vin:" />
- <h:outputText value="#{vehicle.vin}" 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>
Show replies by date