Hi Michal,somewhere in the data you're storing a reference to a pdo connection exists. What kind of Database connection do you use?
cheers felix On Feb 25, 2009, at 9:45 PM, Michal Charemza wrote:
I also then tried to store the request data in the User object: $us = $this->context->getUser(); $us->setAttribute('commentRequestData', $this->getContext()-getRequest());But the same exception occurs. (By the way, the reason why I would like to store the Request data is to use the Post/Redirect/Get pattern when submitting a form) On 22 Feb 2009, at 21:06, Michal Charemza wrote: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
-- Felix Gilcher Bitextender GmbH Paul-Heyse-Str. 6 D-80336 München T: +49 89 57 08 15 16 F: +49 89 57 08 15 17 M: +49 172 840 88 28 [email protected] http://bitextender.com/ Amtsgericht München, HRB 174280 Geschäftsführer: David Zülke, Florian Clever
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
