My problem is about putting and getting variables into/from the play scope.
It’s not that it doesn’t work at all, but it sometimes does and other times it doesn’t, which is really odd. For example, the first time I run a selenium test which checks this problem, a exception is thrown, that the param can’t be found in flash. The second, third, and fourth time everything works fine, which is very strange.
I also tried to solve it with session.put and session.get, but this doesn’t work either, it has the same effect as flash.
Do you guys have any idea what I am doing wrong?
Kind regards
The answer is, that the Selenium Tester (better said: the Test mode, startet with “play test”) of Play! does clear the flash every two seconds, or so. It sounds very odd, but I tested it in detail. When I ran a test really quick, the thing worked. But while running it slowly, the flash scope got cleared at some time and it the programm failed.