View Single Post
Old 04-23-2008, 02:31 PM   #10 (permalink)
bdowling
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

The code is only correct if field is an EditField, but the code doesn't check that it is.

Code:
if(field instanceof EditField)
{
    String text = ((EdtiField)field).getText(); 
    // do something with text
}
Offline   Reply With Quote