History log of /yui3/src/widget-parent/js/Widget-Parent.js
Revision Date Author Comments Expand
dffbe2d4e60ed4db1cecdea6cec2041eed9ff555 17-Mar-2012 Satyen Desai <sdesai@yahoo-inc.com>

* More filling out of parent/child unit tests. * Found a bug in the process. Removing a focused child does not reset the parent's activeDescendant state (it was using child.set("focused", false), which is readOnly. Changed to child.blur(). Fixes #2531907

1df84ffb9aca4272e816ec9205c44b42161d9252 15-Sep-2011 Satyen Desai <sdesai@yahoo-inc.com>

Fixed issue where previously rendered children, added to an empty parent, would not get rendered into the parent's child container node. Based on the pull request from andreas-karlsson, with the root fix *and* unit test (nicely done): https://github.com/yui/yui3/pull/25 Fixes #2531093

df315088426ba61b1911bca0c888843588e552e9 13-Sep-2011 Satyen Desai <sdesai@yahoo-inc.com>

Added additional check in _uiAddChild, to make sure prev/next sibling is rendered before trying to insert content relative to it. NOTE: This fix is not really required for the out-of-the-box parent/child implementation, but came up because a user had a custom impl. which made child.render() async [probably a valid usecase for parent/child]. See Fixes #2529863

c5d69e6f30e09e2833161efb5393ecc8a8c9d8d6 09-Sep-2011 Satyen Desai <sdesai@yahoo-inc.com>

Use extension destructor support, rather than AOP'ing destructor, which won't work. Fixes #2529785

6eae5adc42f886ebacac1f714be3f0c9e4b205c1 05-Aug-2011 Luke Smith <lsmith@yahoo-inc.com>

Remove "Y." from @param and @return types yuidoc doesn't link class types that start with "Y."

516282bd16544bd0fa68565203a4fa8ef51036c7 22-Oct-2010 Satyen Desai <sdesai@yahoo-inc.com>

Fixed WidgetParent remove, to remove child from DOM also. Added tests cases. Fixes #2528911

78b2f85243d415328c137882ec8f12fd5d3ae5c7 22-Oct-2010 Satyen Desai <sdesai@yahoo-inc.com>

Fixed WidgetParent remove, to remove child from DOM also. Added tests cases. Fixes #2528911

8eeecb166fc5e24e85655a5f792d18ddd9f2a8fe 21-Oct-2010 Satyen Desai <sdesai@yahoo-inc.com>

Changed 'type' to 'childType' when adding children using the object literal notation.'type' is still supported for backward compatibility, but 'childType' takes precedence, Fixes #2529422, #2529280

30bf1c0f48604e06e2204b98d2e1584c7a8e6f73 13-Oct-2010 Satyen Desai <sdesai@yahoo-inc.com>

instanceof to Y.instanceOf, to prevent mem leaks in IE7. See #2529344

/yui3/build/attribute/attribute-base-debug.js /yui3/build/attribute/attribute-base-min.js /yui3/build/attribute/attribute-base.js /yui3/build/attribute/attribute-debug.js /yui3/build/attribute/attribute-min.js /yui3/build/attribute/attribute.js /yui3/build/widget/widget-child-debug.js /yui3/build/widget/widget-child-min.js /yui3/build/widget/widget-child.js /yui3/build/widget/widget-parent-debug.js /yui3/build/widget/widget-parent-min.js /yui3/build/widget/widget-parent.js /yui3/build/widget/widget-stdmod-debug.js /yui3/build/widget/widget-stdmod-min.js /yui3/build/widget/widget-stdmod.js /yui3/src/attribute/README /yui3/src/attribute/js/Attribute.js /yui3/src/widget-child/README /yui3/src/widget-child/js/Widget-Child.js /yui3/src/widget-parent/README Widget-Parent.js /yui3/src/widget-stdmod/README /yui3/src/widget-stdmod/js/Widget-StdMod.js
ed25cffcf27228cd30fdcf77390876b01cea85f4 08-Jul-2010 Luke Smith <lsmith@yahoo-inc.com>

Add @uses ArrayList for API doc linking

7ac11d1af34fb56106fe31bef3169db83687dd69 27-Apr-2010 Satyen Desai <sdesai@yahoo-inc.com>

Fixed API docs for addChild, removeChild events. Fixes #2528795

0159bcf230ef375f776f086fbee832e538128737 12-Mar-2010 Satyen Desai <sdesai@yahoo-inc.com>

Added prevSibling check to WidgetParent _uiAddChild logic, to cover addition of first child

4d02898155824c223461839de7294f256010f078 12-Mar-2010 Satyen Desai <sdesai@yahoo-inc.com>

Fixed incorrect index being passed around in the WidgetParent addChild event facade, and fixed logic in _uiAddChild to allow for decorator elements in the WidgetParent child container (came out of TabView Add/Remove Tabs example, which introduces a dummy decorator tab, which acts as a add tab button but is not really a WidgetChild)

8210c45660fdfb72dd288f258040dd11b6ba71b2 12-Mar-2010 Satyen Desai <sdesai@yahoo-inc.com>

Changed focusedChild (back) to activeDescendant. Turns activeElement is supported by the A-Grade, and is in the HTML5 spec. Also changing it to descendant, rather than child seemed to make sense as the low-level state, since only one widget actually has real focus. activeChild can be calculated from activeDescendant. See #2528688

761b73849453c76dd2e3e60aee5c1e4368017717 11-Mar-2010 Satyen Desai <sdesai@yahoo-inc.com>

Renamed activeItem to focusedChild as per comments in bug report. Fixes #2528688. Also cleaned up some temp sandbox files.

071296c6516e88d75a19ce1bc713028d2e6ddc9b 11-Mar-2010 Satyen Desai <sdesai@yahoo-inc.com>

Added _childrenContainer property to allow WidgetParents to define where their children should be rendered. Defaults to parent's contentBox. Fixes #2528687

c786e5296b2149ab5276437ee46250e15d50e2d7 12-Feb-2010 Matt Sweeney <matt.sweeney@yahoo.com>

added WidgetParent::selectChild

0891d75cb3cc23db8fc2846447c429a4015a7afb 11-Feb-2010 Todd Kloots <kloots@yahoo-inc.com>

Updates

e5d99b4181f3bba120a3ac56dfdec27e87884d73 09-Feb-2010 Todd Kloots <kloots@yahoo-inc.com>

Integration with ArrayList and other enhancements.

4c7a70781f144c291a6b8626b33ef07908ac1b43 08-Feb-2010 Matt Sweeney <msweeney@wifi-e-135-236.corp.yahoo.com>

tabview build changes

44b54dfa1600bfabeb691e996b904031d01b84ea 18-Jan-2010 Todd Kloots <kloots@yahoo-inc.com>

Calling destroy on a parent will now automatically destroy its children.

5ade5e81a333bf99e7eb5c1347fcb3d2de2d1e9b 04-Jan-2010 Todd Kloots <kloots@yahoo-inc.com>

- "defaultItemType" attribute renamed "defaultChildType" - "defaultChildType" attribute can now take a constructor reference - "items" attribute now "children" - "items" attribute will return a copy of the array to keep the parent's collection protected - "itemAdded" event renamed "childAdded" - "itemRemoved" event renamed "childRemoved"

305beb81428214fbfb7b46543834613f0fbc350e 16-Dec-2009 Todd Kloots <kloots@yahoo-inc.com>

Selection model updates and other refinements

43c9d6b07e8e69876518231236bdd1ab2b043ae7 10-Dec-2009 Todd Kloots <kloots@yahoo-inc.com>

Updates to tablist reference implementation

854a23d93717a2fa689ee6f102f1d511ea37e086 03-Dec-2009 Todd Kloots <kloots@yahoo-inc.com>

Fixed method overlay with Y.WidgetChild

aacc7c2be5854cf3e80028d47a46b6e6c39cc7ce 03-Dec-2009 Todd Kloots <kloots@yahoo-inc.com>

Fixes for selection functionality

0c7476a63b7d7b81ade0fbc59f7b18b15b2fd4c8 30-Nov-2009 Todd Kloots <kloots@yahoo-inc.com>

Initial checkin of two new Widget extensions: Y.WidgetParent and Y.WidgetChild