I'm kinda guessing here, but to store the validation report in the
User object I tried:
$us = $this->context->getUser();
$us->setAttribute('commentValidation', $this->getContainer()-
>getValidationManager()->getReport());
But an exception is thrown:
PDOException
You cannot serialize or unserialize PDO instances
On 21 Feb 2009, at 15:18, Michal Charemza wrote:
> Hi,
>
> I would like to be able for the FPF to fill forms with values/errors
> that have been stored in the User object (and so persists between
> requests). I'm not sure
>
> - What data must be stored in the User object (well, the submitted
> data and any errors, but I'm not sure exactly what the best way of
> doing this)
>
> - How to then get the FPF to use this data in the view that requires
> it.
>
> Any suggestions?
>
> Michal.
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users