Re: How can I get the value of url passed vars?

Dmitry Skavish <[email protected]> Thu, 05 Dec 2002 11:48:11 -0500
Newsgroups gmane.comp.java.jgenerator.devel
Message-ID <[email protected]>
William L. Thomson Jr. wrote:

> How can I get the values of vars I am passing to my swt via the url
>
> my.swt?my_var=value
>
> How can I get the value of my_var?
>
> I tried
>
> context.getValue();

It should work. In fact it does. :)
If you cannot get the variable using this method, the something is wrong.

> using the context that is part of the doCommand function. Do I need to
> get the context from the parentScript?

No, they all are linked together and delegate the request (getValue()) to its
parent.

-- 
Dmitry Skavish
-----------------------
Boston, MA, USA
tel. +1 781 370-6909
http://www.jzox.com
http://www.flashgap.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf