WHIFF now has treeviews. I will document the usage in a tutorial soonish. In the mean time here are the test/demos
reloading frame variant: http://aaron.oirt.rutgers.edu/myapp/root/misc/frameTest non-reloading ajax variant: http://aaron.oirt.rutgers.edu/myapp/root/misc/ajaxTest The implementation supports large externally stored trees. Source for the implementations and demos are available from the WHIFF mercurial archive http://aaron.oirt.rutgers.edu/cgi-bin/whiffRepo.cgi Hope you like! -- Aaron Watters === "keep off the grass" Peter Ustinov's requested gravestone epitaph. --- On Fri, 10/2/09, denis <denis-bz...@t-online.de> wrote: > From: denis <denis-bz...@t-online.de> > Subject: [Web-SIG] API to add a tree viewer / navigator to a web document ? > To: web-sig@python.org > Date: Friday, October 2, 2009, 7:29 AM > Folks, > for one of you experts, this must be trivial / must > exist already > within some big Python-web package: > > say I'm looking at a long web doc.html which has no tree > view on the > left, > but I can hack a local tree view file with level, name, > href like > > + 1 US href= ("+" button expands, "-" folds) > 2 Alabama href= > 3 ... > 2 Alaska href= > ... > + 1 Canada href= > ... > > Is there a small API that can generate a tree viewer / > navigator from > this, > either side by side in the same browser window with the > remote web > pages, or in a separate window ? > (The tree view lines can of course be reformatted to xml or > whatever > the API wants.) > > There are really 2 APIs here: > a) class TreeView > b) display the tree view and the remote web page in split > windows. > > (Is there a general introduction to Python-webbing > for someone who knows Python but almost no CSS nor web > services ?) > > Thanks, cheers > -- denis > > > > > > > _______________________________________________ > Web-SIG mailing list > Web-SIG@python.org > Web SIG: http://www.python.org/sigs/web-sig > Unsubscribe: > http://mail.python.org/mailman/options/web-sig/arw1961%40yahoo.com > _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com