Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Serialize a Colander Schema
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Richard Mairesse  
View profile  
 More options Oct 11 2012, 3:11 am
From: Richard Mairesse <richard.maire...@gmail.com>
Date: Thu, 11 Oct 2012 00:11:09 -0700 (PDT)
Local: Thurs, Oct 11 2012 3:11 am
Subject: Serialize a Colander Schema

Dear Sir,

I would like to use the powerful Deform library to make "dynamic forms".
"Dynamic" merely means: show (via colander.SequenceSchema or
colander.String) instanciated keys of a long dictionary.
I make for that a schema that is built "online". This works fine for simple
schema (not SequenceSchema) where appstructs can be rebuilt via POST data.
But when I use SequenceShema, I must retain the built schema object to
build the appstructs more complex than above.
To retain the schema, I use a local server dictionary to put the schema
object where the key is a session variable.

Perhaps a good thing is the possibility to flattening the schema itself
(then: json-ize it and put the result in a cookie...).
Thanks for these marvelous tools!
Richard


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Mairesse  
View profile  
 More options Oct 12 2012, 5:22 pm
From: Richard Mairesse <richard.maire...@gmail.com>
Date: Fri, 12 Oct 2012 14:22:29 -0700 (PDT)
Local: Fri, Oct 12 2012 5:22 pm
Subject: Serialize a Colander Schema

I reached my goal by using an appstruct to rebuild the schema and the form. This appstruct is placed on the session between the interactions with the form.
Deform is really wonderful!
Best regards,
Richard


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »