Author: artdaw
Date: 2011-03-28 07:54:33 -0400 (Mon, 28 Mar 2011)
New Revision: 22321
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/components/sh/SyntaxHighlighter.java
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/accordion/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/ajax/selectsUpdates.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/autocomplete/samples/clientFilter-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/calendar-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/clientStylingDisablement-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/dataModel-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsfValidators-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsr303-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/collapsiblePanel/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandButton/samples/commandButton-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandLink/samples/commandLink-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/componentControl/samples/tableFilteringAPI-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataGrid/samples/grid-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/dataScrollerAPI-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/simpleScrolling-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableSorting-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableStyling-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/fileUpload/samples/imgUpload-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/graphValidator/samples/passwordValidation-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/jquery/samples/jquery-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/flashUsage-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/imgUsage-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/lookCustomization-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/samples/panelMenu-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/progressBar/samples/clientProgressBar-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/queue/samples/queue-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/samples/simpleGrid-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/standardSkinning/standardSkinning.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/referencedusage-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/viewusage-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tabPanel/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBar-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBarIcons-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tooltip/samples/tooltip-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tree/samples/tree-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/includes/source-view.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml
Log:
RF-10810: w3c validation errors are fixed for RichFaces Showcase
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/components/sh/SyntaxHighlighter.java
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/components/sh/SyntaxHighlighter.java 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/components/sh/SyntaxHighlighter.java 2011-03-28
11:54:33 UTC (rev 22321)
@@ -1,8 +1,6 @@
package org.richfaces.demo.components.sh;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
+import org.ajax4jsf.javascript.JSFunction;
import javax.faces.FacesException;
import javax.faces.application.ResourceDependencies;
@@ -12,9 +10,10 @@
import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
-import org.ajax4jsf.javascript.JSFunction;
-
@FacesComponent(value = "syntaxHighlighter")
@ResourceDependencies({ @ResourceDependency(library = "js", name =
"shCore.js"),
@ResourceDependency(name = "jquery.js"),
@@ -87,6 +86,7 @@
writer.endElement("pre");
JSFunction function = new JSFunction("SyntaxHighlighter.all");
writer.startElement("script", null);
+ writer.writeAttribute("type", "text/javascript", null);
writer.write("var brs = $('#" +
this.getClientId(context).replaceAll(":", "\\\\\\\\:") +
"').find('br');");
writer.write("brs.length && brs.replaceWith('\\n');");
writer.write(function.toScript());
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/accordion/samples/simple-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/accordion/samples/simple-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/accordion/samples/simple-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,19 +5,20 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
-.rf-ac{
- width: 500px;
-}
-.rf-ac-itm-c {
- height: 220px;
-}
-</style>
+ <h:outputStylesheet>
+ .rf-ac {
+ width: 500px;
+ }
+
+ .rf-ac-itm-c {
+ height: 220px;
+ }
+ </h:outputStylesheet>
<h:form>
<rich:accordion switchType="client">
<rich:accordionItem header="Overview:">
<h:graphicImage value="/images/icons/common/rf.png"
- style="float:right" />
+ style="float:right" alt="rf"/>
RichFaces is a component library for JSF and an advanced framework for
easily integrating AJAX capabilities into business applications.
<ul>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/ajax/selectsUpdates.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/ajax/selectsUpdates.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/ajax/selectsUpdates.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j">
<ui:composition>
- <p>This is a slightly more complex use-case for <b>arj:ajax</b>
involving
+ <p>This is a slightly more complex use-case for <b>a4j:ajax</b>
involving
dependent select components. When you choose a value from the first select
component, the second select component is rendered with dynamic content
based on you first choice. </p>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/autocomplete/samples/clientFilter-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/autocomplete/samples/clientFilter-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/autocomplete/samples/clientFilter-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,14 +5,14 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <script>
+ <h:outputScript>
function customFilter(subString, value){
if(subString.length>=1) {
if(value.indexOf(subString)!=-1)
return true;
}else return false;
};
- </script>
+ </h:outputScript>
<h:form>
<rich:autocomplete mode="client" minChars="0"
autofill="false"
clientFilterFunction="customFilter"
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/calendar-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/calendar-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/calendar-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,22 +5,22 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style type="text/css">
-.ecol1 {
- vertical-align: top;
- padding-right: 25px
-}
+ <h:outputStylesheet>
+ .ecol1 {
+ vertical-align: top;
+ padding-right: 25px
+ }
-.ecol2 {
- vertical-align: top;
- border-left: #ACBECE 1px solid;
- padding-left: 10px
-}
+ .ecol2 {
+ vertical-align: top;
+ border-left: #ACBECE 1px solid;
+ padding-left: 10px
+ }
-.rich-calendar-tool-btn {
- font-family: Arial, Verdana;
-}
-</style>
+ .rich-calendar-tool-btn {
+ font-family: Arial, Verdana;
+ }
+ </h:outputStylesheet>
<h:form>
<h:panelGrid id="panel" columns="2" columnClasses="ecol1,
ecol2">
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/clientStylingDisablement-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/clientStylingDisablement-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/clientStylingDisablement-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,17 +5,17 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
-.everyThirdDay {
- background-color: gray;
-}
+ <h:outputStylesheet>
+ .everyThirdDay {
+ background-color: gray;
+ }
-.weekendBold {
- font-weight: bold;
- font-style: italic;
-}
-</style>
- <script type="text/javascript">
+ .weekendBold {
+ font-weight: bold;
+ font-style: italic;
+ }
+ </h:outputStylesheet>
+ <h:outputScript>
var curDt = new Date();
function disablementFunction(day){
if (day.isWeekend) return false;
@@ -31,7 +31,7 @@
if (day.day%3==0) res+='everyThirdDay';
return res;
}
- </script>
+ </h:outputScript>
<rich:calendar dayDisableFunction="disablementFunction"
dayClassFunction="disabledClassesProv" boundaryDatesMode="scroll"
/>
</ui:composition>
\ No newline at end of file
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/dataModel-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/dataModel-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/dataModel-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,16 +5,16 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
-.bdc {
- background-color: gray;
-}
+ <h:outputStylesheet>
+ .bdc {
+ background-color: gray;
+ }
-.wdc {
- font-weight: bold;
- font-style: italic;
-}
-</style>
+ .wdc {
+ font-weight: bold;
+ font-style: italic;
+ }
+ </h:outputStylesheet>
<h:form>
<rich:calendar mode="ajax" boundaryDatesMode="scroll"
dataModel="#{calendarModel}" />
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsfValidators-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsfValidators-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsfValidators-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -12,7 +12,7 @@
<h:outputText value="User information" />
<a4j:status>
<f:facet name="start">
- <h:graphicImage value="/images/ai.gif"
style="height:12px;width:12px;"/>
+ <h:graphicImage value="/images/ai.gif"
style="height:12px;width:12px;" alt="ai"/>
</f:facet>
</a4j:status>
</h:panelGroup>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsr303-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsr303-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsr303-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -12,7 +12,7 @@
<h:outputText value="User information" />
<a4j:status>
<f:facet name="start">
- <h:graphicImage value="/images/ai.gif" alt=""
style="height:12px;width:12px;"/>
+ <h:graphicImage value="/images/ai.gif" alt="ai"
style="height:12px;width:12px;"/>
</f:facet>
</a4j:status>
</h:panelGroup>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/collapsiblePanel/samples/simple-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/collapsiblePanel/samples/simple-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/collapsiblePanel/samples/simple-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -10,7 +10,7 @@
<rich:collapsiblePanel header="Overview" switchType="client">
<h:graphicImage value="/images/icons/common/rf.png"
- style="float:right" />
+ style="float:right" alt="rf" />
RichFaces is a component library for JSF and an advanced framework for
easily integrating AJAX capabilities into business applications.
<ul>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandButton/samples/commandButton-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandButton/samples/commandButton-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandButton/samples/commandButton-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,11 +5,11 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
-.outhello {
- font-weight: bold;
-}
-</style>
+ <h:outputStylesheet>
+ .outhello {
+ font-weight: bold;
+ }
+ </h:outputStylesheet>
<h:form>
<h:panelGrid columns="3">
<h:outputText value="Name:" />
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandLink/samples/commandLink-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandLink/samples/commandLink-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandLink/samples/commandLink-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,12 +5,12 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
-.outhello {
- font-weight: bold;
-}
-</style>
- <h:form>
+ <h:outputStylesheet>
+ .outhello {
+ font-weight: bold;
+ }
+ </h:outputStylesheet>
+ <h:form>
<h:panelGrid columns="3">
<h:outputText value="Name:" />
<h:inputText value="#{userBean.name}" />
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -8,11 +8,11 @@
<ui:composition template="/templates/main.xhtml">
<ui:define name="body">
- <style>
+ <h:outputStylesheet>
.navigation .rf-tab-hdr-brd,.navigation .rf-tab {
display: none;
}
-</style>
+</h:outputStylesheet>
<rich:tabPanel switchType="client" styleClass="navigation"
activeItem="#{demoNavigator.currentSample.id}"
onbeforeitemchange="return false;">
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/componentControl/samples/tableFilteringAPI-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/componentControl/samples/tableFilteringAPI-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/componentControl/samples/tableFilteringAPI-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -6,11 +6,11 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:fn="http://java.sun.com/jsp/jstl/functions">
- <style>
-.atop {
- vertical-align: top;
-}
-</style>
+ <h:outputStylesheet>
+ .atop {
+ vertical-align: top;
+ }
+ </h:outputStylesheet>
<h:form id="form">
<h:panelGrid columns="2" columnClasses="atop">
<rich:panel>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataGrid/samples/grid-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataGrid/samples/grid-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataGrid/samples/grid-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.label {
font-weight: bold;
}
@@ -15,7 +15,7 @@
.pbody {
width: 180px;
}
-</style>
+</h:outputStylesheet>
<rich:panel>
<f:facet name="header">
<h:outputText value="Car Store"></h:outputText>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/dataScrollerAPI-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/dataScrollerAPI-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/dataScrollerAPI-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,22 +5,22 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.calign {
text-align: center;
}
-</style>
+</h:outputStylesheet>
<h:form id="form">
<h:panelGrid columns="1" rowClasses="calign">
<h:panelGrid columns="3" id="repeat">
<h:graphicImage value="/images/icons/scroller/arr_left.png"
- onclick="#{rich:component('ds')}.previous()" />
+ onclick="#{rich:component('ds')}.previous()"
alt="arr_left"/>
<a4j:repeat rows="3" value="#{slidesBean.pictures}"
var="pic"
id="pics">
- <h:graphicImage value="#{pic.uri}" style=""
width="175"/>
+ <h:graphicImage value="#{pic.uri}" style=""
width="175" alt="uri"/>
</a4j:repeat>
<h:graphicImage value="/images/icons/scroller/arr_right.png"
- onclick="#{rich:component('ds')}.next()" />
+ onclick="#{rich:component('ds')}.next()"
alt="arr_right"/>
</h:panelGrid>
<rich:dataScroller for="pics" id="ds"
render="repeat"
stepControls="hide" boundaryControls="hide"
fastControls="hide"
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/simpleScrolling-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/simpleScrolling-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/simpleScrolling-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,14 +5,14 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-<style>
+<h:outputStylesheet>
.rf-dt{
width:400px;
}
.acent{
text-align: center;
}
-</style>
+</h:outputStylesheet>
<h:form id="form">
<h:panelGrid columnClasses="acent">
<rich:dataScroller for="table" maxPages="5" />
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -6,11 +6,11 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
a.no-decor>img {
border: none;
}
-</style>
+</h:outputStylesheet>
<a4j:status onstart="#{rich:component('statPane')}.show()"
onstop="#{rich:component('statPane')}.hide()" />
<h:form id="form">
@@ -43,13 +43,13 @@
<rich:column>
<a4j:commandLink styleClass="no-decor" execute="@this"
render="@none"
oncomplete="#{rich:component('confirmPane')}.show()">
- <h:graphicImage value="/images/icons/delete.gif" />
+ <h:graphicImage value="/images/icons/delete.gif" alt="delete"
/>
<a4j:param value="#{it.index}"
assignTo="#{carsBean.currentCarIndex}" />
</a4j:commandLink>
<a4j:commandLink styleClass="no-decor" render="editGrid"
execute="@this"
oncomplete="#{rich:component('editPane')}.show()">
- <h:graphicImage value="/images/icons/edit.gif" />
+ <h:graphicImage value="/images/icons/edit.gif"
alt="edit"/>
<a4j:param value="#{it.index}"
assignTo="#{carsBean.currentCarIndex}" />
<f:setPropertyActionListener target="#{carsBean.editedCar}"
@@ -66,7 +66,7 @@
oncomplete="#{rich:component('confirmPane')}.hide();" />
<rich:popupPanel id="statPane" autosized="true">
- <h:graphicImage value="/images/ai.gif" />
+ <h:graphicImage value="/images/ai.gif" alt="ai" />
Please wait...
</rich:popupPanel>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableSorting-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableSorting-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableSorting-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -11,7 +11,7 @@
<f:facet name="header">
State Flag
</f:facet>
- <h:graphicImage value="#{cap.stateFlag}" />
+ <h:graphicImage value="#{cap.stateFlag}" alt="flag" />
</rich:column>
<rich:column sortBy="#{cap.name}" id="name"
sortOrder="#{capitalsSortingBean.capitalsOrder}">
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableStyling-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableStyling-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableStyling-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.even-row {
background-color: #FCFFFE;
}
@@ -18,7 +18,7 @@
background-color: #FFEBDA !important;
cursor: pointer;
}
-</style>
+</h:outputStylesheet>
<h:form id="form">
<rich:dataTable value="#{carsBean.allInventoryItems}" var="car"
id="table" rows="20" rowClasses="odd-row, even-row"
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.panelc { width:25%; }
.valign { vertical-align:top; }
.dropTargetPanel { width: 90%; }
@@ -40,7 +40,7 @@
background-position: 5px;
background-repeat: no-repeat;
}
- </style>
+ </h:outputStylesheet>
<rich:dragIndicator id="ind" acceptClass="accept"
rejectClass="reject" draggingClass="default">
Drag the item to proper area..
</rich:dragIndicator>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -7,7 +7,7 @@
xmlns:rich="http://richfaces.org/rich">
<ui:composition>
- <style>
+ <h:outputStylesheet>
.optionList {
height: 22px;
}
@@ -15,7 +15,7 @@
.vertical-menu-cell {
padding: 0px 4px 0px 4px;
}
-</style>
+</h:outputStylesheet>
<h:panelGrid styleClass="vertical-menu-cell"
columnClasses="optionList"
columns="1" cellspacing="0" cellpadding="0">
<rich:dropDownMenu
@@ -24,7 +24,7 @@
<rich:menuItem label="Suboption 1-1" />
<rich:menuItem label="Suboption 1-2">
<f:facet name="icon">
- <h:graphicImage value="/images/icons/print.gif" />
+ <h:graphicImage value="/images/icons/print.gif"
alt="print"/>
</f:facet>
</rich:menuItem>
<rich:menuItem label="Suboption 1-3" />
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -8,7 +8,7 @@
<ui:composition>
- <style>
+ <h:outputStylesheet>
.pic {
margin-bottom: -4px;
margin-right: 2px;
@@ -20,14 +20,14 @@
border-color: transparent;
cursor: default;
}
-</style>
+</h:outputStylesheet>
<h:form>
<rich:toolbar height="26px">
<rich:dropDownMenu mode="ajax">
<f:facet name="label">
<h:panelGroup>
- <h:graphicImage value="/images/icons/copy.gif"
styleClass="pic" />
+ <h:graphicImage value="/images/icons/copy.gif"
styleClass="pic" alt="copy" />
<h:outputText value="File" />
</h:panelGroup>
</f:facet>
@@ -42,7 +42,7 @@
<rich:menuItem label="Save All"
action="#{dropDownMenuBean.doSaveAll}">
<f:facet name="icon">
- <h:graphicImage value="/images/icons/save_all.gif" />
+ <h:graphicImage value="/images/icons/save_all.gif"
alt="save_all"/>
</f:facet>
</rich:menuItem>
</rich:menuGroup>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/fileUpload/samples/imgUpload-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/fileUpload/samples/imgUpload-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/fileUpload/samples/imgUpload-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -8,7 +8,7 @@
<ui:composition>
- <style>
+ <h:outputStylesheet>
.top {
vertical-align: top;
}
@@ -17,14 +17,14 @@
height: 202px;
overflow: auto;
}
-</style>
+</h:outputStylesheet>
<h:form>
<h:panelGrid columns="2" columnClasses="top,top">
<rich:fileUpload fileUploadListener="#{fileUploadBean.listener}"
id="upload" acceptedTypes="jpg, gif, png, bmp">
<a4j:ajax event="uploadcomplete" execute="@none"
render="info" />
</rich:fileUpload>
- <h:panelGroup id="info">
+ <h:panelGroup id="info" layout="block">
<rich:panel bodyClass="info">
<f:facet name="header">
<h:outputText value="Uploaded Files Info" />
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/graphValidator/samples/passwordValidation-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/graphValidator/samples/passwordValidation-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/graphValidator/samples/passwordValidation-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.red {
color: red;
}
@@ -14,7 +14,7 @@
.green {
color: green;
}
-</style>
+</h:outputStylesheet>
<h:form>
<rich:graphValidator value="#{passwordValidationBean}"
id="gv">
<rich:panel header="Change password" style="width:500px">
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/jquery/samples/jquery-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/jquery/samples/jquery-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/jquery/samples/jquery-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style type="text/css">
+ <h:outputStylesheet>
.pic-normal {
width: 120px;
border: 2px solid #ACBECE;
@@ -16,21 +16,21 @@
height: 130px;
float: left;
}
-</style>
+</h:outputStylesheet>
<br />
<a4j:outputPanel id="gallery">
- <h:graphicImage value="/images/nature/pic1.jpg" />
- <h:graphicImage value="/images/nature/pic2.jpg" />
- <h:graphicImage value="/images/nature/pic3.jpg" />
- <h:graphicImage value="/images/nature/pic4.jpg" />
- <h:graphicImage value="/images/nature/pic5.jpg" />
- <h:graphicImage value="/images/nature/pic6.jpg" />
- <h:graphicImage value="/images/nature/pic7.jpg" />
- <h:graphicImage value="/images/nature/pic8.jpg" />
- <h:graphicImage value="/images/nature/pic9.jpg" />
+ <h:graphicImage value="/images/nature/pic1.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic2.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic3.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic4.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic5.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic6.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic7.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic8.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic9.jpg" alt="pic" />
</a4j:outputPanel>
<br style="clear: both" />
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/flashUsage-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/flashUsage-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/flashUsage-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -21,12 +21,12 @@
alt="Get Adobe Flash player" /> </a>
</a4j:outputPanel>
- <script type="text/javascript">
+ <h:outputScript>
var flashvars = {};
var params = {};
var attributes = {};
swfobject.embedSWF(document.getElementById('page:swfLink').href,
document.getElementById('myFlashContent'), "200", "200",
"9.0.0", false, flashvars, params, attributes);
- </script>
+ </h:outputScript>
</a4j:outputPanel>
</ui:composition>
\ No newline at end of file
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/imgUsage-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/imgUsage-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/imgUsage-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -37,6 +37,6 @@
</h:panelGrid>
<a4j:mediaOutput element="img" cacheable="false"
session="true" id="img"
createContent="#{mediaBean.process}" value="#{mediaData}"
- mimeType="image/jpeg" />
+ mimeType="image/jpeg" alt="img" />
</h:form>
</ui:composition>
\ No newline at end of file
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -19,7 +19,7 @@
</h:inputText>
<h:outputText value="Address:" />
<h:inputTextarea value="#{userBean.address}" label="Address"
- required="true">
+ required="true" rows="3" cols="17">
<f:validateLength maximum="100" />
</h:inputTextarea>
</h:panelGrid>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/simple-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/simple-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/simple-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,14 +5,14 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style type="text/css">
+ <h:outputStylesheet>
.col {
width: 50%;
padding: 10px;
padding: 0px 30px 0px 0px;
vertical-align: top;
}
-</style>
+</h:outputStylesheet>
<h:panelGrid columns="2" width="100%"
columnClasses="col">
<f:verbatim>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/lookCustomization-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/lookCustomization-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/lookCustomization-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.rf-panel-header {
color: #0054BD;
}
@@ -33,7 +33,7 @@
height: 100px;
overflow: auto;
}
-</style>
+</h:outputStylesheet>
<h:panelGrid columnClasses="panel" border="0"
columns="2">
<rich:panel>
<f:facet name="header">
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/simple-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/simple-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/simple-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -7,7 +7,7 @@
xmlns:rich="http://richfaces.org/rich">
<rich:panel header="Panel with default Look-n-feel">
<h:graphicImage value="/images/icons/common/rf.png"
- style="float:right" />
+ style="float:right" alt="rf"/>
RichFaces is a component library for JSF and an advanced framework for
easily integrating AJAX capabilities into business applications.
<ul>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/samples/panelMenu-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/samples/panelMenu-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/samples/panelMenu-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,11 +5,11 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.cols {
vertical-align: top;
}
-</style>
+</h:outputStylesheet>
<h:form id="form">
<h:panelGrid columns="2" columnClasses="cols,cols"
width="400">
<rich:panelMenu style="width:200px" itemMode="ajax"
groupMode="ajax"
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/progressBar/samples/clientProgressBar-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/progressBar/samples/clientProgressBar-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/progressBar/samples/clientProgressBar-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,34 +5,34 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <script>
-//<![CDATA[
- var counter = 1;
- var intervalID;
- function updateProgress(i) {
- #{rich:component('progressBar')}.setValue(counter*5);
- if ((counter++)>20){
- clearInterval(intervalID);
+ <h:outputScript>
+//<![CDATA[
+ var counter = 1;
+ var intervalID;
+ function updateProgress(i) {
+ #{rich:component('progressBar')}.setValue(counter*5);
+ if ((counter++)>20){
+ clearInterval(intervalID);
#{rich:element('start')}.disabled=false;
#{rich:element('pause')}.disabled=true;
- counter=1;
- }
- }
- function startProgress(){
+ counter=1;
+ }
+ }
+ function startProgress(){
#{rich:element('start')}.disabled=true;
#{rich:element('pause')}.disabled=false;
- #{rich:component('progressBar')}.enable();
- #{rich:component('progressBar')}.setValue(counter*5);
- intervalID = setInterval(updateProgress,2000);
+ #{rich:component('progressBar')}.enable();
+ #{rich:component('progressBar')}.setValue(counter*5);
+ intervalID = setInterval(updateProgress,2000);
}
function pauseProgress(){
#{rich:element('start')}.disabled=false;
#{rich:element('pause')}.disabled=true;
#{rich:component('progressBar')}.disable();
clearInterval(intervalID);
- }
-//]]>
- </script>
+ }
+//]]>
+ </h:outputScript>
<h:form id="form2">
<rich:progressBar mode="client" id="progressBar"
value="-1">
<f:facet name="initial">
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/queue/samples/queue-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/queue/samples/queue-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/queue/samples/queue-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -44,7 +44,7 @@
</h:panelGrid>
</h:form>
</rich:panel>
- <script type="text/javascript">
+ <h:outputScript>
var events = 0;
var updates = 0;
var outEvents = #{rich:element('events')};
@@ -67,5 +67,5 @@
outUpdates.innerHTML=updates;
outRequests.innerHTML=requests;
}
- </script>
+ </h:outputScript>
</ui:composition>
\ No newline at end of file
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/samples/simpleGrid-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/samples/simpleGrid-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/samples/simpleGrid-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -13,7 +13,7 @@
<rich:panel style="float:left; width:200px; padding:5px;">
<f:facet name="header">
<h:panelGroup>
- <h:graphicImage value="#{cap.stateFlag}" />
+ <h:graphicImage value="#{cap.stateFlag}" alt="flag" />
<h:outputText value="#{cap.state}"
style="font-weight:bold" />
</h:panelGroup>
</f:facet>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/standardSkinning/standardSkinning.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/standardSkinning/standardSkinning.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/standardSkinning/standardSkinning.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -51,7 +51,7 @@
<h:outputText value="Enter Name:" />
<h:inputText id="input" />
<h:outputText value="Enter you interests:" />
- <h:inputTextarea />
+ <h:inputTextarea cols="17" rows="3"/>
<h:outputText value="Choose your favourite color" />
<h:selectOneMenu>
<f:selectItem itemLabel="Red" itemValue="0" />
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/referencedusage-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/referencedusage-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/referencedusage-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -19,7 +19,7 @@
<a4j:status name="nameStatus">
<f:facet name="start">
<h:graphicImage value="/images/ai.gif"
- style="width:16px; height:16px;" />
+ style="width:16px; height:16px;" alt="ai" />
</f:facet>
</a4j:status>
<h:outputText value="Adress:" />
@@ -29,7 +29,7 @@
<a4j:status name="adressStatus">
<f:facet name="start">
<h:graphicImage value="/images/ai.gif"
- style="width:16px; height:16px;" />
+ style="width:16px; height:16px;" alt="ai" />
</f:facet>
</a4j:status>
</h:panelGrid>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/simple-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/simple-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/simple-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -21,7 +21,7 @@
</h:panelGrid>
<a4j:status>
<f:facet name="start">
- <h:graphicImage value="/images/ai.gif" />
+ <h:graphicImage value="/images/ai.gif" alt="ai" />
</f:facet>
</a4j:status>
</h:panelGrid>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/viewusage-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/viewusage-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/viewusage-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -37,7 +37,7 @@
</h:form>
<a4j:status>
<f:facet name="start">
- <h:graphicImage value="/images/ai.gif" />
+ <h:graphicImage value="/images/ai.gif" alt="ai"/>
</f:facet>
</a4j:status>
</h:panelGrid>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tabPanel/samples/simple-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tabPanel/samples/simple-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tabPanel/samples/simple-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -10,7 +10,7 @@
<rich:tabPanel switchType="client">
<rich:tab header="Overview">
<h:graphicImage value="/images/icons/common/rf.png"
- style="float:right" />
+ style="float:right" alt="rf" />
RichFaces is a component library for JSF and an advanced framework for
easily integrating AJAX capabilities into business applications.
<ul>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/simple-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/simple-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/simple-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style type="text/css">
+ <h:outputStylesheet>
.rf-tgp-itm {
border: 1px solid #{richSkin.panelBorderColor};
padding: 5px;
@@ -19,7 +19,7 @@
padding-left: 5px;
float: left;
}
- </style>
+ </h:outputStylesheet>
<h:form>
<rich:togglePanel id="panel1" activeItem="item1"
render="tabs" itemChangeListener="#{panelMenuBean.updateCurrent}">
<rich:togglePanelItem name="item1">
@@ -48,6 +48,5 @@
style="#{rich:findComponent('panel1').activeItem == 'item2' ?
'font-weight:bold' : 'font-weight:normal'}" />
</a4j:outputPanel>
</a4j:outputPanel>
- <br clear="both"/>
</h:form>
</ui:composition>
\ No newline at end of file
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style type="text/css">
+ <h:outputStylesheet>
.col1 { vertical-align:top; }
.col2 { vertical-align:top; width:450px; }
.wizard { width:400px; }
@@ -24,7 +24,7 @@
padding:2px;
}
- </style>
+ </h:outputStylesheet>
<br/>
<h:panelGrid width="100%" columns="2"
columnClasses="col1,col2">
<rich:panel styleClass="wizard">
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style type="text/css">
+ <h:outputStylesheet>
.col1 { vertical-align:top; }
.col2 { vertical-align:top; width:450px; }
.wizard { width:400px; }
@@ -24,7 +24,7 @@
padding:2px;
}
- </style>
+ </h:outputStylesheet>
<br/>
<h:panelGrid width="100%" columns="2"
columnClasses="col1,col2">
<a4j:keepAlive beanName="profile" />
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBar-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBar-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBar-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.pic {
margin-right: 2px;
}
@@ -21,19 +21,19 @@
}
;
}
-</style>
+</h:outputStylesheet>
<rich:toolbar height="26" itemSeparator="grid">
<rich:toolbarGroup>
- <h:graphicImage value="/images/icons/create_doc.gif"
styleClass="pic" />
+ <h:graphicImage value="/images/icons/create_doc.gif"
styleClass="pic" alt="create_doc" />
<h:graphicImage value="/images/icons/create_folder.gif"
- styleClass="pic" />
- <h:graphicImage value="/images/icons/copy.gif" styleClass="pic"
/>
+ styleClass="pic" alt="create_folder" />
+ <h:graphicImage value="/images/icons/copy.gif" styleClass="pic"
alt="copy" />
</rich:toolbarGroup>
<rich:toolbarGroup>
- <h:graphicImage value="/images/icons/save.gif" styleClass="pic"
/>
- <h:graphicImage value="/images/icons/save_as.gif"
styleClass="pic" />
- <h:graphicImage value="/images/icons/save_all.gif"
styleClass="pic" />
+ <h:graphicImage value="/images/icons/save.gif" styleClass="pic"
alt="save" />
+ <h:graphicImage value="/images/icons/save_as.gif"
styleClass="pic" alt="save_all" />
+ <h:graphicImage value="/images/icons/save_all.gif"
styleClass="pic" alt="save_all" />
</rich:toolbarGroup>
<rich:toolbarGroup location="right">
<h:inputText styleClass="barsearch" />
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBarIcons-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBarIcons-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBarIcons-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -72,7 +72,7 @@
</rich:panel>
</h:panelGrid>
</h:form>
- <a4j:outputPanel ajaxRendered="true">
+ <a4j:outputPanel ajaxRendered="true" layout="block">
<rich:toolbar id="bar" height="30"
itemSeparator="#{toolBarBean.groupSeparator}">
<rich:toolbarGroup itemSeparator="#{toolBarBean.groupItemSeparator}">
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tooltip/samples/tooltip-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tooltip/samples/tooltip-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tooltip/samples/tooltip-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.tooltip {
background-color: #{ richSkin.generalBackgroundColor};
border-width:3px;
@@ -27,7 +27,7 @@
.tooltipData {
font-weight: bold;
}
-</style>
+</h:outputStylesheet>
<h:panelGrid columns="2">
<rich:panel id="sample1" styleClass="tooltip-text"
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tree/samples/tree-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tree/samples/tree-sample.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tree/samples/tree-sample.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.top{
vertical-align: top;
width: 50%;
@@ -13,7 +13,7 @@
.bold{
font-weight: bold;
}
- </style>
+ </h:outputStylesheet>
<h:panelGrid columns="2" columnClasses="top,top"
width="60%">
<h:form>
<rich:tree id="tree" nodeType="#{node.type}"
var="node"
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/includes/source-view.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/includes/source-view.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/includes/source-view.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -9,11 +9,11 @@
<ui:composition>
<f:subview>
- <style>
+ <h:outputStylesheet>
.sourceView{
padding-top: 10px;
}
- </style>
+ </h:outputStylesheet>
<a4j:outputPanel styleClass="sourceView" layout="block">
<a4j:outputPanel layout="block" id="show">
<h:outputLink value="#"
@@ -35,7 +35,7 @@
<h:outputText value="#{empty hideLabel?'Hide Source' : hideLabel
}" />
</h:outputLink>
</a4j:outputPanel>
- </a4j:outputPanel>
+ </a4j:outputPanel>
</f:subview>
</ui:composition>
</html>
\ No newline at end of file
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml 2011-03-27
14:42:19 UTC (rev 22320)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml 2011-03-28
11:54:33 UTC (rev 22321)
@@ -7,7 +7,7 @@
<f:view contentType="text/html">
<h:head>
<title>RichFaces Showcase</title>
-<script type="text/javascript">
+<h:outputScript>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-7306415-4']);
_gaq.push(['_trackPageview']);
@@ -17,7 +17,7 @@
ga.src = ('https:' == document.location.protocol ? 'https://ssl' :
'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
-</script>
+</h:outputScript>
<h:outputStylesheet library="css" name="application.css"/>
</h:head>
<h:body>