Author: ilya_shaikovsky
Date: 2008-03-28 12:59:00 -0400 (Fri, 28 Mar 2008)
New Revision: 7373
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/controlsCustomization.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/controlsCustomization.xhtml
Log:
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/controlsCustomization.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/controlsCustomization.xhtml 2008-03-28
16:58:15 UTC (rev 7372)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/controlsCustomization.xhtml 2008-03-28
16:59:00 UTC (rev 7373)
@@ -9,9 +9,9 @@
id="inplaceInput">
<f:facet name="controls">
- <button onclick="$('inplaceInput').component.save();"
+ <button onclick="#{rich:component('inplaceInput')}.save();"
type="button">Save</button>
- <button onclick="$('inplaceInput').component.cancel();"
+ <button onclick="#{rich:component('inplaceInput')}.cancel();"
type="button">Cancel</button>
</f:facet>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/controlsCustomization.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/controlsCustomization.xhtml 2008-03-28
16:58:15 UTC (rev 7372)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/controlsCustomization.xhtml 2008-03-28
16:59:00 UTC (rev 7373)
@@ -11,7 +11,7 @@
</style>
<h:form>
<h:panelGrid columns="3" width="500px;">
- <h:outputText value="Current State:"></h:outputText>
+ <h:outputText value="Current State:"/>
<rich:inplaceSelect value="#{inplaceComponentsBean.inputValue}"
defaultLabel="Click here to edit" showControls="true"
controlsHorizontalPosition="left"
controlsVerticalPosition="bottom"
@@ -20,8 +20,8 @@
<button onclick="#{rich:component('inplaceSelect')}.save();"
type="button">Save</button>
<button onclick="#{rich:component('inplaceSelect')}.cancel();"
- type="button">Cancel</button>
- </f:facet>
+ type="button">Cancel</button>
+ </f:facet>
<f:selectItems value="#{capitalsBean.capitalsOptions}" />
<a4j:support event="onviewactivated" reRender="output" />
</rich:inplaceSelect>