I have not many experiences with JSF. I have trouble to update only the cell specific to the dynamic response column inside a subtable with <p:ajax update="response2" ... where I'd like to insert a simple response text when radio button is selected with ajax. I have tested too many possibilities but not successful. In my problem the ajax component can update the cell or the row: it does not really matter. The method called via listener works: it seems like the issue is the ajax component usage. In my problem subTable is used for header display which is required. I have seen many posts on this subject but it did not help me.
I am using JBoss 7.1.1 with PF5.2.
Thank you in advance for your time.
<h:body>
<h:form id="form1">
<p:tabView id="tabView1" prependId="false" >
<p:tab title="TAB1"  >
<p:dataTable id="mainTable" var="head" value="#{subTableView.headers}" editable="true" editMode="cell">
    <p:subTable id="subbTable" var="question" value="#{head.questions}" >
        <f:facet name="header">
            <h:outputText value="#{head.name}" />
        </f:facet>
        <p:column>
            <h:outputLabel value="#{question.question}" />
        </p:column>
        <p:column>              
            <p:selectOneRadio id="mainSelect" value="#{question.select1}">
                <f:selectItem itemLabel="Yes" itemValue="#{question.responseOfYes}" />
                <f:selectItem itemLabel="No" itemValue="#{question.responseOfNo}" />
                <p:ajax update="response2" process=":form1:tabView1:mainTable" 
                    listener="#{questionBean.saveAnswers(question.select1,question.id)}" />
            </p:selectOneRadio>
        </p:column> 
        <p:column id="colToUpdate">
                <h:outputText id="response2" value="#{question.select1}" binding="#{input2}" />
        </p:column>
    </p:subTable>
</p:dataTable>
</p:tab>
<p:tab title="TAB2">
</p:tab>
 
     
    