Assuming this is about T5 as I know nothing of earlier versions, I would
personally have the done as follows:
@Persist
private YourQuestionObj actualQuestion;
@SetupRender
private void setup() {
actualQuestion = genereateSimpleMathQuestion();
}
SetupRender is only called to prepare for rend
It didn't solved my problem, but I found another way of doing it.
Simplfied code:
onActivate() {
oldSimpleMathQuestion = new
SimpleMathQuestion(actualQuestion.question, actualQuestion.answer));
actualQuestion = genereateSimpleMathQuestion();
}
onSuccess {
if(oldSimpleMathQuestion.ans
Try using the @Persist("flash") to store your real answer. The flash
persistence strategy covers the situation where you only want the value to
be stored until the next request.
Jonathan
> -Original Message-
> From: Tomasz Dziurko [mailto:[EMAIL PROTECTED]
> Sent: Sunday, April 13, 20