RE: __data__ object
"Christian Boulanger" <[email protected]>
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Message-ID | <002b01c375b3$b7acd960$0300a8c0@Laptop> |
Duh. I found it: it is "eval" as the "profile" parameter.
But the Javascript would still be in this format?
////////// begin data.js /////////////
var myObj = { arrProp : ["foo", "bar"],
strProp : "baz",
};
// do other stuff to the object here
// the next line is important, as it is
// what "returns" the object from this file.
myObj;
//////////// end data.js ///////////////
C.
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Christian Boulanger
> Sent: Monday, September 08, 2003 11:28 AM
> To: 'netWindows development discussion list'
> Subject: RE: [NW-Devel] __data__ object
>
>
> > > In the manual it said tha you can also use the __data__ object for
> > > javascript data assignment - would the content of the js -
> > file be the
> > > same?
> >
> > I'm not sure I understand the question. Can you clarify?
>
> It said somewhere (I cannot find it again) that instead of
> "shallow" and "deep", one could also specify "javascript" or
> something like that to parse the response as such .. Sorry to
> be so vague, I read the manual yesterday but cannot find the
> spot where I saw that....
>
> C.
>
>
> _______________________________________________
> The netWindows developers list: [email protected]
> http://netwindows.org/mailman/listinfo/devel_netwindows.org
>
>
_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org