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


RF Radio Frequency Cautery High Electro Electrosurgery Surgical Generator Set picture

RF Radio Frequency Cautery High Electro Electrosurgery Surgical Generator Set

$299.00



TSG-17 Signal Generator 100kHz-150MHZ RF/AM Radio Frequency Signal Generator NEW picture

TSG-17 Signal Generator 100kHz-150MHZ RF/AM Radio Frequency Signal Generator NEW

$78.80



MATRIX SYSTEMS SWITCH RADIO FREQUENCY MFR/PN 7705DRRIS picture

MATRIX SYSTEMS SWITCH RADIO FREQUENCY MFR/PN 7705DRRIS

$299.00



Lot of 50 HDW-IMP-80 Imprivata RF IDEAS Radio Frequency Proximity Reader picture

Lot of 50 HDW-IMP-80 Imprivata RF IDEAS Radio Frequency Proximity Reader

$489.99



RF Radio Frequency Cautery 3.5 Mhz High Electro Surgical Generator Set picture

RF Radio Frequency Cautery 3.5 Mhz High Electro Surgical Generator Set

$461.75



Laparoscopic Electrodes Needle Cautery Set For Radio Frequency 100 Piece picture

Laparoscopic Electrodes Needle Cautery Set For Radio Frequency 100 Piece

$350.00







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