Need some doc for PicoraInput

I am trying to build simple blog app with Picora. I am stuck with forms.

How to bind ActiveRecord attributes to form input fields?

Posted September 2nd, 2007 at 6:49am by Chooh

I have same request as Chooh.

Posted September 7th, 2007 at 6:42am by vlado

I think there is a small bug in the code so you can't access the POST/GET-form data. I gcreated a patch for this:

http://aaron-mueller.de/dateien/picora.beta5.fixes2.aamu.diff

You can get the Formdata in the following way:


class MyController extends PicoraController {
    public function saveFormData($params) {
        // $params is a array of the post/get data (mixed)
        echo $params['form_field_name'];
    }
}

Sure, you have to set up a proper route to this controller-method and set the to this route.

Posted October 17th, 2007 at 3:32am by Aaron

Any info on the PicoraInput ? How to use it ?

i need to create file upload in my project..

Posted December 12th, 2007 at 1:48pm by graaf

Login or Register to Post