I'm trying to make a very simple hello world application with RL2 but it
seems I'm hitting the wall:
I have a main App.mxml and a TestView.mxml, TestView is being included
in App.mxml: <view:TestView />
First I build the context using the context builder on
applicationComplete event in app.mxml:
var context:IContext = builder
.withBundle(ClassicRobotlegsBundle)
.withConfig(ApplicationConfig)
.withContextView(this)
.build();
the ApplicationConfig contains only this in "configure":
mediatorMap.map(TestView).toMediator(TestViewMediator);
After creating the context, I add TestView to App:
addElement(new TestView());
I launch the application but the TestViewMediator.initialize() is never
called.
I obviously misconfigured something somewhere. Can someone please
provide a simple example on how RL2 is initialized with a simple use
case such as this, Google has no answer to this question :)
Thank you in advance !
Robotlegs 2 is still under development and a number of pieces haven't been wired together yet. I'll take a look at this and get back to you with a working example soon.
> --
> You received this message because you are subscribed to the Google
> Groups "Robotlegs" group.
> To post to this group, send email to robo...@googlegroups.com
> To unsubscribe from this group, send email to
> robotlegs+...@googlegroups.com
> for support visit http://knowledge.robotlegs.org
As a long term user of RL1 I wanted to take a look at RL2. I understand
that it is still not ready for show time but that's okay for me. I just
need a small push in the right direction in order to have a starting point.
Keep doing good work :)
Not sure if I can attach files, but here goes:
Note: the package has changed from org.robotlegs.v2 to robotlegs.bender. See: https://github.com/robotlegs/robotlegs-framework/pull/58
=