Derek Hohls pisze:
Grzegorz

No, I have not.  I have not used this before; is there any sample
code of how to work with the java widget iterator?

Not that I'm aware of but it's really not rocket science here. Maybe you got confused about java widget iterator. All I meant was that you will get object implementing Iterator[1] interface so you can use it as any other iterator in the loop.

The code sample in JS should look like:
for (var it = formmodel.children; it.hasNext(); var widget = it.next()) {
  //do whatever you want with widget here
}


[1] http://java.sun.com/j2se/1.4.2/docs/api/java/util/Iterator.html

--
Grzegorz Kossakowski

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to