HI Pijus,
Assume there is a screen “ABCD” consists of 10 fields [5 protected, 5 unprotected].
To find out which field is enable(unprotected)/disable(protected) do the following stuff inside “gx_preRender” method of GXBasicContext. Or inside gx_onInit() method of corresponding customized java ABCD.java.
///////////////////////////////////////
GXIFieldCollection coll = getGXSession().getScreen().getFields().getAppFields();
int count = coll.getFieldCount(),i=0;
while(i<count){
if(coll.getFieldAt(i).isProtected()){
System.out.println(coll.getFieldAt(i).getName()+" is disable");
}else {
System.out.println(coll.getFieldAt(i).getName()+" is enable");
}
i++;
}
///////////////////////////////////////
Thanks
Arijit 
#webMethods#ApplinX#Mainframe-Integration