Can you post the shole code for the component that hosts the view stack ? If you tested the model workflowState and it did changed I guess that the problem is with your model reference variable is not set to be bindable with the [Bindable] metadata tag (although the ModelLocater instance is set to be bindable, any reference to it must be bindable as well). If it's not the 2nd place I would check would be the getView()...
Anyway, it would be much helpful to see your code. --- In flexcoders@yahoogroups.com, Manu Dhanda <[EMAIL PROTECTED]> wrote: > > > Hii.. > > I am trying to learn how to use cairngorm. Now, I am creating Login/Register > page. > The structure is like below: > <mx:Panel> > <mx:ViewStack id="validateView" selectedChild="{ getView( > model.workflowState ) }"> > <loginview:LoginForm id="loginForm"/> > <loginview:RegisterForm id="registerForm"/> > </mx:ViewStack> > <loginview:LoginAndRegisterControlBar id="lnrControlBar"/> > </mx:Panel> > > In the code, loginForm & registerForm are two forms. and below them is a > controlbar( which controls which form need to be displayed via a link > button. > > The issue is, initially, login form displayed fine. But, when I click the > link button to display the registerForm, it only displays the 'textfields' > and none of the labels being displayed. > > First I thought, there might be an issue with registerForm code, but then I > set the registerForm to be displayed as the application default & it > displays fine and then same problem happen with login form(i.e. only text > fields displyed with none labels in front of them. > > Any help to resolve this issue will be great. > > Thanks. > -- > View this message in context: http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14206482 > Sent from the FlexCoders mailing list archive at Nabble.com. >