problem of subject choice field

Hi, you look at the choice of the last two items fields
in the screenshot, I have the choice of subject field as you can see in the my first choice of object field is to have two options
ON and OFF
now, when I select the option OFF and I want to unfocusble my second choice of the object deposited DAILY in the photo update. and when I select i', able to focus my second choice of the deposited article from DAILY UPDATE

Two options:

(1) extend the second ObjectChoiceField to pick up a method setFocusable (Boolean flag) and set the type of a field of ChangeListener to the first ObjectChoiceField

(2) extend the second ObjectChoiceField to check in his isFocusable(), the current value of the first ObjectChoiceField method.

Tags: BlackBerry Developers

Similar Questions

  • Dead zone near the top of the screen in Safari? Cannot use Safari to log even here, because the arear connection is at the top. Virtually all nearthe fields are dead. I have no problem going into the fields to halfway to the bottom of the screen. Chrome w

    Dead zone near the top of the screen in Safari? Cannot use Safari to log even here, because the login box is at the top. Virtually all of the fields near the top are dead. I have no problem going into the fields to halfway to the bottom of the screen. It comes to Chrome and it works very well.

    I suggest you only begin by taking the measures recommended in this support article.

  • Problems with the NVARCHAR2 fields

    I use ROracle to query a database with a field of type NVARCHAR2. When I access the database directly or through RJDBC, I have no problem with that. However, if I do something like

    res = dbSendQuery(conn, qry)
    dbColumnInfo(res)
    
    
    

    He told me that the 'type' is VARCHAR2. So when I use fetch (res), it's not back up the data correctly (it gives? instead). Is there anyway so that it can detect the NVARCHAR fields, properly or even manually it say when a field must be NVARCHAR?

    Edit: Try explicitly casting in my query (e.g. qry = "select cast (textfield you mvarchar2 (100)) from myTable ') and which did not help.

    Edit2: It turns out that this problem persists even with fields containing unicode VARCHAR2.

    Post edited by: 88dc10cb-b8b0-44c7-acff-5d6dc55a69dc

    I had to exportNLS_LANG=AMERICAN_AMERICA.AL32UTF8 and then load the package

    Sys.setenv(NLS_LANG = 'AMERICAN_AMERICA. AL32UTF8")

    library(ROracle)

  • problem with cvs & numbers fields

    Sometimes, when I'm downloading a CSV file and try opening number, all fields (there are about 10) are thrown in 1 field. What can I do to prevent this?

    can send you a sample of the data?

    The best way to address it is to look at the data to see what is causing the problem

  • problem with the vertical field Manager

    Hello

    My application has a screen. On this, I add a Senior Manager vertical field. I add new labelfields dynamically to this vertical field Manager.  When I give the text in the constuctor of the etiquette field, each of them is the fine display. But when I tried to draw the text to the painting, it does not appear.

    Here is my code...

    vfm = new VerticalFieldManager(VERTICAL_SCROLL | FOCUSABLE);
            for (int i = 0; i < 4; i++) {
                index = i;
                LabelField labelField = new LabelField() {
                    protected void paint(Graphics graphics) {
                        // TODO Auto-generated method stub
    //                  super.paint(graphics);
                        graphics.setColor(Color.BLACK);
                        graphics.drawText(displayString[index], 0, 0);
                    }
                };
                vfm.add(labelField);
            }
            add(vfm);
    

    Please help me find a solution.

    First of all, stop saying that it is VerticalFieldManager who has done something bad for you. It has nothing to do with it.

    You use the index in your LabelField painting method. Use paint value is the current value of the index at the time of the painting. Painting happens way after you have created all your LabelFields, when the index stopped to change and has the last value of the loop variable (in your case, it's 3).

    This, as well as LabelFields width zero (that you seem to have supported) so are the problems of your original code. Store the value of i in your LabelField somehow if you insist on using the table values. If only check out you them once and do not change them, consider creating your LabelFields with the text from this displayString table.

    Even better: as you do not use the LabelField paint, why not create a custom field received a text and paint your smileys and all? Of course, you have to implement available as well, but it's useful even when your smileys will take a different width than the corresponding symbols.

    To summarize: your current approach is bad. Take a step back, work on the design, and then implement.

  • problem with the vertical field Manager / vertical scroll

    Hello

    I've set up a screen which makes use of a vertical field Manager by using the following code:

    class Main_Menu extends MainScreen {
    
        public class FixedWidthButtonField extends ButtonField{
            private int width;
    
            FixedWidthButtonField( String label, int Width){
                super( label, Manager.FIELD_HCENTER);
                width = Width;
            }
    
            public int getPreferredWidth(){
                return width;
            }
        }
    
        public Main_Menu() {
            setTitle(new LabelField ("Main Menu Screen", Field.FIELD_HCENTER));
            setStatus(new LabelField ("Breakout Game ©", Field.FIELD_HCENTER));
            VerticalFieldManager backgroundManager = new VerticalFieldManager(Manager.USE_ALL_WIDTH|Manager.USE_ALL_HEIGHT|Manager.NO_VERTICAL_SCROLL)
            {
                protected void paint(Graphics graphics) {
                    graphics.setBackgroundColor(0x0000A2E8);
                    graphics.clear();
                    super.paint(graphics);
                }
            };
    
            FixedWidthButtonField playButton;
            FixedWidthButtonField instructionsButton;
            FixedWidthButtonField topScoresButton;
            FixedWidthButtonField quitButton;
    
            playButton = new FixedWidthButtonField("Play",(Display.getWidth() / 2) - 80);
            instructionsButton = new FixedWidthButtonField("Instructions",(Display.getWidth() / 2) - 80);
            topScoresButton = new FixedWidthButtonField("Top Scores",(Display.getWidth() / 2) - 80);
            quitButton = new FixedWidthButtonField("Quit",(Display.getWidth() / 2) - 80) {
                protected boolean navigationClick(int status, int time)
                {
                    getScreen().close();
                    return true;
                }
            };      
    
            playButton.setMargin(40,0,0,0);
            backgroundManager.add(playButton);
            instructionsButton.setMargin(10,0,0,0);
            backgroundManager.add(instructionsButton);
            topScoresButton.setMargin(10,0,0,0);
            backgroundManager.add(topScoresButton);
            quitButton.setMargin(10,0,0,0);
            backgroundManager.add(quitButton);
    
            add(backgroundManager);
        }
    }
    

    The problem I have is that the screen scrolled down to see the empty space after the final touches, and I can't seem to overcome this problem and prevent additional scrolling. I just want the ability to scroll the 4 buttons and have a blue background on the entire screen.

    Thank you

    Just quickly, so watch migth have wrong, but if you have a good overview of this very useful article:

    http://supportforums.BlackBerry.com/T5/Java-development/MainScreen-explained/Ta-p/606644

    I think you will find that you need to add the following at the beginning of your screen manufacturer:

    Super (NO_VERTICAL_SCROLL)

  • problem with the custom field. Please help!

    Hi, I'm basiceditfield using code below, to draw the border and background in 4.5 jde. I hv tried a lot of things to set his height.but his does not work for all value.even I put height 100, it does not display the bottom line of the field

    Basic BasicEditField = new BasicEditField("","",15,1) {}

    g.setColor (14315734);
    g.setColor (Color.PERU);
    g.fillRoundRect (0,0,30,30,0,0);
                  
    g.setColor (Color.BLACK);
    g.setFont (Helper.getFont(6,"",false));
    g.drawText ("", 3, 3);
    g.setColor (Color.MAGENTA);
    g.drawRoundRect (20,30, 0, 0, 0, 0);

    Super.Paint (g);
    }
    };

    Mr.Peter,

    I tried already and surfing on the internet, my problem is something different and so I started a new thread, because I couldn't find the solution. Tried several codes that are on the forum, but with the same result, that's y I posted my code here.

  • OPA to interview for Rightnow - problem with the mapped fields

    Hi Experts

    We strive to integrate an interview of takeover bid for an anonymous user in Rightnow.

    At the end of the interview, a contact and an incident of child will be created in Rightnow.

    The integration works as expected.

    At the end of the interview, we would like to display the number of incidental reference to the user.

    However, the incident reference number of Rightnow field is not available in the list of fields that are mapped to the incident entity fields in the OPA.

    Another field of incident as a subject, category etc. are displayed and available to me all laid out, but not the reference number.

    While using this interview for the customer portal user Rightnow, mapping setting is different, and in this case the number of incidents of reference is allowed to be mapped.

    This similar to example modules design student benefits.

    But we need this feature for the anonymous user also.

    Help, please.

    Thank you

    Swati

    Hi Swati,

    Load after submit only is currently supported for the global object - contact in your case.

    If when the Incident is created, you can some how get RightNow to copy a custom field to the Contact reference number (for example lastCreatedRefNum or similar), then you could load from there in touch and then display it to the user.

    Davin.

  • AutoFill a text in the subject line field...

    How can I automatically populate a field of text in the subject line when you use a Submit feature in Acrobat Pro ms?

    Thank you

    Let's say that the field is called Text1. Use this code:

    var mySubject = "static text:"+ this.getField("Text1").valueAsString; "

    this.mailDoc ({cTo: "[email protected]", bassujetti: mySubject});

  • Problem with Multiple Choice Quiz

    I tried several times to insert a multiple choice quiz success in my slides. The problem is that when I try to take the quiz (for a preview), I have to click several times and wait several boxes pop up coming (correct, click anywhere; incorrect, etc.). All these boxes pop up show before he let me go to the next slide. Anyone know what I need to change?

    Are you found using the preview feature in presenter or switch to slide show view (F5) in PPT? Looks like you're watching just PPT presentation, who must play through all the animations on the slide.

    You see the same questions if you publish the presentation on site and view the published version?

  • Problem at startup of field step installation Peopletool 8.50

    Hello
    I install Peopletool 8.50 on my pc.
    Before the creation of the field everything went well.
    Instance name: PSP1
    I chose that domain name.

    Next, I created the domain with the following options:


    ----------------------------------------------
    Fast configuration menu - field: PSP1
    ----------------------------------------------
    Characteristic parameters
    ========== ==========
    Servers of pub/Sub 1): n ° 15) DBNAME: [PSP1]
    (Server 2) Quick: No. 16) DBTYPE: [ORACLE]
    (Query servers 3): No. 17) user name: [sysadm]
    ((4) shock: Yes 18) UserPswd: [sysadm]
    ((5) Jolt relay: No. 19) Networkid: [TESTSERV]
    ((6) WSL: No. 20) AddToPATH: [D:\app\Lenovo\product\11.2.0\dbh
    ome_1\BIN]
    (Debugger 7) PC: Yes 21) ConnectID: [people]
    (Event notification 8): Yes 22) ConnectPswd: [peop1e]
    [(Serveurs de 9) MCF: No. 23) name of the server:]
    (10 assembler) Perf: No. 24) Port of WSL: [7000]
    ((11) Analytics servers: Yes 25) JSL Port: [9000]
    (Bridge 12) areas: No. 26) Port of JRAD: [9100]


    Now when I started (series) this area I found the following error.

    PSADMIN.5620 (0) [02/04/13 19:19:11] (0) attempt to Begin priming on domain PSP1
    PSAPPSRV.3344 (0) [02/04/13 19:19:26] (0) early version 8.50 PeopleTools (WinX86)
    ING. Tuxedo server is APPSRV 99/2
    PSAPPSRV.3344 (0) [02/04/13 19:19:26] (0) used Cache Directory: C:\Users\Le
    novo\psft\pt\8.50\appserv\PSP1\CACHE\PSAPPSRV_2\
    PSAPPSRV.3344 (0) [02/04/13 19:19:28] (1) GenMessageBox (0, 0, M): the database access code
    : Invalid user or password database signon ID. (id = sysadm)
    PSAPPSRV.3344 (0) [19: 19:28] (0) 02/04/13 server could not start
    PSADMIN.5620 (0) [02/04/13 19:19:34] (0) attempt to end PSP1 field boot


    But I can connect in PSP1 with sqlplus sysadm.
    Can someone please help me with this problem?

    Thank you!

    You try to start the field with the database owner who is an Oracle account. You must provide a PeopleSoft (items 18 and 19) account, which has sufficient permissions to start the application (PS for example) server.

  • PROBLEM: Text in numeric field

    Hi =)

    .. I'm having a problem with some (not all) of the numeric fields in a form.

    In those troubled I type letters in them. When I leave the field he has displayed an error message and the field is cleaned.

    How can I make the field accepts only numeric characters when typing?

    I do not understand what I changed to make it happen...

    If anyone has an idea, please tell me something.

    Thank you =)

    Usually as long as your TextField is a NumericField Type in field object properties, only the numeric characters can be entered...

    If you can type letters and the type property of the object is still NumericField, you should probably remove the object and re-create...

    In the case otherwise, if the type property of the object is not a NumericField, change it to NumericField...

    If not try changing the validation model of these options is your solution...

    I hope this helps!

  • Problem with displaying even field in three columns

    Hello
    I use developer reports 11g and I created a report that only shows a field (column), which is the id_number as output but I have a problem now.
    I would like to display the id_number in three columns on one page to save paper, that is, I want to show the 20 first id_numbers (1-20) in a column down, and then display the next 20 id_numbers (21-40) on the second column on the same page and 20 (41-60) on the third column always on the same page. If there are more than 60 id_numbers, they should be printed on the next page into three columns, and so on until all id_numbers are displayed. How can I achieve this? Could you help me please?
    Thank you.

    You are welcome.

  • Problem with the digital field model

    Hello!

    This problem is driving me crazy!...

    I placed a numeric field and used the following model:

    NUM {zzz zzz zzz, zz9.99}

    This field must view and accept with 2 decimal places and in European format floating point numbers.

    The locale by default for this form are the Portuguese (Brazil).

    So... If I type something like 99999, the field correctly 99.999,00.

    Now, if I type 99999.00, once again the field correctly contains 99.999,00.

    However, if I type 99999,00 (with a comma instead of a period, what I need) field contains 0.00.

    Please, thank you very much for all the ideas!

    Marcos

    The result you get is correct, because the boss lets only a time separate decimals.

    Try the following change:

    NUM {zzzzzzzzzzz9, 99}. NUM {zzzzzzzzzzz9.99}

    and this view model:

    NUM {zzz.zzz.zzz.zz9, 99}

  • Problems resizing of form fields

    I have not had this problem before and use the form field in Acrobat Pro for years. All of a sudden, I can't resize form fields to any size I want. Or I can put the fields wherever I want. I used must be able to move and resize in tiny increments, and now, the fields behave as if they are locked on a grid on the page - so do not allow me to put the fields anywhere, I want. With resizing, it is quite similar to I can't resize smoothly - resizing jumps into the blocks.

    No matter who else now facing this problem? I have not changed one of the preferences. Any help would be appreciated.

    Look under the view menu and see line up on the grid is not checked.

Maybe you are looking for