SmartGWT: Getting custom widget from VLStack

2019-09-08 23:49发布

问题:

Hi I have defined a custom widget: public class BookingArea extends Composite { ... } which contains some smartgwt widgets.

From my entrypoint class I add x amount of this widgets inside a VStack. I now want to remove some of the widgets from VStack as something like this:

Canvas members[] = vStack.getMembers();

for (int i = 0; i < members.length; i++) { //Here I want to check for example, a member of the BookingArea widget, //how do I convert one canvas to BookingArea?

}

Please help me I cant figure this out. Thank you in advance

回答1:

Solution: http://code.google.com/p/smartgwt/issues/detail?id=278



标签: gwt smartgwt