Iterowanie za pośrednictwem datatable z komponentu bean

Mam następującą tabelę danych:

   <h:form> 
<h:dataTable id = "notTable" value="#{editCategoryBean.allNotifications}" var="notification">
     <h:column>                 
        <f:facet name="header">Key</f:facet>                    
        <h:inputText id = "notkey" value="#{notification.key}" />
     </h:column>
     <h:column>
        <f:facet name="header">Lang</f:facet>
        <h:inputText id = "notlanguage" value="#{notification.language}"/>
     </h:column>
     <h:column>
        <f:facet name="header">Value</f:facet>
        <h:inputText id = "notvalue" value="#{notification.value}"/>      
     </h:column>
   </h:dataTable>
<h:commandButton action ="#{editCategoryBean.save()}"  value = "Save" >    </h:commandButton>

Chcę edytować moje powiadomienia z listy wszystkich powiadomień w datatable i zapisać wszystkie zmiany jednym kliknięciem przycisku. Jak mogę iterować przez datatable z editCategoryBean? Albo jak mogę inaczej wdrożyć to zachowanie?

questionAnswers(1)

yourAnswerToTheQuestion