Simple View Problem

Pav's Avatar


04 Feb, 2011 07:49 PM

I am just starting using Robotlegs by building a site with it. I am using the FlashGoogleMaps project as a model to set up my project and basically just get the hang of it. At this point, all I really want to do is add this view to the stage and see it show up. I have already set up my models for xml and json but it seems that the view mediator returns the view I injected as null. I am doing it the same way as the example. So i am not sure what is wrong. Here are my pastebins. Any help is appreciated. - context - PrepViewCommand - mediator - view

  1. Support Staff 1 Posted by Stray on 04 Feb, 2011 07:59 PM

    Stray's Avatar

    Ah - this is a quick one, the injection tag is

    [Inject] (uppercase I )


    [inject] (lower case i )

    easily done :)

    While you're getting started, you might want to check out the 'common problems' documentation when ever you hit things like this:

    Glad to be of help,


  2. 2 Posted by Pav on 04 Feb, 2011 08:07 PM

    Pav's Avatar

    Thanks. I'll check it out.

  3. Stray closed this discussion on 11 Feb, 2011 11:19 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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