[richfaces-svn-commits] JBoss Rich Faces SVN: r11848 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Wed Dec 17 09:37:11 EST 2008
Author: ilya_shaikovsky
Date: 2008-12-17 09:37:11 -0500 (Wed, 17 Dec 2008)
New Revision: 11848
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-5400
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-17 14:18:12 UTC (rev 11847)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml 2008-12-17 14:37:11 UTC (rev 11848)
@@ -6,6 +6,7 @@
xmlns:rich="http://richfaces.org/rich">
<h:form>
+ <a4j:region>
<rich:dataTable value="#{dataTableScrollerBean.allCars}"
var="category" rows="20" rowKeyVar="row"
ajaxKeys="#{dataTableScrollerBean.keys}" id="table">
@@ -51,7 +52,7 @@
<rich:column>
<f:facet name="header">
Actions
- </f:facet>
+ </f:facet>
<a4j:commandLink ajaxSingle="true" id="editlink"
oncomplete="#{rich:component('editPanel')}.show()">
<h:graphicImage value="/images/icons/edit.gif" style="border:0"/>
@@ -73,6 +74,7 @@
<rich:datascroller renderIfSinglePage="false" maxPages="5"/>
</f:facet>
</rich:dataTable>
+ </a4j:region>
</h:form>
<rich:modalPanel id="editPanel" autosized="true">
@@ -128,6 +130,13 @@
</h:panelGrid>
</h:form>
</rich:modalPanel>
+ <a4j:status onstart="#{rich:component('wait')}.show()" onstop="#{rich:component('wait')}.hide()"/>
+ <rich:modalPanel id="wait" autosized="true" width="200" height="120" moveable="false" resizeable="false">
+ <f:facet name="header">
+ <h:outputText value="Processing"/>
+ </f:facet>
+ <h:outputText value="Wait Please..."/>
+ </rich:modalPanel>
<rich:messages></rich:messages>
</ui:composition>
More information about the richfaces-svn-commits
mailing list