Subj : RE: Integrating Java Maps in Rhino To : netscape.public.mozilla.jseng From : Rod Macpherson Date : Wed May 11 2005 07:36 am This is a multi-part message in MIME format. ------_=_NextPart_001_01C5562E.623DFF10 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Here is another way of stating the problem.=20 =20 We can dynamically add properties to a JavaScript object at will. How can we translate the key/value pairs in a Java Map to a set of properties on a JavaScript Object? The objective being the ability to use foo.bar syntax in JavaScript versus foo.get( "bar" ). =20 =20 ------_=_NextPart_001_01C5562E.623DFF10 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Here is another way of stating the =
problem.
We can dynamically add properties =
to a
JavaScript object at will. How can we translate the key/value pairs in a =
Java
Map to a set of properties on a JavaScript Object? The objective being =
the ability
to use foo.bar syntax in JavaScript versus foo.get( “bar” =
).