[flexcoders] Re: Cairngorm Issue

2007-12-07 Thread mydarkspoon
I can't notice anything wrong with the code...
Did you check the workflowState actually changes ?

--- In flexcoders@yahoogroups.com, Manu Dhanda <[EMAIL PROTECTED]> wrote:
>
> 
> Code for ValidatePanel.mxml :
> 
>xmlns:mx="http://www.adobe.com/2006/mxml";
>   xmlns:loginview="com.mot.stir.view.loginview.*"
>   title="Login" 
>   horizontalAlign="center" 
>   verticalAlign="middle"> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
> 
> Thanks.
> Manu.
> 
> 
> mydarkspoon wrote:
> > 
> > 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 
wrote:
> >>
> >> 
> >> Hii..
> >> 
> >> I am trying to learn how to use cairngorm. Now, I am creating
> > Login/Register
> >> page. 
> >> The structure is like below:
> >> 
> >>
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 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.
> >>
> > 
> > 
> > 
> > 
> 
> -- 
> View this message in context:
http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14209723
> Sent from the FlexCoders mailing list archive at Nabble.com.
>




[flexcoders] Re: Cairngorm Issue

2007-12-07 Thread mydarkspoon
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:
> 
>
> 
> 
> 
> 
> 
> 
> 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.
>