[jboss-user] [JBoss Seam] - Re: How to strip request parameters for page reloads

christian.bauer@jboss.com do-not-reply at jboss.com
Fri Apr 6 11:46:57 EDT 2007


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



More information about the jboss-user mailing list