How to access the (field) value of a Control on an Applet in a Physical Renderer
Hello,
I have a Physical Renderer that I am working on, I am able to get the control, but I need to access the actual field data of the control. How do I do this?
...
var ac_controls = this.GetPM().Get("GetControls");
var stOAKStatus = ac_controls["OAKStatus"];
var sOAKStatus = stOAKStatus.GetValue();
var sOAKStatus2 = stOAKStatus.GetInputName();
var sOAKStatus3 = this.GetUIWrapper(stOAKStatus).GetValue();
var sOAKStatus4 = stOAKStatus.GetDisplayName();
var sOAKStatus5 = this.GetPM().Get( "OAK Status" );
if ( sOAKStatus == "Requested" )
$("[name='" + stOAKStatus.GetInputName() + "']").css("color","orange");
else
$("[name='" + stOAKStatus.GetInputName() + "']").css("color","blue");
}
SiebelJS.Extend(OAKEpicRFHStatus, SiebelAppFacade.PhysicalRenderer);
...
I've tried all the above and nothing seems to work,