Hi,

i just have the same problem in my tables and i don't get it solved :-(.

<tr:table partialTriggers="eventsTable:deleteEventButton" ...
<tr:commandLink
  action="#{editInstrumentBean.deleteEvent}"
  id="deleteEventButton"
  immediate="true"
  onclick="if (!(confirmDeletion())) return false"
  partialSubmit="true">
  <tr:image source="/skins/ict/images/delete.png"/>
  <tr:setActionListener from="#{row.entity}"
to="#{editInstrumentBean.eventToDelete}"/>
</tr:commandLink>

Executing the action, always the last row gets removed but not the one i
wanted to delete. If I set immediate=false it works, but i don't want to
validate the complete form, when i delete a row in the table.

thanks

David

>         Thanks Danny, just tried and it works fine as well. Exactly as
> described.
>  During my first posting,  I forgot that - since a table is a naming
> container - it couldn't work like I tried first. The contained prefix had
> to be specified is different.
>
>  -- Renzo
>
>  Danny Robinson wrote:     Sandeep,
>
>  That's one way, but a bit overly complex.  Here's the easy way:
>
>


-- 
David Uebelacker
mailto:[EMAIL PROTECTED]
http://david.uebelacker.eu/

Reply via email to