Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
07. Jun 2008, 04:56 CET | Link

Hi,

I am trying to list iterms from a table and using delete image, want to remove the entity. Below is my view part.But it is not deleting row from db but saying Handling transient entity in delete processing.

I know I am not passing something to remove the entity. Could any one help me how to pass the id so that it can remove the row from db ?

Thanks for your help in advance.

      <ui:repeat value="#{advertisements.resultList}" var="advertisement" >
      <tr>
	    <td>
			<s:link id="advertisementId" action="#{advertisementHome.remove(advertisement.id)}" >
			<h:graphicImage styleClass="deleteImg" alt="delete" align="left" value="/img/deleteImage.gif"/>
			</s:link>
		</td>