Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Default selection in a choiceGroup may not be effective right after MIDlet startup (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Tested with
Devices(s): Nokia N91, Nokia 6681, Nokia N70, and Nokia N93
Created: User:Technical writer 1 (30 Mar 2007)
Last edited: hamishwillee (16 Aug 2013)


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.  


Set the default constraint of the textField outside the ItemListener.

This page was last modified on 16 August 2013, at 01:04.
46 page views in the last 30 days.