Hi Claudia,
What seems to be missing is the namespace declaration in the
flex-config.xml file.
You can find the flex-config.xml file in your Flex server instance at
<flex_root>/WEB-INF/flex/flex-config.xml
Look for the namespaces tag. It will look like this:
<namespaces>
<namespace uri="http://www.macromedia.com/2003/mxml">
<manifest>/WEB-INF/flex/mxml-manifest.xml</manifest>
</namespace>
</namespaces>
and change it to:
<namespaces>
<namespace uri="http://www.macromedia.com/2003/mxml">
<manifest>/WEB-INF/flex/mxml-manifest.xml</manifest>
</namespace>
<namespace uri="http://www.iterationtwo.com/cairngorm">
<manifest>/WEB-INF/flex/cairngorm-manifest.xml</manifest>
</namespace>
</namespaces>
You will also need to make sure that you have the
cairngorm-manifest.xml file in your <flex_root>/WEB-INF/flex/
directory. This can be found where you extracted cairngorm and inside
the bin directory.
This should solve your namespace problems. Let me know how you go.
Thanks,
Andrew Spaulding
Adobe Systems
--- In [email protected], Claudia Barnal <[EMAIL PROTECTED]> wrote:
>
> Maybe if I include the errors I get when trying to compile the login
> sample, you would be able to tell me what's wrong.
>
> 7 Errors found.
>
> Error
/login/webapp/org/nevis/cairngorm/samples/login/business/Services.mxml:22
> Namespace http://www.iterationtwo.com/cairngorm has not been
> associated with component manifest.
>
>
> Error
/login/webapp/org/nevis/cairngorm/samples/login/business/Services.mxml:22
> No type for element
"http://www.iterationtwo.com/cairngorm:ServiceLocator"
>
>
> Error
/login/webapp/org/nevis/cairngorm/samples/login/business/Services.mxml:22
> Unexpected root element
> "http://www.iterationtwo.com/cairngorm:ServiceLocator" does not extend
> MovieClip
>
>
> Error /login/webapp/Index.mxml:43
> Don't know how to parse element
> "org.nevis.cairngorm.samples.login.business.*:Services". It is not a
> known type or a property of mx.core.Application.
>
>
> Error /login/webapp/Index.mxml:46
> Don't know how to parse element
> "org.nevis.cairngorm.samples.login.control.*:DemoControl". It is not a
> known type or a property of mx.core.Application.
>
>
> Error /login/webapp/Index.mxml:50
> Don't know how to parse element
> "org.nevis.cairngorm.samples.login.view.*:IndexViewHelper". It is not
> a known type or a property of mx.core.Application.
>
>
> Error /login/webapp/Index.mxml:53
> Don't know how to parse element
> "http://www.macromedia.com/2003/mxml:ViewStack". It is not a known
> type or a property of mx.core.Application.
>
> Claudia
>
--
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/