the point is, that if i am showing the messages in a list, the user is able
to delete them from this list.
<t:grid source="messageList" row="message" add="actions">
void onActionFromDelete(long messageId){
Message msg = messageService.getMessage(messageId);
messageService.deleteMessage(msg);
}
<t:parameter name="actionsCell">
<t:actionLink t:id="delete" context="message.id">delete</t:actionLink>
</t:parameter>
but if one message is opend and show in the page, i can not delete it within
that page. another hack could be to clone the message.
message = message.clone();
deleteMessage(message.getID);
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Deleting-persitent-Object-within-Page-tp5718987p5718989.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]