Re: accessing formdata in controller?
why don't you create a form which send you all selected data to your action??
2011/6/4 mivogtGermanyLU <mivogt@mivogt.net>:
> sorry today I stick a bit and need a helping hand as I just cant get a
> solution myselfe.
>
> For analysing data I created a controller with no own model using
> other models data for the view
> I added an index.ctp containing several fields.
> i.e. clients, month, year
>
> the clients field is auto populated by the formhelper from the clients
> table in database
> furthermore I have the month and year fields not linked to any special
> models.
>
> No I want to get the follwing:
> selecting client, month, year in the index.ctp
> passing the data to the controller action calccmy($client,$month,
> $year)
> having the controller collecting the data
> calling a view showhcalccmy presenting the data collected
>
> I stick on my first steps.
> How do I get the button calling my selfmade controller-action
> How do I access the form-data selected in the index.ctp view?
>
> Thanks in advance!
>
> Michael
>
> --
> Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
>
--
Pozdrawiam
Dominik Gajewski
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home