rm-bwana / ie-mtams

Automatically exported from code.google.com/p/ie-mtams
0 stars 1 forks source link

Save on back button press #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The form entries should be temporarily saving when the back button is pressed.

Original issue reported on code.google.com by monkeybu...@gmail.com on 20 May 2013 at 1:41

GoogleCodeExporter commented 8 years ago
If we extend the onBack() function from p:wizard we can then call a saveToDB() 
method whenever the back button is pressed.

Original comment by remanemarco@gmail.com on 10 Jun 2013 at 12:56

GoogleCodeExporter commented 8 years ago
Solved with adding ajax functionality by updating the inputTextField on blur 
(loss of focus). This means we dont have to make any db changes or updates. 
Values will be saved in the bean and should the session be terminated (e.g. log 
out before finishing the form) there wont be any incomplete entries in the db.

"I came here to fix this problem and fuck bitches and this problem has been 
fixed" - Alex.

Original comment by Bwan...@gmail.com on 3 Aug 2013 at 6:08