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

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

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