BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-17-2006, 10:10 AM   #1
donricouga
Thumbs Must Hurt
 
Join Date: Jul 2006
Location: Atlanta
Model: 8703e
Carrier: Sprint
Posts: 58
Default ChoiceGroup SelectedFlags ???

Please Login to Remove!

I have an application which consists of a few different screens of javax.microedition.lcdui.Form.
One screen has a several ChoiceGroup Objects(Drop down type or Popup is what its called). When the user goes to the next screen, I simply save the whole Form Object of that screen by adding it to a global Vector because i need access to the other fields as well.
The problem with this is that the ChoiceGroup Objects appear to lose their selection states. I.E doing choiceGroup.getSelectedFlags() returns an array with all false in it even though when originally created, it had at least one true value.
Any idea why this is happening and how to correct it ?
Thanks

Last edited by donricouga; 08-17-2006 at 10:22 AM..
Offline  
Old 08-18-2006, 08:00 AM   #2
fbrimm
Thumbs Must Hurt
 
Join Date: Aug 2005
Model: 8830
Carrier: Verizon
Posts: 144
Default

Have you thought about storing the values from the screen in local variables before you move on to the next screen? I've written an app that uses a large number of screens during the use of the application, and as the user completes one screen I save the values I need and then on to the next screen.

fbrimm
Offline  
Old 08-18-2006, 09:40 AM   #3
donricouga
Thumbs Must Hurt
 
Join Date: Jul 2006
Location: Atlanta
Model: 8703e
Carrier: Sprint
Posts: 58
Default

The thing is this application is dynamic forms. I.e. i get XML from a database via WS Call and generate a form. The form could look like anything, so i have to make it as generic as possible.
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


DC 100A 100V Voltmeter Ammeter Volt Amp Meter Voltage Current Tester with Shunt picture

DC 100A 100V Voltmeter Ammeter Volt Amp Meter Voltage Current Tester with Shunt

$12.99



LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter picture

LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter

$9.95



US Stock Analog Panel AMP Current Ammeter Meter Gauge DH-670 0-200A DC & Shunt picture

US Stock Analog Panel AMP Current Ammeter Meter Gauge DH-670 0-200A DC & Shunt

$18.91



Digital Multimeter Voltmeter Ammeter AC DC Volt Ohmmeter Tester Meter Auto Range picture

Digital Multimeter Voltmeter Ammeter AC DC Volt Ohmmeter Tester Meter Auto Range

$9.95



DC 50uA 1mA 20mA 30A 85C1 Class 2.5 Analog Amp Panel Meter Gauge Current Ammeter picture

DC 50uA 1mA 20mA 30A 85C1 Class 2.5 Analog Amp Panel Meter Gauge Current Ammeter

$86.09



US Stock Analog Panel AMP Current Ammeter Meter Gauge DH-670 0-10A DC picture

US Stock Analog Panel AMP Current Ammeter Meter Gauge DH-670 0-10A DC

$13.23







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.