[Zope] Fancy selection with checkboxes

Jonathan Hobbs toolkit at magma.ca
Tue Jan 11 07:22:08 EST 2005


From: "Florian Reiser" <florian_reiser at gmx.de>
>
> do you have an idea, where I find such an javascript?
>
> Greets
>
> Florian
> >
> >
> > --On Montag, 10. Januar 2005 17:14 Uhr +0100 Florian Reiser
> > <florian_reiser at gmx.de> wrote:
> >
> > > Hello Zopistas,
> > >
> > > I have an hierarchical structure (e.g. folders).
> > > With this structure I want to generate a tree in Zope, where each item
> > > has a checkmark.
> > >
> > > If I select one checker, then all items below it should be selected,
> > too.
> > >
> > > If I then uncheck one checker, then the checker above that, should
> > appear
> > > gray.
> > >
> > > Maybe you know this tree from graphical tape backup applications.
> > >
> > > Is there a product for zope, which helps me generating such a tree?
> > >
> >
> > This is basically an issue that you would solve on the client-side using
> > Javascript.

Here is a tutorial on using javascript with html forms:

http://www.webdevelopersjournal.com/articles/jscript_forms1.html

You can also google for javascript code (many web sites offer free js
routines which you can modify to suit your needs).


Jonathan





More information about the Zope mailing list