Open GoogleCodeExporter opened 9 years ago
Hi shameersalim,
I think I know what you are talking about.
In order to pass data to the components in the header renderer you need to do
this:
1. <flexlibContainer:WindowShade data="My data"> --> you set the data on the
window
shade level.
2. You access it in the renderer like this:
<flexlibContainer:headerRenderer>
<mx:Component>
<flexlibControl:CanvasButton label="{WindowShade(parent).data}"
I hope this solve your problem,
Cheers,
Viktor Stevich
Original comment by fisherne...@googlemail.com
on 7 Apr 2010 at 9:45
Hello, I was wondering if the solution proposed above works...It does not
appear to work for me. Well, I am getting a warning
warning: unable to bind to property 'parent' on class
'com.blah.view.browse.skin::FileNameInnerClass0'
where I am referencing the data value {WindowShade(parent).data}
from the parent WindowShade tag
<flexlib:WindowShade id="browseButton"
opened="true"
paddingTop="0"
headerLocation="bottom"
openEnd="mainBrowser.visible=false; browseButton.height = this.height;MainBrowseAreaDrawerSkin.icon = MainBrowseAreaDrawerSkin.addIcon"
closeEnd="mainBrowser.visible=true; MainBrowseAreaDrawerSkin.icon = MainBrowseAreaDrawerSkin.closeIcon"
width="100%"
height="100%"
chromeColor="#83389b"
openDuration="1000"
data="{hostComponent.mySeriesLength}">
should WindowShade(parent) be parentDocument (Flex 4)?
thanks
Edward
Original comment by edwardan...@gmail.com
on 29 Jul 2010 at 8:50
Original issue reported on code.google.com by
shameers...@gmail.com
on 12 Feb 2010 at 8:14