I would like to use "InplaceInput with customized controls" example in RichfacesLiveDemo,
but when I run my jsf page I see this error:
#{..} is not allowed in template text
what's the problem? Could anyone please help me?
This is my code:
<rich:inplaceInput defaultLabel="Click here to edit" showControls="true"
controlsHorizontalPosition="left" controlsVerticalPosition="bottom"
id="inplaceInput">
<f:facet name="controls">
<button onmousedown="#{rich:component('inplaceInput')}.save();"
type="button">Save</button>
<button onmousedown="#{rich:component('inplaceInput')}.cancel();"
type="button">Cancel</button>
</f:facet>
</rich:inplaceInput>