I am converting a BOY OPI to a Display Builder .bob file. One of the scripts attached to the OPI retrieves the text of another (Text Update) widget as follows:
raw_curve_file_list_widget = display.getWidget("PredefinedCurveListOutput")
raw_string = raw_curve_file_list_widget.getPropertyValue("text")
When I convert to using Display builder I have:
raw_curve_file_list_widget = ScriptUtil.findWidgetByName(widget, "PredefinedCurveListOutput")
raw_string = raw_curve_file_list_widget.getPropertyValue("text")
However, when I try to run this in Display Builder, I get the error:
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Widget 'SelectedPredefinedCurveFileInput' (textentry) has no 'text' property
How can I access the text property of this widget in Display Builder?
--Ray