Hi All!

I wonder if somebody could help me.

I have:

form=crud.create(db.oklevel_sablon,next=URL
(r=request,f='sablonsor_jog',args="[id]"))

But the next url looks:
.../sablonsor_jog/%5Bid%5D

The "[id]" isn't replaced with the created record's number :(

I read in the book page 217:

"• next     is the URL to redirect to after success. If the URL
contains the
  substring "[id]" this will be replaced by the id of the record
currently
  created/updated."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to