EditField - manager - assign an 'ID' no.

Hello

I have a program that I am currently in train.  A part of this program allows to navigate a loop, adding new EditFields that contain different pieces of information.  Each new EditField corresponds to a numeric figure in a table.

Now, when the user clicks an EditField and 'invokeAction' method is called, I need to be able to retrieve the numeric value in the table that matches the selected EditField.

In summary, the program will work as follows:

1. a loop begins and new EditFields are added to a VerticalManager (each EditField contains a single piece of information);

2. as each EditField is added, it is "assigned" 'value' (integer) in a table--(n1, n2... nx);

3. the user clicks EditField (invokeAction is known); and,

4. program the value "assigned" the EditField 'clicked' in the table.

I am in the planning stages of this particular section of this project-' an at - it ideas or suggestions on how I should / could address the issue?

Thank you!!!

What the same question you're asking here?

http://supportforums.BlackBerry.com/T5/Java-development/custom-method-for-an-EditField/TD-p/409611

See my response here for another option.

Tags: BlackBerry Developers

Similar Questions

  • FRM:92101:error while accessing the employee assignment page

    Hi all

    I get the following error when accessing the people > enter and manage > assignment Page.


    FRM:92101: There was a failure in the Forms Server when starting upwards. This could happen because of the configuration of invallid. Look in the log file of the web server for details.

    Menu: GLB HRMS Navigator
    Application group: Global HRMS reports and process

    Kindly help.

    Concerning
    Patrice

    I remember having this problem once when there was a problem with the installation of people group KFF. In this case the form server crash occurs when opening the form assignment. No other screen don't show this behavior in this case. What we did open people group FF implemented, create a dummy segment (you must have at least a dummy segment for people group flex field for the assignment screen to work correctly), compile, and save. Once this is done, transfer opens correctly.
    You can also try the same thing and let us know if it works with you.

  • Satellite 2450 (XP) does not recognize my external hard drive

    I recently purchased a Hitachi USB 2.0 external hard drive. When I plug it into my computer (from Toshiba Satellite with Windows XP) it 'Bing' to let me know its been recognized and appears in the options of 'Remove hardware safely', but not in 'my computer '.

    I looked on other sites to help tech & they suggested to go to him & records management assigning a drive letter, but I can't do because it does not appear in disk management. It appears in Device Manager, disk & it says that the camera seems to work fine.

    don't really know what to do! Help!
    Have all the latest windows/microsoft updates/Service packs etc...

    works fine on another PC and we tried to disconnect/reconnect (there is no external power supply required)

    through directly to the laptop via a usb cable

    Any help/advice would be greatly appreciated!

    It's very strange. I use two external hard drives connected to the USB ports and two of them are recognized correctly. I checked it with my old 1900 satellite also.

    I put t really know what can be the problem. The HARD drive is connected with two USB cables (as in my case)?

    Try to remove the USB ports on the Device Manager, restart the device and plug it in again. For me, it is known that HARD drive is not recognized correctly when the HARD drive is removed without using Safely Remove Hardware and reconnected. Also try different USB ports on your device.

    As I understand your unit As USB2.0 ports and I really don t know why this happen. If there is no possibility try to check some other external HARD disk. It will be interesting to know if it's some kind of common problem or individual cases.

  • Cannot detect Kingston DTSE9 USB 16 GB

    I have a DTSE9 of Kingston 16 GB USB key, I tried to detect on my laptop DELL XPS 15 L502X. It works on all systems except this. I tried all options to run including that disk management assign option of drive letter in which i get the error that the console view is not updated so the drive letter is not editable. I need a solution for this as soon as possible because I need for the work of the stuff on a daily basis. It works with any desktop/laptop I tried and multiple operating systems, but not here. Dried to reinstall the USB device etc. Management storage device and all of these tasks.

    Instead of using disk management, you should be able to do the same thing by using the Diskpart utility

    Just throw the USB in
    Open a prompt (run as administrator)
    type Diskpart (will take a second to start)
    then type "list disk" (gives you a list of all connected drives, even if they don't have drive letters)
    If your 16 gb kingston displayed in the list
    Type Select Disk? (where? is the number of the disk)
    then type assign (this affects a drive letter)
    If it does not, probably show a shortcoming of this model of laptop, try maybe a BIOS update and also make sure that you can use other readers flash USB large from another manufacturer to check if it is specific to this type of USB.
    I hope this helps.
  • Two sliders in the custom field definition

    Hi guys,.

    First of all, I want to thank all those who helped me to this day. This forum has been essential for blackberry dev work I do, and I would be screwed without you guys. That being said, I'm having a problem. I install a custom like this text entry field.

    (1) creates a vertical field Manager, assigned a background and resized image with setExtent(). (works fine)

    (2) created a new type of field and inserted in the vertical field Manager to make native look (almost works)

    The problem I have is that two sliders are appearing. Cursor #2 is dynamically updated as it should be, but the #1 cursor seems to be a "flawed slider. Please see the image below for details.

    The custom field is defined using the following code. If I remove the custom field, or cursors comes, so I am positive that it is the source of the problem.

        public class JustifiedEditField extends HorizontalFieldManager implements FieldChangeListener {
            BasicEditField ef;
    
            public JustifiedEditField(long style) {
                super(USE_ALL_WIDTH);
                ef = new BasicEditField(style) {
    
                    protected void onDisplay() {
                        setPosition(10, 17);
                        update(0);
                        //invalidate();
                    }
    
                    protected void update(int d) {
                        super.update(d);
                        setPosition(10, 17);
                        //invalidate();
                    }
    
                    protected void paint(Graphics graphics) {
                        graphics.setColor(Color.WHITE);
                        getFocusRect(new XYRect());
                        drawFocus(graphics, true);
                        super.paint(graphics);
                    }
    
                    protected void onUnfocus() {
                        invalidate();
                    }
    
                    protected void onFocus(int direction) {
                        invalidate();
                    }
    
                    /**
                     * Intercepts ESCAPE key.
                     * @see net.rim.device.api.ui.component.TextField#keyChar(char,int,int)
                     */
                    protected boolean keyChar(char ch, int status, int time) {
                        switch(ch) {
                            case Characters.ESCAPE:
                                // Clear keyword.
                                if(super.getTextLength() > 0)
                                {
                                    setText("");
                                    return true;
                                }
                        }
                        return super.keyChar(ch, status, time);
                    }
                };
                add(ef);
            }
    
            protected void sublayout(int width, int height) {
                super.sublayout(width, height);
                setExtent(width, 57);
            }
    
            public BasicEditField getEditField() {
                return ef;
            }
    
            public String getText() {
                return ef.getText();
            }
    
            public void setText(String value) {
                ef.setText(value);
                invalidate();
            }
    
            public void setChangeListener(FieldChangeListener changer ){
                ef.setChangeListener(changer);
            }
    
            public void fieldChanged(Field field, int context) {
                invalidate();
            }
        }
    

    I am totally stuck on this issue, any help would be really appreciated. TIA!

    I came up with an alternative solution. It turns out that I can use a transparent border to set the offsets to where the edit field must be located within the input Manager; thus eliminating the need to use setPosition.

  • can I connect port 2 of my WLC 4404 in my dmz for access to guest user

    Hi all

    My script is

    Cisco wlc 4404, with 20 access points, I want an internal client wlan and wlan of comments, I configured the VLAN and WLAN, but would be possible to have all the internet traffic for customers going to port 2 on the controller of the demilitarized zone of my firewall? How I would get this job, coems from traffic to the ap through a port on the controller.

    Help, please

    see you soon

    Carl

    Carl,

    You must have two interfaces AP-Manager because you connect physically two ports of distribution on the WLC.  When you do this, you must use LAG (that you can not do in the case because you connect to two different switches) or have an ap Manager assigned to each port (this is how you can have the switch redundancy).  So yes, it will allow you to do. Please see the link guide to config I have sent for more information on the use of multiple ap interfaces - manager.

    The WLC knows that he has to send the traffic comments port 2 because WLAN guest is assigned to the interface of comments which, in turn, is assigned to port 2.

    Again, I strongly recommend that you open a TAC case, so you can speak with an engineer and discuss this because as you can see, it can be bit confusing

    Lee

  • Missing files in Windows 8

    I recently bought a game and today morning, I made a copy of this disc as an image file on my D:\Downloads\Games folder. After that, I installed the game, he played for a while, then restarted in Ubuntu for some work. I came back to Windows that a few hours earlier.

    When I came, I found that the installed game files are absent, and when I tried the installation location, it was empty.
    Then I checked the folder where I had saved the image file, I found it inside this file.
    I thought it was a problem with the Windows Explorer, so I restarted Windows Explorer, and then when I checked again, I found that not only the installation files were missing, but also the image file, which was less than a minute, has now gone!

    I did what is obvious, and then rebooted my system and checked once again, they were still missing.
    A summary of the steps I've tried:
    1 restart Windows Explorer
    2. restart the system
    3 rebuilt the index
    Also a virus scan picked clean (Bitdefender Total Security 2013). Show hidden files is enabled.
    Would be grateful if someone could help me with this

    easy solution I just he stares at me, very well under File Explorer delete the images folder it wont remove your photos, only to click with the right button on the white space and add the new library, add a library and on the tab manage assign him for the photos, that to go into the pictures folder, it will ask you a folder to include click it and go to your computer users your name and your folder my pictures after that you are ready. Good luck

  • Logon Server failed - profile persistent disk

    Hello everyone

    I have a server with vSphere 5 installed, running several virtual methods of Win7. Among virtual methods is a Server View Server, where I manage/assign users and persistent disks with virtual machines.

    Yesterday, a coleague attempted to access its virtual machine, via the client view, leave has been a success, but a message on the service logon failure appeared.

    I tried to start with the admin profile to check the registry and fix the corrupted profile, but the profile is located on the D drive (persistent)

    Is it possible to repair this corrupted profile?

    Thank you very much in advance

    PC Red

    Thanks for the reply

    I managed to find a solution accidentally.

    I forgot to add a second 20 MB "Internal" persistent disk, as well as the persistent drive D:.

    After connection, everything was ok!

  • IP pool static vCAC 6.0

    I use vCAC 6.0 and vCO to manage 5.5 vCenter/vSphere cluster. In vCAC 6.0, I setup a network profile with a static pool of IP creating catalogue of renewal and Service; and I also spend custom in workflows vCO properties. Wwhen I deploy a virtual computer by using plan with the specified network in vCAC profile, how the VM is its static IP address of IP pool defined in vCAC? Who chooses (sets) address static IP for the virtual machine, the vCAC or vCenter?

    Thank you.

    because you set the network profile in vCAC, it is vCAC who manage, assign, and frees him.

    It will be useful,

    Hervé

    vZare.com

  • VMware vsphere client is in the "inventory loading" for a long period, then received a message from "time out

    We have two type network connection in my lab, one is internal net, all computers on this network type internet access themselves, but they could access the internet through a proxy server. one is external net, all computers on this network type internet access themselves.

    If my connection to the computer's internal network, the client is responsible for the inventory for a long time when I use VMware sphere client to connect to the VMware Server and give a message "connection error". below two screenshots are for the description of the error. But if my connection to the computer is net externally, I can connect to vmware server successfully.

    Capture.PNGCapture1.PNG

    Here is the description of my VMware Server infrastructure:

    My vmware server has two network adapters, vmnic1 and vmnic0. vmnic1 is used for the internal network, vmnic0 is used for external NET. I put a serval host in my vmware server, one of them is used for the proxy, all the computers in my lab can access internet through this proxy host via vmnic1.

    Proxy host, I add two configurations for iptables as below:

    iptables - table nat - append POSTROUTING - out-interface eth0-j MASQUERADE

    iptables - append forward - interface eth1-j ACCEPT

    Further, I have another server in vmware, I also can connect to vmware server successful if my connection to the computer's internal network. and this server network two are the same.

    How can I debug this problem? Thank you very much!

    Management is necessary for both networks separately?

    Because if not, you can move the Group of management to the internal network on vmnic1 ports...

    Create a vmkernel port and turn it on to management, assign an IP address and it should be possible to connect to the internal network.

  • External hard drive for source files

    Windows 7. Body CC x 2014

    I would like to set up a or external hard drives for source files so that I can change my laptop on the location of a specific project (that is to say, I can't use my office)

    What is the best solution?

    * USB 3 SSD

    * USB 3 at 7200 RPM hard drive

    Can I use two external USB 3 drives?

    Can I quote the external drive so that I have no file linking issues?  IE the volume name remains the same whenever I have to reconnect to it?

    * I ask here first of all because I have to buy the appropriate disks until I can test anything.

    Thanx.

    USB3 for SSD is the fastest solution. Set both computers to use the same drive letter of the volume on the port USB3, for example of letter P for portable in disk management. For a second port USB3, you can use a different volume drive letter.

    Simple steps:

    1. Format the drive and give a volume name.
    2. In disk management, assign a drive letter, for example P.
    3. Connect the drive to another computer and repeat step 2 here.

    The volume name remains unchanged and the drive letter remains the same on both computers.

  • Battle of pool of resources for production

    So the company I'm with now uses VMware test and dev for the

    last year. They had a small number of machines dedicated to a particular

    App on two production areas, but nothing else has mixed with these comments

    servers. The company has opted for the purchase of three Dell R900 (proc s fully

    populated) and 64 GB of RAM in each. Here are the companies licensed.

    Here's my dilemma. My boss has heard of resource pools and has some

    know how they work. But he heard other companies completely

    sabotage their production environment (no doubt to configure) resource

    pools. I worked with ESX for the past three years and my experiences

    tells me to start at least with a resource of high, medium and low

    pool for our environment. The company plans to put a great mix of

    servers in production. Some require a lot of resources and some require

    little. Is there a material that I can use ammunition that will eventually

    convince my superiors that it's the right thing to do? I'm really a bit

    stuck right now with just shot back by saying management emails

    that it is a very bad idea to roll out production VMware without resource

    pools.

    Here's my dilemma. My boss heard on resource pools, and has some knowledge of their operation. But he heard other companies totally sabotage their production environment (probably to set up) with pools of resources. I have worked with ESX for the past three years and all my experience tells me we must start at least with a pool of high, medium and low resources for our environment.

    Opinions are like the feet, there are always 2.  No one will ever agree.  your boss 'heard' but has no experience.  YOU have the experience, then I'd go with this approach.  If he hired I YOU to do the job, then it should allow you to do.  Period.

    Resource pools are also an option, but I use them mainly for management (assign permissions at the level of the pool and the Group VM by Department).  We manage the CPU / memory.

    They can also get you in trouble if you don't configure them correctly.  I agree, you should not just stick a bunch of VMS there without SOME level of control, rather means high medium or low, it is subjective.  These resources 'shares' only (unless you have reservations) will apply when the ESX host resources are low, then when everything is good, high medium or low, will not a difference.  They will all receive an equal share of the resource.

    Your boss must give up being a micro Manager.

  • AS2: how to apply multiple properties in a single movieclip

    Hello

    Is it possible, in ActionScript 2, set several properties to a movieclip in a single command?

    For example, is it possible to write something like this more succinctly? :

    myMovieClip._x = 10;

    myMovieClip._y = 10;

    myMovieClip._alpha = 100;

    myMovieClip._rotation = 0;

    I think something like:

    myMovieClip (some code) (_x = 10, 10 = FLF, _alpha = 100, _rotation = 0);

    I would appreciate any advice.

    Not really, since you would specifically have to assign each property separately at some point.  You can create a function that you feed the object and the property values in, but this function will manage assigned individual properties, one at a time.

  • session ADadmin utility information

    Hey

    Please, can someone tell me where can I find adadmin session information

    When we run the adadmin utilti in the oracle 11i application and if we break prior to the end of it

    When we run the next time this utlity there wiil question

    ========================================================
    Your previous session of Administration AD did not stand up to the end.
    You want to continue your previous session of AD directors [Yes]?

    ==========================================================

    I want to know where he's taking the privious session information

    Hey riri;

    -Each worker has a restart called adworkxxx.rf9 file.
    -By default, utility AD delete their files to restart when the treatment is over, but backup versions of leave with the .bak and .bk2 .bk3 extensions.
    -The worker creates the restart file when the manager assigns a job and deletes the file from the restart when he finishes the job.

    Respect of
    HELIOS

  • Questions about the changes in MRI Oracle 11 g

    Hello

    I'm still testing MRI Oracle 11g and I saw some features in this version which worked in MRI of Oracle 10g.

    One of my questions is on code article. In 10g, when a context manager assigned the role of "Reading Point" to a user, he could write the code of the element of the element that the user with this role could read. However 11g the context manager must have the document in its own computer in order to assign the user to drive element. Same thing happens when a user choose a document to generate a report, or a context Manager wish to exclude a document from a context. Is it possible to do this action using article code as in the previous version of MRI?

    The second question is on the export of reports. In the previous version of IRM, you can export a report to a .csv file. Is it possible to do it in 11g? I have not seen this option in the Management Console and I don't know if there is a way to do that, as in the previous version.

    Thank you.

    You're right that that changed in 11g. The context Manager now has access to a copy of the document he wants to assign the context on an exceptional basis point in a role, or run a report.
    Users of 10g found bearing on the very complicated item codes, so we've simplified the user interface in 11g.

    Audit MRI data export is now only available via Web Service requests. We expect most of the organizations to extract the IRM server audit data and make it available in their business intelligence, information system. In the future releases we plan to integrate closely with Oracle Business Intelligence exactly this effect; but we will not be duplicate the functionality in the IRM server.

    I hope this helps explain why we made the changes. Thank you

Maybe you are looking for