Many thanks,
formname=None have solved the problem

On Jan 25, 5:03 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> Hard to say without looking at the code.
> I assume there is an accepts in the controller. Try call it with
> accepts(request.vars,formname=None)
> instead of
> accepts(request.vars,session)
>
> On Jan 25, 9:00 am, Khaled ElAdawy <elad...@gmail.com> wrote:
>
>
>
> > I created a controller function that could be called through ajax and
> > returns a SQLFORM.
> > I've got the form to appear on the page, but the SQLFORM doesn't work
> > as it should.
> > When I submit information from the view that the generated content has
> > been placed into,
> > the page refreshes and nothing is inserted/updated in the database.
> > When I call the controller function directly, it works fine and the
> > submitted
> > data is inserted/updated in the database properly.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to