1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 <2018> 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 <2018> 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Problem accessing TextUpdate text property in Display Builder script. |
From: | "Gregory, Ray" <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Tue, 22 May 2018 21:19:05 +0000 |
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 |