Hi!
I have a problem with executing backing bean action on submit.
I have a form with dynamic number of fields (in dataTable),
and submit command link below table. Unfortunately action from 
command ling is not fired :( (although it is when I remove dataTable and use
fixed inputs).
here is my code that doestnt work:

        <t:dataTable id="editTable" var="col" value="#{table.currentRecord}">
        <t:column>
              <h:inputText value="#{col.value}"/>
        </t:column>
        </t:dataTable>
        <h:inputText value="#{table.sortColumn}"/>
        <h:commandButton id="table_update" action="#{table.update}"
value="Update table row"/>

action action="#{table.update}" is not fired here.
But if I just use:

    <h:inputText value="#{table.sortColumn}"/>
    <h:commandButton id="table_update" action="#{table.update}"
value="Update table row"/>

then it works!

table is a session bean with method "update" and currentRecord is a list of
column values.
Could sombody tell me what am I doing wrong here?

Thanks in advance!

-- 
View this message in context: 
http://www.nabble.com/input-inside-datatable---submit-action-tf2773289.html#a7735931
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to