1 Reply Latest reply on Oct 6, 2008 3:59 AM by ilya_shaikovsky

    <f:convertNumber  pattern=

    aspiring

      Hi !

      I have noticed that in <f:convertNumber pattern=" doesn't works in <rich:inplaceInput

      This is my code:

       <rich:inplaceInput editEvent="ondblclick"
       onkeypress="cencored"
       id="cencored"
       required="true"
       requiredMessage="wow!"
       validatorMessage="wow!"
       converterMessage="wow!">
      
       <f:validateDoubleRange minimum="0" />
       <f:convertNumber pattern="{link for my custom tag}" />
      
      
       </rich:inplaceInput>
      
      


      This is a bug? Or perhaps tag <rich:inplaceInput> don't allow using inner <f:convertNumber> ?

        • 1. Re:  <f:convertNumber  pattern=
          ilya_shaikovsky

          If you mean the problem with loosing convert after client side inplace interaction - then the answer is yes. Because client side script knows nothing about server side cnverters so after you edit the field and applied changes on client - conversion will be lost. As a workaround you could update the field via ajax after every change saved(with onviewactivated event) but this seems to be unnesessary request for such a detail.