I need to disable the visibility of a field. This field is located in a filter mask.
I tried to do this:
ObjectContext.getInstance().setFieldFeature(filter, ViewAspect.ASPECT_NAME, "regioneDaProvincia", ViewElementFeatures.VISIBLE, false);
but it doesn't work.
Thank you for your help.
the syntax of the command is right (in last versions of Roma you could also use a shorter version like Roma.setFieldFeature… ).
Maybe you put the instruction in the wrong place (I guess it's in a constructor…): try to implement ViewCallback and put that line of code in the onShow() method
ops.. sorry…. Mario :-P
Log in to post a comment.