List option confusion... need recommendation

Looking through the Docs, I have 4 different options for what I'm trying to do, but none of them pop right out of me as having an option of key value pairs.

I have a list returned to me with 2 columns of my webservice of 1 point and the 5 elements, so when the user selects the search button, the request goes back to the web service and then the webservice spits back results, column 1 is supposed to be used as column 2 key is the value to display, but I don't want to not display the key However, the key is absolutely crucial for the rest of the process.

I watched first based on text drop-down list, this gives a nice visual look but loss of key, then I watched the simple list, not as a user attractive the dropdown menu, graphically, in any case, once again, the loss of key, then I looked on the list of the rich, cooler looking, once again, useless , but because I can't hide the key and I don't have any extra options such as a picture or a description, I just want to show a single string no larger than 25 characters, so finally I glimpsed at a table, which is excessive as to how much should go in the construction of this work , is too big for my purposes and yet, the loss of the ability to have the key and hide it.

I just must be missing something here in what I read or there is something not documented, all I need is to fill the list with 5 items I have, every element has its associated key, look at the item selected in the list when the user switches to save the form, remove the key of a key field , so I can use the key instead of the value because the value may vary time to time, but the key is always the same from the server what they do with the original text of the value on the server.

Any recommendations?

In the same direction...

ObjectChoiceField displays the objects using the toString method of the object.  Most people give just ObjectChoiceField an array of strings, which makes use of redundant ToString.  However you can give an array of objects, as long as the objects have a toString method (which of course they always...).  In any case, the point here is that you created an object like this

class KeyValuePair extends {object}

String _key = null;

Dim _value = null;

public KeyValuePair (String key, String value) {}

_Key = key;

_Value = value;

}

public String GetValue {}

return _value;

}

public String getKey() {}

return _key;

}

{} public toString()

return _value;

}

}

Now, create an array of these objects to the return of your WebService and simply feed these as a choice to your ObjectChoiceField.  Then you can get the tone chosen as follows:

int selectedIndex. getSelectedIndex();

KeyValuePair selectedKeyValuepair = [selectedIndex].

String selectedKey = selectedKeyValuepair.getKey ();

Make sense?

Tags: BlackBerry Developers

Similar Questions

  • 'Wish list' option is missing

    I don't see a "Wish list" option when I click on my name (next to the search box) for the menu. I only see the options 'Use' and 'account Info '.

    Could you please tell me what version of iTunes you have?

  • The 'Reading list' option disappeared from my i - Pod classic, although my different playlists appear always on my i-Tunes.

    The 'Reading list' option disappeared from my i - Pod classic, although my different playlists appear always on my i-tunes. Any suggestions?

    Hi Mark,

    Welcome to Apple Support communities.

    As I understand it, there is a problem with reading lists is no longer appearing on your iPod classic. Among the easier troubleshooting steps you can try, which is likely to solve this problem, is to reset your iPod, as shown here:

    Learn how to reset your iPod - Apple Support

    If the problem persists, you can exclude any problems of restoration of your iPod software as described in the article below.

    Use iTunes on your Mac or PC to restore your iPhone, iPad or iPod settings - Apple Support

    Ciao.

  • How can you generate a list of unmet needs in a customized in NO Gateway requirements report?

    I am creating a custom report that lists the requirements that are covered (i.e., a traceability matrix) and also a list of unmet needs.  I think I have the first part figured out, but I can't understand how to generate a list of unmet, preferably by document.  I would like to see something like this:

    2 needs not covered

    2.1 documentA

    Covered requirements: 5

    -Req3

    -Req5

    -Req10

    -Req12

    -Req13

    Does anyone know how to do this?

    Also, is there any documentation on what are the various data elements?  (For example, what is a "requirement of the sheet"?)

    Thank you!

    Tom

    Hi Tom,

    I have attached a modified version of the example of Word which comes with requirements 1.1 gateway. In this sample project, I have reproduced the traceability matrix report and a slight modification to only show requirements discovered at the end of the report. Please note that this is not a complete solution, but it should be enough to help you move forward on the right track.

  • Need recommendation for laptop - for video editing

    I'm trying to looking for a new laptop and need recommendations based on how I use the laptop.  I produce videos and mainly use the following programs: Adobe Photoshop, Adobe Premiere Pro, Adobe Encore DVD.  I also use other software such as AutoFX PGE7.0 of photo editing.

    I currently have a HP Pavilion which is about 5 years old.  This office has the following specifications:

    HP Pavilion PU131AV / a1050y, Intel Pentium 4 CPU 3.20 GHz, 2 GB RAM, Windows XP MCE, SP3 32-bit, Nvidia GeForce 6600

    I believe that with a new laptop, I was able to create my videos more efficiently.  If you have any input as to what I need in a laptop for my specific purpose, please let me know.

    Thank you very much

    Angela

    ``````````````````````````````````````````
    old computer: HP Pavilion PU131AV / a1050y, Intel Pentium 4 CPU 3.20 GHz, 2 GB RAM, Windows XP MCE, SP3 32-bit, Nvidia GeForce 6600
    new computer: HPE-180 t, Windows 7 Pro (64 bit), Nvidia GeForce GT 220, Intel Core i7 - 930 quad-core CPU @ 2.80 GHz, 8 GB of RAM

    For what you are doing you need all the horsepower you can gather. You have not specified a budget and with what you're trying to do, I don't think that it would be useful to think of anything less than a thousand dollars. You need at least 4 GB of memory and preferably 8. You need a 64 bit version of Windows 7. You need a quad core or i7 processor. Regarding the size of the screen, it's a matter of personal choice, but I don't see how you can get in with less than a 15-inch screen. In respect to the HP products you can consider the urge again, but the problem is the lack of an internal optical drive (CD/DVD type).

    HP is running a special offer on the dv6t Quad model with an i7 processor, $ 999 with a free upgrade to 4 GB of RAM and a concert full of video memory. While your P4 3.2 was the killer at a time where it was released, the dv6t Quad run rings around her, particularly in Photoshop. Make sure that you use a recent version of Photoshop with 64-bit and support multi-core. Also be sure to get the 7200 RPM hard drive, because it makes a big difference in video editing.

    Good luck and enjoy.

    Dv6t Quad Edition

  • Need recommendations for a book/practical guide to OBIEE answers

    Hello
    I need recommendations for a good book of reporting answers or a guide. I would like to include functions, table and pivot table Setup and formatting. Thank you

    Charlie EPEs

    Charlie,

    If you are a beginner to OBIEE then start with basics here... A good bunch of tutorials of Oracle.
    http://www.Oracle.com/technetwork/middleware/BI-Enterprise-Edition/tutorials/obiee10g-453439.html

    To get answers: see section 'Oracle BI answers and dashboards.

    Once you are done with this... give some time on responses to see each properties available for all views that you may find useful.

    For formatting: you will get to know more abt properties exp here.
    See also http://everythingoracle.com/obieeskst.htm

    This is not just a game someday. Hope you find it useful...

    Happy learning!

  • HP ENVY laptop - 15-k201ne: need recommendation! M.2 SSD

    Hello

    I need help in the choice that can right ssd 256Go m2 laptop

    as the maintenance and Service Guide shows that it can withstand 2280 (256 GB SATA (MLC) m2 / 256 GB SATA (TLC) m2)

    After much research, I am very confused because a lot of people here could not be mobile today recognize the new SSD m2

    I understand that the SSD is 2280, interface Sata III (not PCIe) and maximum 256 GB, but (TLC, MLC)? Some manufacturers did not even mention the type of flash!

    Pleas so Can someone recommend me a compatibel M.2 SSD or confirm if one of the following choices works well

    Samsung 850 EVO M.2 MZ-N5E250BW 250 GB

    SanDisk X 400 m2 256 GB SD8SN8U - 256 G

    Transcend MTS800 256GB TS256GMTS800 m2

    Kingston G2 m2 240GB SM2280S3G2 / 240G

    ADATA SP900 M.2 256 GB ASP900NS38 - 256GM - C

    I appreciate any help, thanks.

    I hesitate to suggest this update because a long thread which is basically come to the conclusion that the port of m2 on some models of HP who came without a reader m2 has been disabled.

    The thing that seems to get lost in all this is that if you are forced to use a SATA-III m2, and at best is all your laptop is running, then you are just as well use a 2.5 inch SSD SATA-III. Reading and writing speeds will be so close it wil not made no difference. The only useful to have m2 corresponds to type IS PCI - e, as speed on those is in another Stadium. But we know you cannot use one of these. So save yourself some grief and just get a 1 TB 2.5 inches SSD SATA-III. If you must go forward, so if something will work the first one that you listed below, the Samsung 850 Evo would be my choice. And if you can use a m2 you are not capped at 256 concert is told by the way: it's just the biggest offer of HP. If it will work, size (capacity) will not be the factor limiting. They are readers of 2280, that's right.

  • HP 50 g RPL program to list the factors needing help the formatted output; Matrices, vectors, lists, etc.?

    Hello

    I have not always perfer the output of the DIVIS HP 50 g.

    DIVIDED lists all the factors of a number in a way that is ineffiecent and confusing when there are many factors of a given number.

    For example, when you run 1000 DIVIS you are treated to a large "block" of numbers organized vertically in such a way that only 4-5 of the 16 factors of 1000 are still visible to you without additional keys.

    I'm trying to create a program that simply formats the output of DIVIS differently when there are a lot of factors for a given number. I'm a newbie to the USER RPL. I have the factors that come out a while loop in this format. (100, 10) Unfortunately, my time loop depends on these factors enters NOT the battery until AFTER he calculated all the. I need to find a way to store a set of factors by the execution of the loop in a kind of variable, and then remind each other both on the stack at the end of the program execution. If the code is necessary for you to see, I can post it. The problem is that it is unclear how many factors will be present at this stage. It will be the original number / 2 because I have through each pair of factor in jurisdiction parens with R-> C. In addition, the capture method must be in the loop because that if it is not the loop won't work correctly because the method by which he organized the factors in their concerned couples depends on a process of battery undisturbed during the execution of the loop. Leaving the parens at the bottom of the battery causes there are an odd number of factors in the stack, which invalidates my program for various reasons. In addition, it would be useful to include a function that could test whether or not the number of factors of an odd number, because I will need to include separate code for this. I don't know any such function in USER - RPL, but I am a beginner in this area. Thanks for any help!

    Zekelegge

    Ranothil wrote:
    (...)

    For 1000, my dream program would output;

    (...)

    Try this:

    ' DUP DIVIS SWAP ON / SWAP R-> C EVAL.

    or:

    "DIVIS DUP DUP SIZE 2 / 1 SWAP SUB DUP UNROT / R-> REVLIST C EVAL.

  • Drop-down list options deleted after Windows Update

    What happens on Firefox and everything I've tried so far - all financial sites, etc.

    original title: after the last update of Windows, my drop-down boxes no longer work correctly. I can't see drop-down options, except that they all show a moment together, but I can't choose anything. I need help here.

    http://www.bleepingcomputer.com/tutorials/tutorial140.html

    Understanding Windows Update and Extras in Windows Vista at the link above.

     

    Remove the Vista updates; two ways to do this:

    1. a System Restore to before the updates:

    Click Start > programs > Accessories > system tools > System Restore > restore time/choose your own date > next

    If you use Norton, disable it before using the system restore.

    If it is impossible to enter the Normal Mode, do a Safe Mode system restore:

    Press F8 at the startup/power and the list of startup options, use THE ARROW key to select Safe mode > and then press ENTER.

    System restore steps according to the info above.

    Also:

    2. click on start > right click on computer > properties > Windows updates down the lower left corner > updates installed in the lower left corner in the next window

    > then click the one that you don't want > uninstall will appear at the top > uninstall it.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    In addition, on the page where you clicked "Installed updates", click on change settings at the top left corner it

    > Change update settings in the next page of AutoUpdate to "check for updates but let me choose etc" > OK ".

    When you take a look at pending updates, you can either download/install them one at the time, namely the update causing you problems.

    > or if you do not need an individual > right-click on > UAC prompt > hide it

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If the above does not resolve the problem, repost in the Windows Update Forum to the correct address:

    You will get the best help for any problem of Update/Service Pack in the Windows Update Forum; the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/threads

    In this way, you will receive the best help.

    See you soon.

    Mick Murphy - Microsoft partner

  • Need recommendation for installation recovery site

    Hi all

    1. What are the basic things that we must analyze it before we recommend the company to go to oracle Dataguard for DR configuration?

    2. do you know any technology that will replicate the schema of a data center [data one] to another data center [secondary database or replication]?

    3. What are the different option to configure the disaster recovery plan at the schema level?



    Thank you

    Hello again;

    I use Oracle Streams, but it is certainly an option:

    http://www.Oracle.com/technetwork/database/information-management/streams-FOV-11g-134280.PDF

    It also has its own forum (you probably know that)

    Water courses

    Oracle Streams comes with more than 7000 data dictionary views, and DBMS built-ins so my main concern is the complexity and moving parts. Flow also includes guard data items, for example to capture downstream. If I had to choose between streams
    and Data Guard, I'd go with Data Guard, as his most popular (view) and thus better supported.

    The last time I checked GoldenGate needed a license. If you need money. I also believe that the options for the host operating systems are less than the other two options.

    My understanding is that you have to learn a new language with a boatload of new keywords. That said, Yes, it could be an option. It has a forum here somewhere. But I don't use it either.

    In any case, it looks like you ask all the right questions. Good luck with your project.

    Best regards

    mseberg

  • Monitor HP 650 G1 is generic list pnp - I need more resolution of 1366 x 768

    Hi Forum

    I discovered that my HP 650 G1 is exposed generic pnp.

    I need increase this to more than x 1024 768 x.

    This is because some site is displayed correctly if it is less than x 1024

    Help, please.

    Thank you

    Michael

    Hello

    The following PDF shows a few options for the display of the series (page #12):

    http://WWW8.HP.com/h20195/v2/GetPDF.aspx/c04126035.PDF

    Did you BUY the next option? You pay more to get it:

    15.6 "diagonal backlit by LED FHD glare SVA slim (1920 x 1080)

    Kind regards.

  • Printer HP C4435 AIO that was purchased in the United States, need recommendation of cartridge in India

    I have a photosmart C4435 HP AIO printer that was bought in the USA and good that now I use this product in India, as my cartridges are dried out, I want to replace the cartridges to work in India where I can not find the HP74 and HP75 cartridges to the Indian market, as the product codes for the cartridges vary from one country to another. Like when I contacted HP in India customer service, they asked test me page HP74 and HP75 to recommend a cartridge buy in India.

    kindly help me in this regard
    Please someone send me Test page of cartridges HP 74 and 75 HP by email so I can send it to HP cust. care and get a recommendation of cartridge for use in India

    I would contact the customer service and advise you need a regionalization reset. If you bought the printer in an area and moved to a new area, you must call customer service to ask a "regionalization Reset." Avoid any accusation to this effect; It is covered under the warranty of the cartridge. You will need to have access to your computer and printer then on line with HP. You will also need to have a set of cartridges for the new region, once completed reset cartridges of region of origin no longer works. See the document on regionalisation. Without that it reset the cartridges purchased in India would not work in the printer.

    Here is the document on regionalisation.

    Also, you can use this site to search for the India ink, this is a link to HP sure supply:

  • Fax - HP Officejet Pro 6830: how to remove how remove the 'Fax - 6830 (network) HP Officejet Pro printers list option.

    How can I remove the "Fax - HP Officejet Pro 6830 (network)" option in the list of candidates of printer? First of all, I am a VoIP client and my salesman, like many others, does not fax support. In second place both my wife and I inadvertently try to print using this entry much to our annoyance. In third place for a non-commercial customer, it's an archaic device and that there should be a way to turn it off. "Fax - HP Officejet Pro 6830" does not appear in "Devices and printers", but it is in the registry.

    There is no entry "FAX". I gave up. I would attach a print screen, but I don't see how.

  • Add the "Print Directory Listing" option to the context menu of Windows Explorer

    Get the error message when you try to use the "Print Directory Listing" solution found in:
    http://support.microsoft.com/kb/321379/en-us on my new Windows 7 system (from February 2010).

    Could create the context menu of Windows Explorer for the task, but selecting just results in the following error message:

    "This file doesn't have an associatd with her program to perform this action. Please install a program or... to create an association in the default programs control panel. »

    Wentback and checked my Regedit work.  Even deleted the new key and she recreated (just in case.)

    NOTE: I had successfully used the instructions in this article to add "Print Directory Listing features on Windows XP systems, so I reviewed these instructions to see differences and noticed that it * no. * 'associate' step for Vista/Win7 in the article, but this step still shown for XP.»

    And, there seems to be NO WAY to associate a program (in this case, a ".bat") with all of 'record' as target.  Only choices I see these in the 'control panel default programs ' are'. [extensions] "and the protocols.

    So I'm puzzled.

    Any help would be appreciated.

    SJ Pratt

    I just tried this with instructions to the http://support.microsoft.com/kb/321379/en-us link you provided and it worked fine.

    In view of the error you get here are my assumptions to what may be the problem.  Please try these out and answer:

    -Because it denounces, "file doesn't have an associated program.." I would make sure that when you created with Notepad the file .bat you na not to create a file called 'Printdir.bat.txt' or 'Printdir.bat.some_bad_extension '.  If your Windows Explorer settings are set to hide file extensions when you look at a file name, then maybe the REAL file extension you give the command file is being hidden on your part and Windows does not know how to open a file with the extension hidden type.  Make sure that you can see all the file extensions and make sure that the batch file is named with the .bat extension.

    -If you see very well all the file extensions in Windows Explorer and your file is called really Printdir.bat, make sure that you have saved in your root directory of Windows.  If you access %windir% you see Printdir.bat inside there?  If this isn't the case, put it there.  If you do, when you double-click the .bat file Windows run without error and print the dir?  If it works, you know that the batch file works correctly.

    -There's a typing error in the instructions for Vista/Windows 7, check that your registry entries look like this:

    HKEY_CLASSES_ROOT\Directory\shell\Print directory Listing\command

    This shows the new key under shell called "Print Directory Listing" and inside this key/folder another folder/key named "command".

    To within the key/folder 'command', it takes only one entrance with the name of (by default).  Double-click (default) and make sure that its value data is set to:

    Printdir.bat %1

    -You shouldn't need step "the associate" in Windows 7.

    -You can add "Add Print Directory Listing to the context menu of Windows Explorer" for the title of your question so that others can find it.

  • Removal of updates to victory in the list option?

    Is there a way to eliminate the updates of windows as an option in the list? I use Win 7.

    Hello

    Thank you for your response. I appreciate your time.

    If you are offered an option Update that you want to install, you can simply right click and select Hide update and it will appear not on the list the next time that you use the update service. If you find that you don't want, simply select restore hidden updates.

    To hide an update in Windows Update, follow these steps:

    a. open Windows Update.
    b. in Windows Update, select the Windows Live Essentials.
    c. then right click and select "hide update".
    d. predict the action when prompted by User Account Control.

    Sincerely,

    Ankit Rajput

Maybe you are looking for