Good idea. I’ll try to do that…
> On Mar 8, 2018, at 9:04 PM, Alex Harui <aha...@adobe.com> wrote: > > It would be great to identify a bead from this pattern so others can just > drop a bead in their code instead of having to add a parameter and use > bracket access. > > I forgot that EscapedFragmentBead extends URLParameterBead. The > URLParameter bead currently just returns the entire query string, but some > other API could have it generate a ValueObject which would prevent naming > problems or have a query API like getParameter that would force you to use > string IDs that wouldn't be renamed. > > We want to try to package just about any solution as a bead so others > don't have to repeat the same set of steps. > > My 2 cents, > -Alex > > On 3/8/18, 1:50 AM, "Harbs" <harbs.li...@gmail.com > <mailto:harbs.li...@gmail.com>> wrote: > >> Just add the following to your main class: >> >> public var parameters:Object; >> >> Also: Make sure you use bracket access (i.e. this.parameters[“anything”] >> instead of this.parameters.anything) to the parameters var to prevent >> renaming problems when it’s minified. >> >> HTH, >> Harbs >> >>> On Mar 8, 2018, at 3:48 AM, doug777 <doug777...@gmail.com> wrote: >>> >>> Hi Harbs, >>> >>> I don't understand how to access these parameters in the app's main file >>> since Application.parameters.anything won't compile. >>> >>> Doug >>> >>> >>> >>> -- >>> Sent from: >>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-ro >>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-ro> >>> yale-users.20374.n8.nabble.com >>> <http://yale-users.20374.n8.nabble.com/>%2F&data=02%7C01%7Caharui%40adobe.com >>> <http://40adobe.com/>%7C13c >>> a54a2853147d8382808d584d9fe48%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0% >>> 7C636560994180269800&sdata=3XoMuxOTZ60XBW85rNwRklOqyspeMbKjhntwyW7O3v0%3D >>> &reserved=0