[richfaces-svn-commits] JBoss Rich Faces SVN: r11916 - in trunk/samples/richfaces-demo/src/main: webapp and 3 other directories.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Fri Dec 19 09:11:54 EST 2008
Author: ilya_shaikovsky
Date: 2008-12-19 09:11:54 -0500 (Fri, 19 Dec 2008)
New Revision: 11916
Modified:
trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/editor/advanced.properties
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/editor/examples/editor.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml
trunk/samples/richfaces-demo/src/main/webapp/welcome.xhtml
Log:
Modified: trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/editor/advanced.properties
===================================================================
--- trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/editor/advanced.properties 2008-12-19 14:01:35 UTC (rev 11915)
+++ trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/editor/advanced.properties 2008-12-19 14:11:54 UTC (rev 11916)
@@ -1,5 +1,5 @@
theme="advanced"
theme_advanced_toolbar_location="top"
-theme_advanced_toolbar_align="center"
+theme_advanced_toolbar_align="left"
plugins="preview,insertdatetime"
theme_advanced_buttons3="hr,removeformat,visualaid,separator,sub,sup,separator,charmap"
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml 2008-12-19 14:01:35 UTC (rev 11915)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml 2008-12-19 14:11:54 UTC (rev 11916)
@@ -60,15 +60,15 @@
target="#{dataTableScrollerBean.currentItem}" />
<f:setPropertyActionListener value="#{row}"
target="#{dataTableScrollerBean.currentRow}" />
- <rich:toolTip value="Edit"></rich:toolTip>
</a4j:commandLink>
+ <rich:toolTip for="editlink" value="Edit"/>
<a4j:commandLink ajaxSingle="true" id="deletelink"
oncomplete="#{rich:component('deletePanel')}.show()">
<h:graphicImage value="/images/icons/delete.gif" style="border:0"/>
<f:setPropertyActionListener value="#{row}"
target="#{dataTableScrollerBean.currentRow}" />
- <rich:toolTip value="Delete"></rich:toolTip>
</a4j:commandLink>
+ <rich:toolTip for="deletelink" value="Delete"/>
</rich:column>
<f:facet name="footer">
<rich:datascroller renderIfSinglePage="false" maxPages="5"/>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/editor/examples/editor.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/editor/examples/editor.xhtml 2008-12-19 14:01:35 UTC (rev 11915)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/editor/examples/editor.xhtml 2008-12-19 14:11:54 UTC (rev 11916)
@@ -9,14 +9,10 @@
width:50%;
vertical-align:top;
}
- .pbody{
- height:200px;
- overflow:auto;
- }
</style>
<h:form>
<h:panelGrid columns="2" width="100%" columnClasses="column,column">
- <h:panelGroup style="height:310px;" layout="block">
+ <h:panelGroup style="height:320px;" layout="block">
<rich:editor configuration="#{editorBean.currentConfiguration}" id="editor" width="400" height="300" viewMode = "#{editorBean.viewMode}" value="#{editorBean.value}">
<a4j:support event="onchange" reRender="result" ajaxSingle="true" requestDelay="1000" rendered="#{editorBean.liveUpdatesEnabled}"/>
</rich:editor>
@@ -29,30 +25,29 @@
<h:outputText value="Select Editor Theme"/>
<h:selectOneRadio value="#{editorBean.currentConfiguration}" layout="pageDirection">
<f:selectItems value="#{editorBean.configurations}"/>
- <a4j:support event="onchange" reRender="editor"/>
+ <a4j:support event="onclick" reRender="editor"/>
</h:selectOneRadio>
<h:outputText value="Toggle Modes"/>
<h:selectOneRadio value="#{editorBean.viewMode}" layout="pageDirection">
<f:selectItem itemLabel="WYSIWYG mode" itemValue="visual"/>
<f:selectItem itemLabel="Simple Text Area" itemValue="source"/>
- <a4j:support event="onchange" reRender="editor"/>
+ <a4j:support event="onclick" reRender="editor"/>
</h:selectOneRadio>
<h:outputText value="Toggle Preview: " />
<h:selectBooleanCheckbox value="#{editorBean.liveUpdatesEnabled}" >
- <a4j:support event="onchange" reRender="editor, result"/>
+ <a4j:support event="onclick" reRender="editor, result"/>
</h:selectBooleanCheckbox>
</h:panelGrid>
</rich:panel>
- </h:panelGrid>
-
<a4j:outputPanel layout="block" id="result">
- <rich:panel rendered="#{editorBean.liveUpdatesEnabled}" bodyClass="pbody">
+ <rich:panel rendered="#{editorBean.liveUpdatesEnabled}">
<f:facet name="header">
<h:outputText value="Preview"/>
</f:facet>
<h:outputText escape="false" value="#{editorBean.value}"/>
</rich:panel>
</a4j:outputPanel>
-
+ </h:panelGrid>
+
</h:form>
</ui:composition>
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 2008-12-19 14:01:35 UTC (rev 11915)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml 2008-12-19 14:11:54 UTC (rev 11916)
@@ -6,43 +6,16 @@
xmlns:rich="http://richfaces.org/rich">
<style>
-.tooltip {
- background-color: #{
- a4jSkin
- .
-
-
-
- generalBackgroundColor
-}
+ .tooltip {
+ background-color: #{a4jSkin.generalBackgroundColor};
+ border-width:1px;
+ padding:10px;
+ }
+ .tooltipData {
+ font-weight: bold;
+ }
+ </style>
-;
-border-width
-
-
-
-
-:1
-px
-
-
-;
-padding
-
-
-
-
-:10
-px
-
-
-;
-}
-.tooltipData {
- font-weight: bold;
-}
-</style>
-
<h:form>
<rich:dataTable value="#{toolTipData.vehicles}" width="400"
var="vehicle" rowKeyVar="row">
Modified: trunk/samples/richfaces-demo/src/main/webapp/welcome.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/welcome.xhtml 2008-12-19 14:01:35 UTC (rev 11915)
+++ trunk/samples/richfaces-demo/src/main/webapp/welcome.xhtml 2008-12-19 14:11:54 UTC (rev 11916)
@@ -7,7 +7,7 @@
<ui:define name="title">RichFaces - Open Source Rich JSF Components</ui:define>
<ui:define name="body">
<p>Welcome to the <a href="http://labs.jboss.com/jbossrichfaces"
- target="_blank" style="color:#000">Rich Faces 3.3</a> demo!</p>
+ target="_blank" style="color:#000">RichFaces 3.3</a> demo!</p>
<h4>About RichFaces</h4>
<p>RichFaces is a rich component library for JavaServer Faces
built on an advanced open source framework (Ajax4jsf). It allows easy integration of AJAX capabilities into enterprise-level business
More information about the richfaces-svn-commits
mailing list