How to use RL2 in Flex
<s:Application
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mvcs="robotlegs.bender.bundles.mvcs.*"
xmlns:rl2="http://ns.robotlegs.org/flex/rl2"
xmlns:todo="robotlegs.bender.demos.todo.*"
xmlns:views="robotlegs.bender.demos.todo.views.*"
>
<fx:Declarations>
<rl2:ContextBuilder>
<mvcs:MVCSBundle/>
<todo:TodoConfig/>
</rl2:ContextBuilder>
</fx:Declarations>
----------------------------------------
It can't use
In using the flex demo?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Ondina D.F. on 18 Mar, 2014 08:34 AM
Hello,
I guess you are talking about this example:
https://github.com/robotlegs/robotlegs-demo-TodoList
The namespaces needed for rl and the todo classes inside your application tag:
Declarations:
Note that ContextBuilder is now ContextBuilderTag.
I hope that helps.
Ondina
2 Posted by haozi_lee on 18 Mar, 2014 08:38 AM
Thank you very much! 么么思密达
Support Staff 3 Posted by Ondina D.F. on 18 Mar, 2014 08:44 AM
You're welcome!
I forgot to add xmlns:todo ="example.todo.*" to the namespaces.
I edited the above example. Look at it again.
4 Posted by haozi_lee on 18 Mar, 2014 08:44 AM
Dear O.D.F
Thank you very much
------------------
李浩(Vincent Lee)
QQ:10290085
Tel:18656553250
------------------ 原始邮件 ------------------
发件人: "Ondina D.F.";<[email blocked]>;
发送时间: 2014年3月18日(星期二) 下午4:34
收件人: "坎客鼠"<[email blocked]>;
主题: Re: How to use RL2 in Flex [Robotlegs 2 #10373]
Support Staff 5 Posted by Ondina D.F. on 19 Mar, 2014 12:37 PM
No problem!
Ondina D.F. closed this discussion on 19 Mar, 2014 12:37 PM.