If you use a POSTback (note the POST), the user would be told "Are you sure you 
want to reload this page and submit the data again" if he/she clicks Reload. If 
the user does want to "delete again", it's OK to show an error message.

If you try this with a GET (as the Seam example has), users would not see the 
warning and immediately see an error message. What error message depends on how 
the code is written, e.g. if the instance can be obtained again from the view 
(data model selection) and if entityManager.remove() is actually called if it 
can not be found, etc.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035370
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to