Well basically all you need in your form is an identifier and data
that the user can change.
If you got some identifier of the messages you need to save, then you
can use that to save the data from your mail server directly to your
database. There is no need to send all the data to the client and then
let the client send it back to the server unaltered.

-Roel

On Aug 16, 8:48 am, senser <[email protected]> wrote:
> Hello,
>
> I was wondering if there is a way to send some data (often
> intermediate to large array) from view to controller action.
> For example - I have an controller action that reads emails from
> remote IMAP server and displays unread messages in corresponding view
> offering to user to save desired emails in database. The problem is
> that form in view displays only some of message headers (from, to and
> subject) but I want to save all headers in database (i.e. message-id).
> I can make a hidden field to hold this fields, but sometimes fields
> are very large and hidden field is not the best way.
> Is there any other way to send data from view to controller action?
>
> Cheers!
--~--~---------~--~----~------------~-------~--~----~
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