I'm trying to use XTemplates of GXT 3.0 (similar as EXT) and here are 2 simple java objects that have below relationship:
class A {
String name;
public String getName() {
return name;
}
}
class B {
String name;
public String getValue(A a) {
return a.getName();
}
}
I want to apply XTemplate with 2 arguments (List<< A>> aList, List<< B>> bList) for following template:
<tpl for="aList">
<tpl for="bList">
////// Questions? How to call function B.getValue(A) ???
///// this does not work for me: {this.getValue(parent)}
</tpl>
</tpl>
Have any body familiar with such kind request? Thanks.