Author: dsvyatobatsko
Date: 2008-03-26 14:42:33 -0400 (Wed, 26 Mar 2008)
New Revision: 7275
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dragSupport/examples/dnd.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dragSupport/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/tooltipUsage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/usage.xhtml
Log:
Demo site: drag-n-drop, tooltip demos layout correction
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dragSupport/examples/dnd.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dragSupport/examples/dnd.xhtml 2008-03-26
18:39:26 UTC (rev 7274)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dragSupport/examples/dnd.xhtml 2008-03-26
18:42:33 UTC (rev 7275)
@@ -15,6 +15,12 @@
.dropTargetPanel {
width: 90%;
}
+
+ .footerClass {
+ text-align: center;
+ padding-top: 5px;
+ }
+
</style>
<rich:dragIndicator id="indicator" />
@@ -28,7 +34,7 @@
<h:outputText value="Source List" />
</f:facet>
<h:dataTable id="src" columns="1"
value="#{dndBean.frameworks}"
- var="fm" >
+ var="fm" footerClass="footerClass">
<h:column>
<a4j:outputPanel style="width:100px;border:1px solid
gray;padding:2px"
@@ -40,7 +46,9 @@
<h:outputText value="#{fm.name}"></h:outputText>
</a4j:outputPanel>
</h:column>
-
+ <f:facet name="footer">
+ <a4j:commandButton action="#{dndBean.reset}" value="Start
Over" reRender="src,phptable,cftable,dnettable"/>
+ </f:facet>
</h:dataTable>
</rich:panel>
@@ -91,16 +99,9 @@
<h:outputText value="#{fm.name}"></h:outputText>
</h:column>
</h:dataTable>
-
-
</rich:panel>
+ </h:panelGrid>
-
-
-
- </h:panelGrid>
- <a4j:commandButton action="#{dndBean.reset}" value="Start Over"
- reRender="src,phptable,cftable,dnettable" />
</h:form>
<a4j:outputPanel ajaxRendered="true">
<h:messages></h:messages>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dragSupport/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dragSupport/usage.xhtml 2008-03-26
18:39:26 UTC (rev 7274)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dragSupport/usage.xhtml 2008-03-26
18:42:33 UTC (rev 7275)
@@ -41,16 +41,15 @@
Drag one and drag over the headers of three panels. If the draggable framework is
suitable for a certain
framework family, it will be accepted. Otherwise, the drag indicator shows the
"reject" icon.</p>
- <div class="sample-container">
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Drag-n-Drop example</legend>
+ <div class="sample-container">
<ui:include src="/richfaces/dragSupport/examples/dnd.xhtml"/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/dragSupport/examples/dnd.xhtml"/>
- <ui:param name="openlabel" value="View Page Source" />
- </ui:include>
-
- </div>
-
-
+ </ui:include>
+ </div>
+ </fieldset>
</ui:define>
</ui:composition>
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 2008-03-26
18:39:26 UTC (rev 7274)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/tooltipUsage.xhtml 2008-03-26
18:42:33 UTC (rev 7275)
@@ -13,10 +13,12 @@
}
.tooltip-text {
width:350px;
- height:65px;
+ height:80px;
cursor:arrow;
border-width:2px;
text-align:center;
+ display: table-cell;
+ vertical-align: middle;
}
.tooltipData {
font-weight: bold;
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/usage.xhtml 2008-03-26
18:39:26 UTC (rev 7274)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/usage.xhtml 2008-03-26
18:42:33 UTC (rev 7275)
@@ -19,15 +19,16 @@
<li>Parameters can be passed to the server during an ajax request</li>
<li>Tooltip <b>look is fully customizable</b> using both -
Richfaces skins and CSS style classes</li>
</ul>
-
- <div class="sample-container" >
-
- <ui:include src="/richfaces/toolTip/examples/tooltipUsage.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/toolTip/examples/tooltipUsage.xhtml"/>
- </ui:include>
-
- </div>
+
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">ToolTip example</legend>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/toolTip/examples/tooltipUsage.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/toolTip/examples/tooltipUsage.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
</ui:define>
</ui:composition>
Show replies by date