Also, does anyone know how I would reset this->data['Newproduct']
without actually saving the data.  On every other edit page I have
done, I am never writing the data to a session, just updating a
database but it has always worked fine.  I have to be missing
something here.

Thanks

On Apr 30, 9:39 pm, clrockwell <[EMAIL PROTECTED]> wrote:
> Thanks Sliv, I glanced at it but I'll take a more in depth look when i
> get to work tomorrow.
>
> I ended up 'solving' the issue by setting each individual field value
> on the actual edit form page using the session data.  This resulted in
> me not needing to set $this->data['Newproduct'] in the controller, and
> everything worked just fine.  I'm not happy with the solution since
> the ability to transfer the function to other pages/forms is now more
> difficult.  I then combined your suggestion above to come to the final
> solution.
>
> The session writing is now handled at the review 
> page:http://bin.cakephp.org/view/1207945430
>
> And then the edit page does the rest of the 
> work:http://bin.cakephp.org/view/1894100457
>
> As I'm still a php newbie, I'd appreciate any coding critique on what
> I have done.
>
> Thanks much for taking the time to respond Sliv.
>
> On Apr 30, 5:06 pm, Sliv <[EMAIL PROTECTED]> wrote:
>
> > Have a look at this approach:
>
> >http://bakery.cakephp.org/leafs/view/32
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to