Just my two cents :D - Many of those features require javascript, sooner or later we will have to make a decision on what to use. If I'm not wrong, Moritz, in his project, implemented the search for related entities using select2, which requires jQuery. Porting that implementation to crud would mean making crud jQuery based. I don't know if it makes sense to provide a way to enable/disable js features or just let the user replace the template if he doesn't want to use them.
- On the add/edit nested feature has anyone ever looked at how is done in Flask-Admin and Django? I remember having looked at the Flask-Admin source code some time ago and I didn't like much their solution of implementing nested forms by adding some hidden fields to the parent form with specific ids. I didn't do much research on this topic, but it feels like it might be a perfect match for tgext.ajaxforms. It should be quite easy to load the forms of the child entity and submit them using tgext.ajaxforms. We probably just need a way to update the parent single select or multiple selection by adding the newly created entity on the fly. On Fri, Apr 19, 2013 at 11:15 AM, Moritz Schlarb <[email protected]>wrote: > I talked a bit with Alessandro about this, and we thought it would be > something worth to discuss here: > > We plan on improving the support for all-kinds of relationship things: > > - Improve searching for related entities in get_all by allowing to > search for name > (I basically already implemented that in my project and would just > need to backport that to sprox/tgext.crud themselves) > - Improve sorting on relationship columns > - Add support for creating related entities directly from the add/edit > page of the parent entity > (That would be so awesome!) > > Does anyone else think of other useful features in this context? > > Cheers, > Moritz > > -- > You received this message because you are subscribed to the Google Groups > "sprox" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sprox?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears-trunk?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
