@@ -458,7 +458,7 @@ public class UIDL { | |||
} | |||
} | |||
public int getChidlCount() { | |||
public int getChildCount() { | |||
return json.size() - 2; | |||
} | |||
@@ -248,7 +248,7 @@ public class ITree extends FlowPanel implements Paintable { | |||
} | |||
if (uidl.getTag().equals("node")) { | |||
if (uidl.getChidlCount() == 0) { | |||
if (uidl.getChildCount() == 0) { | |||
childNodeContainer.setVisible(false); | |||
} else { | |||
renderChildNodes(uidl.getChildIterator()); |
@@ -64,7 +64,7 @@ public class IView extends SimplePanel implements Paintable, | |||
int childIndex = 0; | |||
// Open URL:s | |||
while (childIndex < uidl.getChidlCount() | |||
while (childIndex < uidl.getChildCount() | |||
&& "open".equals(uidl.getChildUIDL(childIndex).getTag())) { | |||
final UIDL open = uidl.getChildUIDL(childIndex); | |||
final String url = open.getStringAttribute("src"); |
@@ -259,8 +259,8 @@ public class IWindow extends PopupPanel implements Paintable, ScrollListener { | |||
} | |||
// we may have actions and notifications | |||
if (uidl.getChidlCount() > 1) { | |||
final int cnt = uidl.getChidlCount(); | |||
if (uidl.getChildCount() > 1) { | |||
final int cnt = uidl.getChildCount(); | |||
for (int i = 1; i < cnt; i++) { | |||
childUidl = uidl.getChildUIDL(i); | |||
if (childUidl.getTag().equals("actions")) { |