Ticket #61 (closed enhancement: fixed)

Opened 6 years ago

Last modified 4 years ago

Radio buttons for baseLayers

Reported by: sypasche Owned by: sypasche
Priority: blocker Milestone: 1.0 Release
Component: Tree.client Version: SVN
Keywords: Cc:
State: Review

Description

Use radio buttons to ensure only one base layer can be selected

Attachments

patch_tree_radio_v0.diff (43.1 kB) - added by sypasche 5 years ago.
patch tree radio v0

Change History

Changed 5 years ago by elemoine

  • milestone set to 0.3 Release

Changed 5 years ago by sypasche

patch tree radio v0

Changed 5 years ago by sypasche

  • state set to Review

This extends some Ext objects to add radio button capability for base layers. At the same time, I have refactored things a bit. Internal variables that were just used inside _handleModelChange() are not properties of the tree object. These properties are structure for faster access to objects, which should be updated by calling _updateCachedObjects() when needed.

This refactoring makes it possible to share structures with other methods. I did this and fixed the _updateOrder() method which had not been updated for dealing with multiple layerNames per node (so drag/drop was broken in that case). I hope this refactoring should also make it better for implementing things like ticket:56.

Unit tests have been completed and updated for checking that the radio button is used correctly and I have run the tests on Firefox 3, Opera 9.5 and IE6.

Changed 5 years ago by fredj

  • status changed from new to closed
  • resolution set to fixed

r698 fix it. Thanks Sylvain

Changed 5 years ago by elemoine

  • milestone changed from 0.3 Release to 1.0 Release

Changed 5 years ago by elemoine

  • type changed from defect to enhancement

Changed 4 years ago by bilok

cheap ed hardy 50% Off for Ed Hardy Clothing,Christian Audigier Clothes,Ed hardy tattoo,Ed Hardy,Christian Audigier,Ed Hardy Hat,Ed Hardy Shirt,Ed Hardy Hoodies,Ed Hardy ed hardy Don Ed Hardy is known as the godfather of modern tattoo,Wholesale Ed Hardy for his sophistication, depth and sense of experimentation.

Note: See TracTickets for help on using tickets.