The original book had:

<quote>

When editing an existing person, the appadmin UPDATE form shows a link
to a page that lists the dogs that belong to the person. This behavior
can be replicated using the linkto argument of the SQLFORM. linkto has
to point to the URL of a new action that receives a query string from
the SQLFORM and lists the corresponding records. Here is an example:

def display_form():
   record = db.person(request.args(0)) or redirect(URL('index'))
   url = URL('download')
   link = URL('list_records')
   form = SQLFORM(db.person, records, deletable=True, upload=url,
linkto=link)
   if form.accepts(request.vars, session):
      response.flash = 'form accepted'
   elif form.errors:
      response.flash = 'form has errors'
   return dict(form=form)

</quote>

So the questions are:
- Why was this changed?.
- Does anybody use it this way?.

Reply via email to