You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2018/03/16 08:59:28 UTC

[GitHub] Harbs commented on issue #129: Add ApplicationParametersBead

Harbs commented on issue #129: Add ApplicationParametersBead
URL: https://github.com/apache/royale-asjs/issues/129#issuecomment-373646644
 
 
   Here’s a distilled example of how to use these beads:
   ````
   <js:Application xmlns:js="library://ns.apache.org/royale/basic">
     <js:beads> 
       <js:ApplicationParametersCaseInsensitive id="parameters" />
     </js:beads>
     <js:initialView>
       <js:View/>
     </js:initialView>
   </js:Application>
   ````
   And assuming “app" is a reference to your main class you can get values like this:
   
   `var myVal:String = app.parameters.getValue("some_val”);`
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services