Gene Amtower wrote: > I believe the Selection Handling page has an error in the section that > discusses selecting items through methods. It includes this text... > >> >> *Select Items* >> >> * selectAll(): Adds all items to the selection. Only available in >> /Multi/ and /Addaptive/ selections. >> * select(item): Selects the given item. Replaces current >> selection completely with the new item. >> * selectRange(start, end): Selects a range from start to end. >> >> // Select all items inside the list: >> list.selectAll(); >> >> // Read all entries from list: >> var children = list.getChildren(); >> >> // Replace the selection with the first item in list: >> list.select(children[0]); >> >> // Select both second and third item: >> list.selectItemRange(children[1], children[2]); >> >> > > The list at the top includes "selectRange" and the examples below > include "selectItemRange". From a search of the source, I see that > both functions exist in different class files for selections, but I > suspect only one of them is correct in the above list example. Based > on the API for the qx.ui.form.List class, I suspect these two method > names should both be selectRange.
You are right. If the object named "list" represents a qx.ui.form.List object, the method should be selectRange(). > > Is this forum the best way to raise issues with the documentation, or > should this be pushed through bugzilla instead? I don't mind alerting > the team when something isn't correct so that we are putting our best > foot forward to the public community, but I don't want to clutter up > this forum if it's not appropriate. If you are confident you found a bug, bugzilla is always the best way, also for documentation issues (product "website"), since bugs are actually what we will be working on. It is also always helpful if you provide the URL of the page you are looking at. If you're not sure and want to check your understanding, the mailing list is fine. T. > > Thanks, > > Gene > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > ------------------------------------------------------------------------ > > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
