tag:robotlegs.tenderapp.com,2009-10-18:/discussions/robotlegs-2/10373-how-to-use-rl2-in-flexRobotlegs: Discussion 2014-03-19T12:37:37Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/321424562014-03-18T08:34:45Z2014-03-18T08:43:49ZHow to use RL2 in Flex<div><p>Hello,</p>
<p>I guess you are talking about this example:<br>
<a href=
"https://github.com/robotlegs/robotlegs-demo-TodoList">https://github.com/robotlegs/robotlegs-demo-TodoList</a></p>
<p>The namespaces needed for rl and the todo classes inside your
application tag:</p>
<pre>
<code><todo:TodoExampleApplication
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mvcs="robotlegs.bender.bundles.mvcs.*"
xmlns:rl2="robotlegs.bender.mxml.*"
xmlns:signals="robotlegs.bender.extensions.signalCommandMap.*"
xmlns:appConfig="example.todo.*"
xmlns:formConfig="example.todo.todoForm.*"
xmlns:listConfig="example.todo.todoList.*"
xmlns:view="example.todo.todoList.view.*"
xmlns:todo ="example.todo.*"
></code>
</pre>
<p>Declarations:</p>
<pre>
<code><fx:Declarations>
<rl2:ContextBuilderTag>
<mvcs:MVCSBundle/>
<signals:SignalCommandMapExtension/>
<appConfig:AppConfig/>
<formConfig:TodoFormConfig/>
<listConfig:TodoListConfig/>
</rl2:ContextBuilderTag>
</fx:Declarations></code>
</pre>
<p>Note that ContextBuilder is now ContextBuilderTag.</p>
<p>I hope that helps.</p>
<p>Ondina</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/321424562014-03-18T08:38:38Z2014-03-18T08:38:38ZHow to use RL2 in Flex<div><p>Thank you very much!
么么思密达</p></div>haozi_leetag:robotlegs.tenderapp.com,2009-10-18:Comment/321424562014-03-18T08:44:09Z2014-03-18T08:44:09ZHow to use RL2 in Flex<div><p>You're welcome!</p>
<p>I forgot to add xmlns:todo ="example.todo.*" to the
namespaces.<br>
I edited the above example. Look at it again.</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/321424562014-03-18T08:44:55Z2014-03-18T08:44:55ZHow to use RL2 in Flex<div><p>Dear O.D.F<br>
Thank you very much</p>
<hr>
<p>李浩(Vincent Lee)</p>
<p>QQ:10290085</p>
<p>Tel:18656553250</p>
<p>------------------ 原始邮件
------------------ 发件人: "Ondina D.F.";<a href=
"mailto:tender+df9cd56596535f8119236ef89a4e22f9c5de92240@tenderapp.com">tender+df9cd56596535f8119236ef89a4e22f9c5de92240@tenderapp.com</a>;<br>
发送时间:
2014年3月18日(星期二)
下午4:34<br>
收件人: "坎客鼠"<<a href=
"mailto:haozi_lee@qq.com">haozi_lee@qq.com</a>>;</p>
<p>主题: Re: How to use RL2 in Flex [Robotlegs 2
#10373]</p></div>haozi_leetag:robotlegs.tenderapp.com,2009-10-18:Comment/321424562014-03-19T12:37:34Z2014-03-19T12:37:34ZHow to use RL2 in Flex<div><p>No problem!</p></div>Ondina D.F.