SF arrays
Steve Loughran <[email protected]> Fri, 21 Apr 2006 13:03:54 +0100
| Newsgroups | gmane.comp.java.smartfrog.devel |
|---|---|
| Message-ID | <[email protected]> |
I have a couple of q's about arrays
1. what you get when you resolve them
If I sfResolve("listeners") when it is something like l
listeners [ LAZY console, LAZY xmlListener];
What I get back is not an vector of resolved links, its an vector of
references. I seem to need to check for everything that is a reference
and if so, resolve it by hand.
(a) this is not what I want. Is it by design?
(b) is there some utility method that exists to run through a vector and
resolving things
the other question about arrays is : why arent trailing commas allowed:
something [
"one",
"two",
"three",
]
is an error because of the final ,. However, Java happily takes and
discards the trailing comma in an array, because its so easy to leave in.
-steve
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642