Author: ilya_shaikovsky
Date: 2008-03-19 13:06:09 -0400 (Wed, 19 Mar 2008)
New Revision: 6968
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/blockInplace.xhtml
Log:
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/blockInplace.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/blockInplace.xhtml
(rev 0)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/blockInplace.xhtml 2008-03-19
17:06:09 UTC (rev 6968)
@@ -0,0 +1,37 @@
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+ <style>
+ .rich-inplace-view, .rich-inplace-changed{
+ border:none;
+ }
+ .rich-inplace-input-view-hover, .rich-inplace-input-changed-hover{
+ color:#{a4jSkin.generalTextColor};
+ background-color:#{a4jSkin.tipBorderColor};
+ }
+
+ </style>
+ <rich:dataTable value="#{dataTableScrollerBean.tenRandomCars}"
var="car" width="350px">
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Make"/>
+ </f:facet>
+ <h:outputText value="#{car.make}"/>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Model"/>
+ </f:facet>
+ <h:outputText value="#{car.model}"/>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Price"/>
+ </f:facet>
+ <rich:inplaceInput layout="block" value="#{car.price}"/>
+ </rich:column>
+ </rich:dataTable>
+</ui:composition>
\ No newline at end of file