Fran,

No, the version in trunk that fixed my problem was r1016.


> 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)


I have something similar, just the other way around first the form
then the table:

@auth.requires_membership('site_manager')
def crud_openinghour():
    ...
    form=crud.create(db.openingstijd)
    form[0][-1][1].append(INPUT(_type='reset',_value='Reset'))
    form[0][-1][1].append(INPUT
(_type='button',_value='Cancel',_onclick="window.location='%s';"%URL
(r=request,f='index')))
    records=db((db.openingstijd.bedrijf==auth.user.bedrijf)&
(db.openingstijd.dag==db.dag.id))\
    .select(db.openingstijd.ALL,db.dag.dag,orderby=db.openingstijd.dag|
db.openingstijd.van_tijd)
    return dict(form=form,records=records)


Version r1016 did not break this functionality.


Kind regards,

Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to