hi,
we have a very large Smartgwt-app.
1. what is the best way to replace childs from a shown layout?
should we first
layout.removeMember(child);
and than
child.markForDestroy();
or shall we directly
child.markForDestroy();
afterwards we want to call
layout.addMember(newItem)
.
2. are there any known issues with
layout.removeMember(child);
as I have seen an Exception from it in our logs:
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : Die Eigenschaft "getItems" eines undefinierten oder Nullverweises kann nicht abgerufen werden.
at Unknown.pGb(Exceptions.java:36)
at Unknown.o1b(Layout.java:1310)
?
(we are using smartgwt-5.0-2015-08-20) with IE-11).
Thank you.
we have a very large Smartgwt-app.
1. what is the best way to replace childs from a shown layout?
should we first
layout.removeMember(child);
and than
child.markForDestroy();
or shall we directly
child.markForDestroy();
afterwards we want to call
layout.addMember(newItem)
.
2. are there any known issues with
layout.removeMember(child);
as I have seen an Exception from it in our logs:
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : Die Eigenschaft "getItems" eines undefinierten oder Nullverweises kann nicht abgerufen werden.
at Unknown.pGb(Exceptions.java:36)
at Unknown.o1b(Layout.java:1310)
?
(we are using smartgwt-5.0-2015-08-20) with IE-11).
Thank you.
Comment