There is a problem with URL. Please check trunk and see if it solves
the problem for you:
This works for me
def index():
return dict()
def test1():
form=SQLFORM.factory(Field('name'))
if form.accepts(request.vars,session):
url = URL('test2',extension='html')
response.headers['web2py-component-
command']='document.location="%s"' % url
raise HTTP(303,**response.headers)
redirect(URL('test2'))
return dict(form=form)
def test2():
return dict(h=H1('hello world'))
with default/index.html
{{extend 'layout.html'}}
This is a test
{{=LOAD('default','test1.load',ajax=True)}}