Author: dsvyatobatsko
Date: 2008-03-21 09:58:30 -0400 (Fri, 21 Mar 2008)
New Revision: 7049
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/cmenuusage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/mpusage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/example/menu.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/examples/topmenu.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelBar/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/treeNodesAdaptor/examples/recursiveAdaptor.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/treeNodesAdaptor/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml
Log:
Shotgun surgery: some marginal changes
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -15,7 +15,7 @@
<h:form>
- <h:panelGrid id="panel" columns="2" width="100%"
columnClasses="ecol1, ecol2">
+ <h:panelGrid id="panel" columns="2" columnClasses="ecol1,
ecol2">
<a4j:outputPanel id="calendar" layout="block">
<rich:calendar value="#{calendarBean.selectedDate}"
locale="#{calendarBean.locale}"
@@ -24,7 +24,6 @@
showApplyButton="#{calendarBean.showApply}"/>
</a4j:outputPanel>
-
<h:panelGrid columns="2">
<h:outputText value="Popup Mode:" />
<h:selectBooleanCheckbox value="#{calendarBean.popup}">
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/cmenuusage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/cmenuusage.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/cmenuusage.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -6,7 +6,10 @@
xmlns:rich="http://richfaces.org/rich" id="subview">
<style>
.cur{
- cursor:pointer;
+ cursor: pointer;
+ }
+ .top{
+ vertical-align: top;
}
</style>
<h:form id="form">
@@ -30,9 +33,9 @@
</rich:menuItem>
</rich:menuGroup>
</rich:contextMenu>
-
- <h:panelGrid columns="2">
-
+
+ <h:panelGrid columns="2" columnClasses="top, top">
+
<rich:dataTable value="#{dataTableScrollerBean.tenRandomCars}"
var="car" id="table"
onRowMouseOver="this.style.backgroundColor='#F8F8F8'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
rowClasses="cur">
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/mpusage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/mpusage.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/mpusage.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -23,6 +23,5 @@
<h:outputLink value="#" id="link">
Show Modal Panel
<rich:componentControl for="panel" attachTo="link"
operation="show" event="onclick"/>
- </h:outputLink>
- <br/><br/><br/>
+ </h:outputLink>
</f:subview>
\ No newline at end of file
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/example/menu.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/example/menu.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/example/menu.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -16,8 +16,6 @@
}
</style>
<h:panelGrid columns="1" columnClasses="cent">
-
- <h:outputText value="Perform right-click on the picture to call the menu"
style="font-weight:bold" id="label"/>
<h:panelGroup id="picture">
<h:graphicImage value="/richfaces/jQuery/images/pic1.jpg"
id="pic"/>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/usage.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/usage.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -37,7 +37,7 @@
<p>Context menu itself is an invisible panel
that appears after a particular client side event (onmouseover, onclick etc) occured
on a parent component.
The event is defined with an <b>event</b> attribute.</p>
- <p>
+ <p class="note">
<i><b>Note:</b> As you can see from the first example the component
could use "oncontextmenu" event to call the Menu on right click event.
But in this case the component should be called via
<b>componentControl</b> component (as it is shown at the second example)
rather than using a4j:support style.
If a4j:support style is used then many of the components don't encode this event
and also in case of support-like definition the component will not work properly.
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/examples/topmenu.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/examples/topmenu.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/examples/topmenu.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -53,7 +53,7 @@
</rich:dropDownMenu>
</rich:toolBar>
</h:form>
- <img src="images/spacer.gif" width="1" height="25"
alt="" border="0"/><br/>
+ <img src="images/spacer.gif" width="1" height="5"
alt="" border="0"/><br/>
<a4j:outputPanel ajaxRendered="true">
<h:outputText value="Current Selection: "></h:outputText>
<h:outputText style="font-weight:bold"
value="#{ddmenu.current}"></h:outputText>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/usage.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/usage.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -18,6 +18,7 @@
<div class="sample-container">
<ui:include src="/richfaces/dropDownMenu/examples/topmenu.xhtml"/>
+ <br/><br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/dropDownMenu/examples/topmenu.xhtml"/>
</ui:include>
@@ -39,6 +40,7 @@
You can place a block of drop down menus horizontally or vertially how it is shown
below. <br/><br/>
<ui:include src="/richfaces/dropDownMenu/examples/sidemenu.xhtml"/>
<br/><img src="images/spacer.gif" width="1"
height="25" alt="" border="0"/>
+ <br/><br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/dropDownMenu/examples/sidemenu.xhtml"/>
</ui:include>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel/usage.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel/usage.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -17,8 +17,9 @@
<div class="sample-container">
This line code invokes the modal panel:<br/>
<a href="javascript:Richfaces.showModalPanel('mp',{width:450,
top:200})">
- Richfaces.showModalPanel('mp',{width:450,
top:200})</a><br/><br/><br/>
+ Richfaces.showModalPanel('mp',{width:450,
top:200})</a><br/><br/>
<ui:include src="/richfaces/modalPanel/examples/simplePanel.xhtml"/>
+ <br/><br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/modalPanel/examples/simplePanel.xhtml"/>
<ui:param name="openlabel" value="View Page Source" />
@@ -33,6 +34,7 @@
<legend class="demo_legend">Example 2</legend>
<div class="sample-container">
<ui:include
src="/richfaces/componentControl/examples/mpusage.xhtml"/>
+ <br/><br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/componentControl/examples/mpusage.xhtml"/>
<ui:param name="openlabel" value="View Page Source" />
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/usage.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/usage.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -34,6 +34,7 @@
<div class="sample-container" >
<ui:include src="/richfaces/panel/examples/simplePanel.xhtml"/>
+ <br/><br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/panel/examples/simplePanel.xhtml"/>
</ui:include>
@@ -47,6 +48,7 @@
<div class="sample-container" >
<ui:include src="/richfaces/panel/examples/headlessPanel.xhtml"/>
+ <br/><br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/panel/examples/headlessPanel.xhtml"/>
</ui:include>
@@ -58,7 +60,9 @@
<div class="sample-container" >
The panels can be nested:
+ <br/><br/>
<ui:include src="/richfaces/panel/examples/nestedPanels.xhtml"/>
+ <br/><br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/panel/examples/nestedPanels.xhtml"/>
</ui:include>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelBar/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelBar/usage.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelBar/usage.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -18,6 +18,7 @@
<div class="sample-container" >
<ui:include src="/richfaces/panelBar/examples/example.xhtml"/>
+ <br/><br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/panelBar/examples/example.xhtml"/>
</ui:include>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/usage.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/usage.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -21,6 +21,7 @@
<legend class="demo_legend">Ajax switch type</legend>
<div class="sample-container">
<ui:include src="/richfaces/tree/examples/ajaxTree.xhtml"/>
+ <br/><br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/tree/examples/ajaxTree.xhtml"/>
</ui:include>
@@ -31,6 +32,7 @@
<div class="sample-container" >
<ui:include src="/richfaces/tree/examples/clientTree.xhtml"/>
+ <br/><br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/tree/examples/clientTree.xhtml"/>
</ui:include>
@@ -40,6 +42,7 @@
<legend class="demo_legend">Server switch type</legend>
<div class="sample-container" >
<ui:include src="/richfaces/tree/examples/serverTree.xhtml"/>
+ <br/><br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/tree/examples/serverTree.xhtml"/>
</ui:include>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/treeNodesAdaptor/examples/recursiveAdaptor.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/treeNodesAdaptor/examples/recursiveAdaptor.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/treeNodesAdaptor/examples/recursiveAdaptor.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -5,12 +5,10 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <rich:separator height="1" style="padding:10px 0" />
<h:form>
<rich:tree style="width:300px" switchType="ajax"
stateAdvisor="#{treeDemoStateAdvisor}">
<rich:recursiveTreeNodesAdaptor roots="#{fileSystemBean.sourceRoots}"
var="item" nodes="#{item.nodes}" />
</rich:tree>
</h:form>
- <rich:separator height="1" style="padding:10px 0" />
</ui:composition>
\ No newline at end of file
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/treeNodesAdaptor/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/treeNodesAdaptor/usage.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/treeNodesAdaptor/usage.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -26,24 +26,29 @@
<h:panelGroup rendered="#{not empty fileSystemBean.sourceRoots}">
<div class="sample-container" >
<ui:include
src="/richfaces/treeNodesAdaptor/examples/recursiveAdaptor.xhtml"/>
+ <br/><br/><br/><br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/treeNodesAdaptor/examples/recursiveAdaptor.xhtml"/>
- </ui:include>
+ </ui:include>
+ <br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/WEB-INF/src/org/richfaces/treemodeladaptor/FileSystemBean.java"/>
<ui:param name="openlabel" value="View FileSystemBean.java
Source" />
<ui:param name="sourcetype" value="java" />
- </ui:include>
+ </ui:include>
+ <br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/WEB-INF/src/org/richfaces/treemodeladaptor/FileSystemNode.java"/>
<ui:param name="openlabel" value="View FileSystemNode.java
Source" />
<ui:param name="sourcetype" value="java" />
- </ui:include>
+ </ui:include>
+ <br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/WEB-INF/src/org/richfaces/treemodeladaptor/PostbackPhaseListener.java"/>
<ui:param name="openlabel" value="View
PostbackPhaseListener.java Source" />
<ui:param name="sourcetype" value="java" />
- </ui:include>
+ </ui:include>
+ <br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/WEB-INF/src/org/richfaces/treemodeladaptor/TreeDemoStateAdvisor.java"/>
<ui:param name="openlabel" value="View TreeDemoStateAdvisor.java
Source" />
Modified: trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml 2008-03-21
13:47:32 UTC (rev 7048)
+++
trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml 2008-03-21
13:58:30 UTC (rev 7049)
@@ -6,7 +6,6 @@
xmlns:rich="http://richfaces.org/rich">
<ui:composition>
- <br/><br/>
<script>
//<![CDATA[
Effect.Transitions.exponential = function(pos) {