Re: Admin forms for tree-structured data

2005-11-15 Thread Eugene Lazutkin
Yep, something like that. Other examples of such widget (actually nightly Dojo tests): http://archive.dojotoolkit.org/nightly/tests/widget/test_Tree.html http://archive.dojotoolkit.org/nightly/tests/widget/test_Tree_2.html Thanks, Eugene <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTE

Re: Admin forms for tree-structured data

2005-11-14 Thread [EMAIL PROTECTED]
Does the following help :- URL :- http://lmap.co.nr/Amazon1.htm In the tree, one can browse amazon catalogues based on the browse id. On reaching the item level (marked with red dots) one can click on it to view details such as price, image etc. Eugene Lazutkin wrote: > Mochikit is an excellen

Re: Admin forms for tree-structured data

2005-11-06 Thread Eugene Lazutkin
Mochikit is an excellent framework. I like it a lot. But... While it solves a lot of low-level problems, it doesn't provide any facilities for widgets. Dojo solves widget packaging. I think that Django/Ajax should use a high-level foundation: widgets, shared client/server objects, and so on. P

Re: Admin forms for tree-structured data

2005-11-06 Thread Robert Wittams
Eugene Lazutkin wrote: > http://code.djangoproject.com/wiki/AJAX --- it lists exactly one > implementation done by Eric Moritz. It uses prototype.js. Current state of > this project is "abandoned" --- no changes were made in a long time. His > solution provides uniform access to models using ex

Re: Admin forms for tree-structured data

2005-11-06 Thread Robert Wittams
[EMAIL PROTECTED] wrote: > Isn't it supposed to be solved with AJAX? The problem looks like > http://ajaxpatterns.org/Drilldown > > Here is an example of a tree browser from an opensource DoJo project. > http://dojotoolkit.org/~alex/dojo/trunk/tests/widget/test_TreeNode.html > > Has anyone been

Re: Admin forms for tree-structured data

2005-11-06 Thread Eugene Lazutkin
http://code.djangoproject.com/wiki/AJAX --- it lists exactly one implementation done by Eric Moritz. It uses prototype.js. Current state of this project is "abandoned" --- no changes were made in a long time. His solution provides uniform access to models using existing Django framework. All d

Re: Admin forms for tree-structured data

2005-11-06 Thread 1gor
Isn't it supposed to be solved with AJAX? The problem looks like http://ajaxpatterns.org/Drilldown Here is an example of a tree browser from an opensource DoJo project. http://dojotoolkit.org/~alex/dojo/trunk/tests/widget/test_TreeNode.html Has anyone been exploring using AJAX with Django? I am

Re: Admin forms for tree-structured data

2005-11-06 Thread [EMAIL PROTECTED]
Isn't it supposed to be solved with AJAX? The problem looks like http://ajaxpatterns.org/Drilldown Here is an example of a tree browser from an opensource DoJo project. http://dojotoolkit.org/~alex/dojo/trunk/tests/widget/test_TreeNode.html Has anyone been exploring using AJAX with Django? I am

Re: Admin forms for tree-structured data

2005-11-06 Thread Robert Wittams
jws wrote: > I'd like to hear some discussion regarding what seems to be a common > situation and how to best address it within Django-powered sites. > > Frequently there will be hierarchical data stored in the db as tables > with foreign keys linking lower-level tables to their parents. As an >

Re: Admin forms for tree-structured data

2005-11-06 Thread Robert Wittams
hugo wrote: >>Either way, the admin does neither thing today. It seems to >me that >>situations like this would happen regularly and would be an >excellent >>candidate for inclusion in the admin. All the information >required to >>create the interface already exists in the model definitions. > >

Re: Admin forms for tree-structured data

2005-11-06 Thread hugo
>Either way, the admin does neither thing today. It seems to >me that >situations like this would happen regularly and would be an >excellent >candidate for inclusion in the admin. All the information >required to >create the interface already exists in the model definitions. In what is that what

Admin forms for tree-structured data

2005-11-05 Thread jws
I'd like to hear some discussion regarding what seems to be a common situation and how to best address it within Django-powered sites. Frequently there will be hierarchical data stored in the db as tables with foreign keys linking lower-level tables to their parents. As an example, let's presume