Shiao,

   My problem is how to create(IN GAE) a CRUD (Create, Retrieve,
Update, Delete) form where this form(forms) be based in more then a
table. Follow my things:

table category:
      id
      name

table post:
    id
    content
    publish_date
    category_id (foreign key)

a Create form to table post:

      content ( a html textarea control)
      publish_date (a html input text control)
      category (a html dropdown(select and options) control)
      submit (a html submit button)

PS: This is a blank form where I'll put the values and submit the form
to save a 'post' in database.

The Retrieve of the CRUD is a simple form search / a html table with
the records of the post table.

a Update or Delete form to table post:

      content ( a html textarea control)
      publish_date (a html input text control)
      category (a html dropdown(select and options) control)
      submit (a html submit button)
      delete (a html submit button)

PS: This form is populated with the values of a record of the table
post, this is a edition form.

Well,

     In my example code posted in the previous post in this thread I
have a solution but this solution don't run OK in GAE.
     I think that the problem is in the form.fill method, because this
method put/populate the values of my record in the form, but this
record is in the Google bigtable format and this method don't accept
this.

    Anyway, thank you very much my friend.

best regards,
Leandro.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to