Hi All,
i need to have view objects custom property be dynamic.
after little search i found we can set groovy expression for attributes custom property; blog
so i follwed the blog to achive same for VOs cutom property like below
public class VFlightBookingDefImpl extends ViewDefImpl {
@Override
public void resolveDefObject() {
super.resolveDefObject();
this.setPropertyExpression("test1", "'1'=='1'"); // here test1 is custom property defined at VO level
}
....
}
and access it as below :
#{bindings.VFlightBookingIterator.viewObject.properties.test1}
but it returnes string '1'=='1'
i dont know if its correct steps to do so and i am unable to find any documentation about it.
please help me out to find a solution for it.
thanks
-somesh