1 Reply Latest reply on Jul 11, 2008 1:00 PM by Victor Bucutea

    Is there any way to get the index of an HtmlColumn in a Html

    Victor Bucutea Newbie

      Hi ,

      I have a reference to the binding attribute of the HtmlColumn , by invoking event.getComponent().getParent() on a ValueChangeEvent object.

      What i cannot do is get the actual index of the column which launched the valueChangeEvent . I wouldn't want to get the column using the Id .

      This is my code :

       <f:facet name="header">
       <h:outputText value="Nume Atribut 1" />
       <rich:inplaceInput layout="block"
       value="#{tipProdus.atributAditional1}" id="inplace1"
       changedHoverClass="hover" viewHoverClass="hover"
       viewClass="inplace" changedClass="inplace" selectOnEdit="true"
       <a4j:support event="onviewactivated" reRender="table" />
       <h:selectOneMenu styleClass="selectTipAtribut"
       value="#{tipProdus.tipAtributAditional1 }"
       value="#{gestionareTipProdusPageBean.tipuriAtribute }" />
       reRender="editareListaPanel" event="onchange">
       <f:param name="rowNo" value="#{row}" />
       <f:param name="xx" value="xxx" />
       <h:outputText value="#{tipProdus.atributAditional1}" />

      Any thoughts or opinions are more than welcomed .