Fran, I do not think this is creating the problem. Crud is still redirecting UNLESS you set crud.settings.keepvalues=True. If this what you are doing?
Can you tell which lines causes the problem? Massimo On Jun 10, 1:41 pm, Fran <francisb...@googlemail.com> wrote: > On Jun 10, 12:17 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > Please try the version in trunk. No more request.env.referer. > > This was r897 right? > > This has caused problems for my app :/ > > I have pages which have a List at the top of the page (created by > crud.select) & underneath a create form (created by crud.create). > With r896 & earlier, submitting a new record would refresh the List. > r897 & later need a manual refresh (URL bar otherwise it wants to > resubmit the form data) > > This is reproduceable with the smallest controller like this: > def test(): > items = crud.select(db.table) > form = crud.create(db.table) > return dict(items=items, form=form) > > F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@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 -~----------~----~----~----~------~----~------~--~---