×
Namespaces

Variants
Actions

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

From Nokia Developer 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
CompatibilityArticle
Created: User:Technical writer 1 (30 Mar 2007)
Last edited: hamishwillee (16 Aug 2013)

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.  

Solution

Set the default constraint of the textField outside the ItemListener.

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

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×