[Dojo-interest] Question about JSON RestStore, Tree, and SubCategories

OakBehringer adamkosecki at gmail.com
Thu Feb 4 12:58:55 EST 2010

I am using the JsonRestStore to CRUD blog posts:

postsStore = new dojox.data.JsonRestStore({ target: '/cms/blog-posts/',
labelAttribute: 'title' });

This will retrieve all of the posts. 

Now, what if I want them categorized by year, then month in my tree? So,
instead of a tree that looks like this:

    /title 1
    /title 2
    /title 3
    /title n

it would look like this:

             /title 1
             /title 2
             /title 3
             /title 4
             /title 5


I'm guessing the answer lies somewhere in the forest-store model, but I'm
not sure.

View this message in context: http://n3.nabble.com/Question-about-JSON-RestStore-Tree-and-SubCategories-tp187507p187507.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.

More information about the Dojo-interest mailing list