Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 12:11, 23 August 2007.

KIJ000606 - Default selection in a choiceGroup may not be effective right after MIDlet startup

From Forum Nokia Wiki


Default selection in a choiceGroup may not be effective right after MIDlet startup
KIJ000606
Overview
-
Reported against
S60 2nd Edition
S60 3rd Edition
Nokia N91, Nokia 6681, Nokia N70, and Nokia N93
Category
Java
Subcategory
MIDP1.0/2.0
Date identified
March 30, 2007
Symptoms
-
Detailed description
The default value of a choiceGroup may not be passed on to the itemStateListener on MIDlet startup.
When one or more of the textFields is set to uneditable depending on the state of a choiceGroup at MIDlet startup in a MIDlet with a couple of text fields and a choiceGroup, it may be possible to insert text into the field until the current value of choiceGroup is passed on to the itemStateListener.  
How to reproduce
 
Solution
Set the default constraint of the textField outside the ItemListener.
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX