[jboss-user] [JBoss Seam] - DataModel

KoniKoni do-not-reply at jboss.com
Mon Mar 19 10:25:41 EDT 2007


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>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029323#4029323

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029323



More information about the jboss-user mailing list