[jifty-devel] BUG: form data not posting correctly when using
/_elements/wrapper
Todd Chapman
todd at chaka.net
Tue Aug 22 18:29:16 EDT 2006
On Tue, Aug 22, 2006 at 05:56:57PM -0400, Jesse Vincent wrote:
>
>
>
> On Tue, Aug 22, 2006 at 05:53:35PM -0400, Todd Chapman wrote:
> > Can someone take a look at this and tell me if it
> > really is a Jifty bug or if I am doing something
> > wrong?
> >
> > I have a tiny Jifty app ( 4 mason components and 1 action ).
> >
> > When I wrap my form with /_elements/wrapper the
> > form no longer posts correctly. Remove wrapper and
> > everything works. Does the wrapper mess up regions
> > somehow?
>
> The right thing to do next is use a tool like FireBug to see what the
> different versions of the page are sending.
Here is the post _with_ the wrapper:
{"path":"/__jifty/webservices/xml","actions":{},"fragments":{"results":{"name":"results","path":"/regions/search/results","args":{"search":{"name":"search","result_of":"searchbox"}},"parent":null}},"variables":{"region-results":"/regions/search/results","region-results.search":{"name":"search","result_of":"searchbox"}}}
The form data "abc123" does not appear in the post.
Without the wrapper things work fine, but Firebug seems confused.
>
>
> > I have my app in a 57k file. Please let me know if I
> > can send it to you to look at.
> >
> > Thanks.
> >
> > -Todd
> > _______________________________________________
> > jifty-devel mailing list
> > jifty-devel at lists.jifty.org
> > http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
> >
>
> --
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
More information about the jifty-devel
mailing list