Hi Hugo,

Try to look into bead ->

 <j:beads>
    <js:BrowserRouter id="appRouter">
          <js:RouteToParameters />
    </js:BrowserRouter>
</j:beads>

You can extend RouteToParameters and override method stateChanged - to grab
params from url. I have above code placed in main application file.

Thanks,
Piotr

niedz., 17 paź 2021 o 22:27 Hugo Ferreira <[email protected]>
napisał(a):

> I found the solution here:
>
> https://lists.apache.org/api/source.lua/9839ff2317670a972f4e44c73fbe7925b163b1c42923416342defd9e@%3Cdev.royale.apache.org%3E
> Thank you.
>
> Hugo Ferreira <[email protected]> escreveu no dia domingo, 17/10/2021
> à(s) 21:04:
>
> > Hi,
> >
> > I was beeing 100% focus on supporting my Flex application and now I will
> > focus 100% on Apache Royale, continuing where I stopped (a Word Add-In
> made
> > with Apache Royale).
> >
> > For my Word Add-In, I added 2 ribbon buttons that calls a embeded Apache
> > Royale Application.
> > I want to call with a url variable to know which button was preesed.
> >
> > So, how to query a url variable (if is possible) from a Apache Royale
> > Application ?
> >
> > Regards,
> > Hugo.
> >
>


-- 

Piotr Zarzycki

Reply via email to