Guys, I'm building a master-detail form where I have a "detail" Mapping in a "details" Seq and this "details" seq as a node in a master Mapping (I guess that made sense for folks who know colander/deform). One of the nodes of my "detail" Mapping has a SelectWidget but I won't know the values to populate it until runtime so I want to use a colander deferred and populate in the schema bind action. However I keep getting a KeyError because when the master Mapping is instantiated it complains that the kw for the deferred widget in the detail is missing. In order to solve this, I tried the following approach: * instantiated a list of "detail" mapping, binded them to add the values for the SelectWidget and then added them imperatively to the master mapping. However when I instantiate the schema, I still get the key error.
Do you guys have any pointer in order to solve this (I couldn't find an example for a master-detail scenario in deform)? I hope I made any sense, if that's not the case, let me know and I try with an reproducible example. TIA, Mariano -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
