Passing variable name into GWT's JSNI?

You may also want to look at the GWT 'Dictionary' class. It's ideal for loading values, i.e. Parameters from the host page.

Brilliant! I'll look into the Dictionary too although we're aiming for re-usable JSP tags which can grab particular session attributes and dump them to pages where they're needed. It's not perfect but the Dictionary still requires two things to think about and the tags give us easy validation against a TLD.

Thanks! – Chris J Jul 3 '09 at 15:27.

Which will return the contents of a JavaScript variable called foo. How can I expand upon this to accept the variable name as a parameter? Results in the JavaScript hunting for a declaration of a variable named foo and not one named with the value of foo.

Thanks very much!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions