[Html-widget] default action is '/' ??
Brian Kirkbride
brian.kirkbride at deeperbydesign.com
Wed Aug 30 21:08:08 CEST 2006
John Napiorkowski wrote:
> Hi,
>
> The documentation specifies that the default action to a from is nothing to make it easier to create self referring forms. However everything I do causes an action to be set to "/" in my generated forms. Is this just a documentation error and if so what are people doing to make self referring forms? I'm going crazy trying to deal with this :)
>
<snip>
> I've tried setting the action to '' but that didn't do the trick. I'm just trying to see if I am doing something totally wrong. Thanks!
>
> --john
>
>
Not sure it's best practice, but I always do ->action($c->req->uri)
- Brian
More information about the Html-widget
mailing list