Hi,

I want to let you know about some fixes and improvements.

1.- Jewel PresentationModels was not working fully since I was sometimes
initializing variables in the strand constructor. That's a bad practice
since it make impossible to use add a PM bead via MXML to a component.

for example you now can to:

<j:TabBar dataProvider="{tabBarData2}" width="145"
change="tbc.selectedContent = event.target.selectedItem.hash">
<j:beads>
<j:VerticalLayout/>
<j:TabBarPresentationModel align="right"/>
</j:beads>
</j:TabBar>

But before the fix, trying to do so will always create the PM at class
level ignoring that configuration.

2.- The fix involved to create new PMs since each component has different
needs.

3.- Also I added to catalog, since until yesterday you was not able to use
in mxml. So these are the actual PMs:

<component id="ListPresentationModel" class=
"org.apache.royale.jewel.beads.models.ListPresentationModel"/>
<component id="TabBarPresentationModel" class=
"org.apache.royale.jewel.beads.models.TabBarPresentationModel"/>
<component id="DataGridColumnListPresentationModel" class=
"org.apache.royale.jewel.beads.models.DataGridColumnListPresentationModel"/>
<component id="DataGridPresentationModel" class=
"org.apache.royale.jewel.beads.models.DataGridPresentationModel"/>


HTH

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to