Re: [flexcoders] Cairngorm Issue
Code for Form: http://www.adobe.com/2006/mxml";> Thanks. Ralf Bokelberg-2 wrote: > > What does the code of the forms look like? > > Cheers > Ralf. > > > On Dec 12, 2007 5:25 AM, Manu Dhanda <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> >> >> Anyone with some comments on this issue?? >> >> Thanks. >> Manu. >> >> >> >> Manu Dhanda wrote: >> > >> > Yes, as I said, with the click of the link button, other form >> load(from >> > loginForm to registerForm). But, the fields on the form are not >> displaying >> > in a right manner. Only the textfields are being displayed, and labels >> in >> > front of those textfields disappered. >> > >> > Thanks. >> > Manu. >> > >> > mydarkspoon wrote: >> >> >> >> 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. >> >>> >> >> >> >> >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Cairngorm-Issue-tp14206482p14288804.html >> >> Sent from the FlexCoders mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Cairngorm-Issue-tp14206482p14290064.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Cairngorm Issue
What does the code of the forms look like? Cheers Ralf. On Dec 12, 2007 5:25 AM, Manu Dhanda <[EMAIL PROTECTED]> wrote: > > > > > > > > Anyone with some comments on this issue?? > > Thanks. > Manu. > > > > Manu Dhanda wrote: > > > > Yes, as I said, with the click of the link button, other form load(from > > loginForm to registerForm). But, the fields on the form are not > displaying > > in a right manner. Only the textfields are being displayed, and labels in > > front of those textfields disappered. > > > > Thanks. > > Manu. > > > > mydarkspoon wrote: > >> > >> 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. > >>> > >> > >> > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Cairngorm-Issue-tp14206482p14288804.html > > Sent from the FlexCoders mailing list archive at Nabble.com. > >
Re: [flexcoders] Cairngorm Issue
Anyone with some comments on this issue?? Thanks. Manu. Manu Dhanda wrote: > > Yes, as I said, with the click of the link button, other form load(from > loginForm to registerForm). But, the fields on the form are not displaying > in a right manner. Only the textfields are being displayed, and labels in > front of those textfields disappered. > > Thanks. > Manu. > > mydarkspoon wrote: >> >> 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. >>> >> >> >> >> > > -- View this message in context: http://www.nabble.com/Cairngorm-Issue-tp14206482p14288804.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Cairngorm Issue
Yes, as I said, with the click of the link button, other form load(from loginForm to registerForm). But, the fields on the form are not displaying in a right manner. Only the textfields are being displayed, and labels in front of those textfields disappered. Thanks. Manu. mydarkspoon wrote: > > 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. >> > > > > -- View this message in context: http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14217248 Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Cairngorm Issue
Code for ValidatePanel.mxml : 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 <[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. >> > > > > -- View this message in context: http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14209723 Sent from the FlexCoders mailing list archive at Nabble.com.
RE: [flexcoders] Cairngorm issue
Hi Larry, You can read about the ModelLocator here: http://www.macromedia.com/devnet/flex/articles/cairngorm_pt2_06.html Part 3 talks about it as well. There are 6 parts in total, currently available here: http://www.macromedia.com/devnet/flex/ Best, Alex Alex Uhlmann Consultant (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6969 m: +44 (0) 7917 428 951 [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Larry Liang Sent: 03 April 2006 07:24 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm issue Hi, I'm trying to use cairngorm 2.0 design pattern to build a ria. Can someone explain a little bit about "ModelLocator". It is a new component introduced in Cairgnorm 2. I was just wondering what it does and how should I use it. Thanks, Larry -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/