This content has been marked as final.
Show 4 replies
-
1. Re: Urgent help - Rich inplaceInput - How to call entityHome
nbelaevski Mar 11, 2009 9:03 PM (in response to valatharv)Hi,
How about a4j:support or a4j:jsFunction? -
2. Re: Urgent help - Rich inplaceInput - How to call entityHome
valatharv Mar 11, 2009 10:18 PM (in response to valatharv)I tried adding
<a:support action="#{projectHome.update}" event="onclick"></a:support>
within update button tag but it dosent work, Update button is not visible when I clickdefaultLabel="#{projectHome.instance.projectName}"
Please suggest, what I am doing wrong any trick which I can apply, it is very important.
<rich:inplaceInput defaultLabel="#{projectHome.instance.projectName}" showControls="true" controlsHorizontalPosition="left" controlsVerticalPosition="bottom" id="inplaceInput"> <f:facet name="controls"> <button onmousedown="#{rich:component('inplaceInput')}.save();" type="button" >Update</button> <a:support action="#{projectHome.update}" event="onclick"></a:support> <button onmousedown="#{rich:component('inplaceInput')}.cancel();" type="button">Cancel</button> </f:facet> </rich:inplaceInput>
-
3. Re: Urgent help - Rich inplaceInput - How to call entityHome
valatharv Mar 11, 2009 10:20 PM (in response to valatharv)Correction for last code, a:support tag is with-in update button tag
<button onmousedown="#{rich:component('inplaceInput')}.save();" type="button">Update <a:support action="#{projectHome.update}" event="onclick"></a:support> </button>
-
4. Re: Urgent help - Rich inplaceInput - How to call entityHome
ilya_shaikovsky Mar 12, 2009 5:51 AM (in response to valatharv)simpliest way is to use a4j:support for the inplace input itself and use onviewactivated event.