Author: ilya_shaikovsky
Date: 2008-03-19 12:52:54 -0400 (Wed, 19 Mar 2008)
New Revision: 6964
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/examples/externalFiltering.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/simple.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/selectItems.xhtml
trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml
Log:
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/examples/externalFiltering.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/examples/externalFiltering.xhtml 2008-03-19
16:43:54 UTC (rev 6963)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/examples/externalFiltering.xhtml 2008-03-19
16:52:54 UTC (rev 6964)
@@ -5,12 +5,6 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:form>
- <style>
- .rich-inplace-view{
- color:gray;
- border-bottom-color:gray;
- }
- </style>
<rich:dataTable value="#{capitalsBean.capitals}" var="cap"
width="500px">
<f:facet name="header">
<h:outputText value="Filtering Example"/>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/simple.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/simple.xhtml 2008-03-19
16:43:54 UTC (rev 6963)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/simple.xhtml 2008-03-19
16:52:54 UTC (rev 6964)
@@ -4,5 +4,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <rich:inplaceInput value="#{inplaceComponentsBean.inputValue}" />
+
+ <rich:inplaceInput defaultLabel="Click here to edit"/>
+
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/usage.xhtml 2008-03-19
16:43:54 UTC (rev 6963)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/usage.xhtml 2008-03-19
16:52:54 UTC (rev 6964)
@@ -9,17 +9,34 @@
<ui:define name="sample">
<p>
- SHORT DESCRIPTION
- </p>
+ <b>InplaceInput </b>is a simple input component which displays current
value as
+ <i>outputText </i>and switches to <i>inputText </i>based
representation after defined event
+ to allow edit this value.
+ </p>
+
+ <p>
+ You could try simplest example below. Just click on label to edit the value and
+ click somewhere outside the component to store this value(Or just press ENTER
button).
+ </p>
+
<div class="sample-container" >
<ui:include src="/richfaces/inplaceInput/examples/simple.xhtml"/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/inplaceInput/examples/simple.xhtml"/>
</ui:include>
</div>
+
<p>
- DESCRIPTION
+ EDITABLE CELLs IN TABLE DESCRIPTION
</p>
+
+ <div class="sample-container" >
+ <ui:include
src="/richfaces/inplaceInput/examples/blockInplace.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/inplaceInput/examples/blockInplace.xhtml"/>
+ </ui:include>
+ </div>
+
</ui:define>
</ui:composition>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/selectItems.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/selectItems.xhtml 2008-03-19
16:43:54 UTC (rev 6963)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/selectItems.xhtml 2008-03-19
16:52:54 UTC (rev 6964)
@@ -5,6 +5,6 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<rich:inplaceSelect value="#{inplaceComponentsBean.inputValue}">
- <f:selectItems value="#{capitalsBean.capitalsNamesOptions}"/>
+ <f:selectItems value="#{capitalsBean.capitalsOptions}"/>
</rich:inplaceSelect>
</ui:composition>
\ No newline at end of file
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-19
16:43:54 UTC (rev 6963)
+++
trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml 2008-03-19
16:52:54 UTC (rev 6964)
@@ -8,7 +8,7 @@
- <rich:spacer height="8" />
+ <rich:spacer height="8" width="100%"/>
<script>
//<![CDATA[