Hi Malik,
 
it seems that the model object com.adobe.cairngorm.samples.login.model.Login conflicts with another root MXML component, which is also called Login (Login.mxml). You can either use another name for the root MXML component as I did (i.e. CairngormLogin.mxml), or use absolute paths when using com.adobe.cairngorm.samples.login.model.Login in this project.
 
I can't reproduce your Design mode warning. Maybe this relates to the naming conflict?
 
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]

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of malik_robinson
Sent: 18 July 2006 00:37
To: [email protected]
Subject: [flexcoders] Trying out Cairngorm Login Example

Hi,

I am trying to use the Cairngorm framework and following this tutorial, but I get 1 error and 1 warning that prevent things from working

http://weblogs.macromedia.com/auhlmann/  - Link to tutorial for those who may be looking. 

This is just a warning in Flexbuilder so it might not be a big deal:
Design mode: Error creating item LoginPanel in parent ViewStack "appView". Please choose Design > Refresh to refresh design mode. Login.mxml

The "other error" that causes things to break is:
'login': identifier and class may not have the same name. Login  line 47 July 17, 2006.  It points to this line of code:

<view:LoginPanel id="login" login="{ model.login }"/>  It seems to be some name clashing due to perhaps a class being named the same as the id attribute of the above.   I am using this code right out of the box. 

Anyone have any suggestions or possibilities.  I tried renaming the 'id' to something else, but it seems to require that Id as I got tons of other errors in other files that seem to be looking for a specific value of 'login' for the id attribute when I renmaed it.

Thanks,

Malik

 

 

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to