I'm using Ajax form submits :-) or the Form classes that I created,
they contains all logic like this.
Sincerely,
On 8/6/07, David Mintz <[EMAIL PROTECTED]> wrote:
> Let's suppose you want to render a form back at the user with the same
> values they just gave you. In something.phtml you might have
>
> <?=$this->formText('email',$this->email,
> array('size=>40'))?>
>
> .. And this In your controller:
>
> function somethingAction() {
>
> $this->view->assign($this->_request->getParams());
> }
>
> This seems to work fine, but it seems you will be repeating that line quite
> often. What approach are you guys using?
>
> Thanks.
>
> --
> David Mintz
> http://davidmintz.org/
>
> The subtle source is clear and bright
> The tributary streams flow through the darkness
--
Alex
- http://www.alexatnet.com/ -
- Articles, discussions and subpport for PHP, ZF, JavaScript and web
development -