0 Replies Latest reply on Mar 19, 2007 10:25 AM by Konstantin Kauz

    DataModel

    Konstantin Kauz Novice

      How can i implement the delete function of a element that contains by herst_bearb in a list,

      there are support by Framework ?

      <a4j:region>
       <a4j:form>
       <h:dataTable id="alle_her" value="#{heditor.herst_bearb.kfzmodel}" var="md">
       <h:column>
       <f:facet name="header">
       <h:outputText value="MNr"/>
       </f:facet>
       <h:outputText value="#{md.id}"/>
       </h:column>
      
       <h:column>
       <f:facet name="header">
       <h:outputText value="Bezeichung"/>
       </f:facet>
       <h:inputText value="#{md.bezeichnung}" readonly="false"/>
       </h:column>
      
       <h:column>
      
       <a4j:commandButton action="#{heditor.saveHer}" value="speichern" reRender="brb" />
       <a4j:commandButton action="#" value="loeschen" reRender="brb" />
       </h:column>
      
       </h:dataTable>
       </a4j:form>
       </a4j:region>