You can trap F5 key and call form.submit with a little javascript. But that
does not help when user clicks the refresh button.
<script>
function ui_onkeydown_handler() {
switch (event.keyCode) {
case 116 : // F5
event.keyCode = 0;
event.returnValue = false;
document.forms['form1'].submit();
}
}
document.attachEvent("onkeydown", ui_onkeydown_handler);
</script>
--
View this message in context:
http://www.nabble.com/Issues-with-refresh-page-in-JSF-t1523452.html#a4140628
Sent from the MyFaces - Users forum at Nabble.com.