1 Reply Latest reply on Jan 23, 2011 9:27 AM by markoc50

    Result of @this in complex component like r:select

    markoc50

      Hi,

       

       

      I' m confused: what should appear in HTTP request if @this is used in f:ajax like:

       

       

      <h:form id="formId">

       

        <rich:select id="selectId">

       

          <f:ajax event="change" execute="@this" />

       

        <rich:select>

       

      </h:form>

       

       

      Currently request created with ajax contains: execute formId:selectIdInput

       

      - with  "Input" suffix and that means component is not executed on server!

       

      Reason is obvious: @this is interpreted as id of source element in DOM and that is in this case 'input part' of rich:select component.

       

      Is this a specification problem, known issue or am I  missing  something?

       

      Why ajax behaviour renderer does not encode '@this' as client id of parent component directly?