Clearly, some people in this group have serious web applications built on Weblocks, and yet I find it hard to believe that any non-trivial app could get by without having to edit non-primitive types or objects that have slots of non-primitive types (i.e., edit a list of strings), but AFAIK there's nothing baked-in to handle this.
For those of you who have working apps, how do you work through this? Are there custom widgets floating around that haven't made their way into contrib, or am I wrong to assume that this is being done? I've been working on a "complex-edit" popover just for this, and I'm finding it difficult to accomplish because of the scoping of views and presentations (i.e., I'm having to setf widget slots in the rendering pipeline, which marks them as dirty, which is not good). Here's what I've got so far (I've left out the rest of the application, because anyone who could answer this question would know how this stuff gets used): http://gist.github.com/68989 The dialog-input presentation takes an :input-widget argument that tells the popover what to render, but the difficulty is that the input- widget doesn't know what data to work on until halfway through the rendering pipeline where I (setf (complex-edit-data dialog-input- widget) ...) in the render-view-field-value specialization for dialog- input-presentation. Slap my hand! I just don't know how else to do it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "weblocks" 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/weblocks?hl=en -~----------~----~----~----~------~----~------~--~---
