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 pathswhen
usingcom.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 UhlmannConsultant (Rich Internet
Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg,
South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6969
m: +44 (0)7917 428 951[EMAIL PROTECTED]
http://weblogs.macromedia.com/auhlmann
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of
malik_robinsonSent: 18 July 2006 00:37To:
flexcoders@yahoogroups.comSubject: [flexcoders] Trying out Cairngorm
Login Example
Hi,
I am trying to use the Cairngorm framework and following
this tutorial, but I get1 error and 1 warningthat
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.Loginline 47July 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
Visit your group "flexcoders" on the web.
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___