Try replacing the call to getDisplayFieldValue("tbCityState")
in your logging with tbCityState.getValue();
This would make sense since you have already
obtained a reference to this object.
Hope this helps. Martin.
"Ron Schiller" <[EMAIL PROTECTED]> wrote:
>>Trying to read data the user may input >in a text box after a button press. Trying
to use the code below:>>CSpRepeated rgItineraryGrid = > (CSpRepeated)
getCommonRepeated("rgItineraryGrid");>
rgItineraryGrid.goToFirst();> >try>{ CSpTextBox tbCityState
= > (CSpTextBox)
rgItineraryGrid.getDisplayField("*tbCityState");> CSpHtml.sendMessage("
The first
tbCityState of rgItineraryGrid = " + >
getDisplayFieldValue("tbCityState") + "<br>");>}>catch(NullPointerException
ex)>{ CSpHtml.sendMessage(" The getDisplayField returned an exception" +
"<br>");>}>>The
output doesn't indicate a null but>simply outputs a blank. Any help would>be
greatly
appreciated. Thanks.
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]