you have makeContextMenu() method in the field class?

Hi all
I use the BlackBerry Plugin on Eclipse.
I have installed BlackBerry by JRE 5.0.0 project.

I used the class field on my program. But I can't use certain methods in this class, for example makeContextMenu() method.

I try to develop 5.0.0 JRE packages on the left side of the window of the Eclipse and I found the net.rim.device.api.ui.Field class. I see all the methods in this class, but there is a method is "YELLOW" and these methods cannot use in my program.

Can you help me to solve this problem, thanks a lot!

You must override the method, do not call it directly.  You can see an example of its use in the example here:

http://supportforums.BlackBerry.com/T5/Java-development/create-a-scrollable-image-field/TA-p/444955

Tags: BlackBerry Developers

Similar Questions

  • To access the methods of the VORowImpl class

    Scenario is,

    I have a view object class VOImpl.java in the model.view package.

    I have another class of JavaBean EntryHandle.java

    EntryHandle class I can Import model.view.VOImpl;

    Help me now how I can access methods of the VOImpl class in the ADF.

    Or I have to create the VOImpl object class in class EntryHandle? as in programming java Simple? or something else

    JDeveloper Version: 11g Release 2 11.1.2.0.0

    Zaid,

    If you have a VO with 2 attributes, you have defined the category value. (This poster Lov sense and sets the value for the category field).

    You want to get the value selected from the lov. Is this correct?

    When do you get this value? When they choose a new value from the LOV.

    If you have written the code in the valueChangeListener, you can check the link below:

    https://blogs.Oracle.com/ADF/entry/getting_selected_value_from_selectonechoice

    Code of the blog

    public void valueChanged(ValueChangeEvent valueChangeEvent) {
        this.setValueToEL("#{bindings.Deptno.inputValue}", valueChangeEvent.getNewValue()); //Updates the model
        System.out.println("\n******** Selected Value: "+resolveExpression("#{bindings.Deptno.attributeValue}"));
        System.out.println("\n******** Display Value: "+resolveExpression("#{bindings.Deptno.selectedValue ne ' ' ? bindings.Deptno.selectedValue.attributeValues[1] : ''}"));
    }
    
    public Object resolveExpression(String el) {
        FacesContext facesContext = FacesContext.getCurrentInstance();
        ELContext elContext = facesContext.getELContext();
        ExpressionFactory expressionFactory =  facesContext.getApplication().getExpressionFactory();
        ValueExpression valueExp = expressionFactory.createValueExpression(elContext,el,Object.class);
        return valueExp.getValue(elContext);
    }
    
    public void setValueToEL(String el, Object val) {
        FacesContext facesContext = FacesContext.getCurrentInstance();
        ELContext elContext = facesContext.getELContext();
        ExpressionFactory expressionFactory =   facesContext.getApplication().getExpressionFactory();
        ValueExpression exp = expressionFactory.createValueExpression(elContext, el, Object.class);
        exp.setValue(elContext, val);
    }
    

    You can get the selected value and the value of display with the above code. You need to replace Deptno by category.

    See you soon

    AJ

  • What is the method of the String class's trim() in special cases?

    You are looking for here ( String (Java Platform SE 7) ), I understand that the method of the String class's trim() 'returns a copy of the string with white spaces of early and omitted end', but I don't understand what the last special case Unicode characters is exactly.

    You are looking for here ( list of characters Unicode - Wikipedia, the free encyclopedia ), I see that U + 0020 is a space character, and I also see the characters that follow the character space (for example, the exclamation point character).

    So, I decided to write a sample of the size of the code to try to reproduce the behavior that I quoted (from the documentation of the API of the trim method) in the comment from several line of this code even example. Here is the code example. :

    public class TrimTester {
    
        public static void main(String[] args) {
           
            /*
             * "Otherwise, let k be the index of the first character in the string whose code
             * is greater than '\u0020', and let m be the index of the last character in the
             * string whose code is greater than '\u0020'. A new String object is created,
             * representing the substring of this string that begins with the character at
             * index k and ends with the character at index m-that is, the result of
             * this.substring(k, m+1)."
             */
            String str = "aa!Hello$bb";
            System.out.println(str.trim());
        }
    }
    

    However, what is printed is "aa." «Hello bb$ "(without the quotes) instead of «!» "Hello$" (without the quotes).

    Any input to help me better understand what's happening would be greatly appreciated!

    Hallo,

    I think that the characters 'a' and 'b' both have greater than '\u0020' code, so your entire string is returned by the trim () - method, then the first character of the string whose code is superior to ' \u0020 has index 0, and the last character whose code is greater than '\u0020' a index 10. All printable characters have codes greater than 0020, try "\r\ntest". After trim(), you get 'test '.

    Regarding

    Rafal Z

  • Gmail said "some important features may not work in this version of your browser, if you have been directed to the basic HTML version. Upgrade to a modern, like Google Chrome browser. Try the standard version in any case. "

    When I visit Gmail using Firefox version 8.0 (running w7) I get this message: "important features may not work in this version of your browser, if you have been directed to the basic HTML version. Upgrade to a modern, like Google Chrome browser. Try the standard version in any case. "

    When I click "Try Standard Version Anyway" it works, but for some reason, Gmail is say that Firefox 8.0 is not a modern browser. Also, whenever I visit Gmail, he returned to the basic HTML version... ba.

    It seems that Google is trying to make you switch to Chrome. I would stick with Firefox, but Gmail is an important part of my browsing...

    I found the solution... browsing around, I found this link:

    http://www.Google.sh/support/forum/p/Gmail/thread?TID=627898d83a02180f & hl = in

    In type of Firefox:

    Subject: config

    Filter the results with:

    "general.useragent.

    All fields that are "BOLD" must be reset to ZERO. Do a RIGHT CLICK and RESET each field "BOLD".

    Worked on my w7 machine!

  • Why Firefox 7 tutorials do not consider that people could be impaird of hearing? You have a video on the position of the tabs which is useless to me because I'm severely deficient auditory

    In addition, your registration/login page frustrates my Roboform Login Manager. It fills the register form, when I registered and will not fill the login form. The login form and the form of registry must be on different pages.

    I understand that the increased use of the video seems to offer shortcuts to information. But this isn't a shortcut for hard of hearing or deaf. If you have a video tutorial and you have a transcript of the article which provides the same information, it must be easily visible so that deaf and hearing people with hearing loss can immediately switch to him.

    I understand you are trying to tell me that I have more options if the tabs on top, but there is a lag for me and so I clicked on the link for information on the switch back to tabs just above the web screen. What I got was a page with more arguments about why I should accept tabs on top.

    I clicked on the video, hoping it would be a type of slide show of the video, instead, I had someone who I can't hear.

    Please direct me to instructions on how to set my tabs just above the web page.

    Thank you

    Tabs on top

    Follow the instructions in the article below to clear tabs on top:

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

  • You have a delivery to the Ukraine?

    You have a delivery to the Ukraine? I just want to buy your products and many Ukrainians also.

    The Apple store does not deliver beyond the borders. There are many independent retailers of Apple products, and some of them may be willing to do international shipping. Be aware that coverage may not be valid in this case.

  • How can you check if you have a problem with the ghost attack

    How can you check if you have a problem with the ghost attack.

    My ISP (Virgin) sent me a letter saying I could have an attack on my apps by the phantom virus.

    How is this true and what can do

    The XcodeGhost malware affects the apps, mainly Chinese, created using a red version of Xcode.  It is not a 'virus '.  (Look at the difference between computer viruses and malware).  Remove the Apple listed here and get updated with the latest versions of the App Store.

  • You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. »

    What does this message mean? I get when I click on the icon to evaluate files on another of our computers. "You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. »

    The other computer has not been configured to allow remote access to this folder from your account.  You'll want to go to this other computer, right click on the folder that is shared and go to properties, then set the appropriate security settings to allow access.

  • 'Environment of the user' Windows cannot load the user's profile, but you have logged on with the default profile for the system.

    Original title: the user environment

    After starting windows, on the Welcome screen, this message always comes.
    "User environment.
    Windows cannot load the user's profile, but you have logged on with the default profile for the system. DETAIL: Not enough memory is available to process this command.
    And all my files that I save before you shut down or restart my pc all the my sample files on the desktop, my documents disappear...

    Thanks... :)

    This is typical of a corrupted profile.  To recover, perform the following steps:

    "How to recover damaged Windows XP user profile"
      <>http://support.Microsoft.com/kb/555473 >

    Almost always, corrupt profiles are accompanied by damaged drive.  During recovery, run a disk check with the /r or /f on your computer option.

    "How to perform disk error in Windows XP check"
      <>http://support.Microsoft.com/kb/315265 >

    HTH,
    JW

  • When you reply to a post in a yahoo chat room, I suddenly said... you have been disconnected from the chat because you have accessed YAHOO! MESSENGER from another computer or device? That is what it is?

    When you reply to a post in a salon political discussion of yahoo, I suddenly get the message... you have been disconnected from the chat because you have accessed YAHOO! MESSENGER from another computer or device.  I did not as far as I know?  Thank you, Charles

    Hello

    The message "you have disconnected because you access Yahoo! Messenger from another computer or device." appears when you try to connect twice with the same Yahoo! ID. Someone knows your password and he at the same time connecting with you or you have Yahoo Multi Messenger and accidentally logging in twice. One solution is to change your Yahoo! password or not to use Yahoo Multi Messenger with the same ID.

    Good luck!

  • Why my windows 7 64 bit is not in support of my USB connected brodband modam UTSTAR UT300R2U, if you have drivers please send the link

    Why my windows 7 64 bit is not in support of my USB connected brodband modam UTSTAR UT300R2U, if you have drivers please send the link

    Help, please

    If there is no driver, your ISP will have them, NOT Microsoft. Contact your ISP...

    OR...

    You have not need drivers, if you are using the RJ45 connection. Unplug the USB cable and attach a RJ45 patch canble between the modem and your computer.

    The computer must connect after doing this

  • Cannot access Windows Store. Error: App not available, either you have been disconnected from the Internet Server or access problem

    I recently bought a new vaio with touchscreen and win 8. the ' store became available? I clicked on the app and get this message: App not available, either you have been disconnected from the server or access to Internet number... something... not that is the case... .laptop is old 2 days... and I tried to put it in place... it's very frustrating... and I am hating victory 8 technology now...

    Original title: not like winning 8 all the

    Hi GESH78,

    -You are able to access the Internet outside of Windows Store?

    This issue may be caused if you are using the proxy settings, incorrect settings or store waiting for update needs to be installed on your computer. I would suggest trying the following steps and check if it helps.

    Step 1:

    Install all pending Windows updates and check if it makes a difference.

    To check updates

    one) open Windows Update in Control Panel by dragging it from the right edge of the screen, type Search (or, if you are using a mouse, pointing to the top right of the screen, move the pointer of the mouse down and then clicking Search), get into Windows Update in the search box, by typing or clicking on settings and then type or by clicking install optional updates.

    (b) in the left pane, press or click find updates, and then wait while Windows searches the latest updates for your PC.

    (c) if updates are found, tap or click install updates.

    Read and accept the terms of the license and then press or click Finish if the update requires it. You may be prompted for an administrator password or to confirm your choice.

    Step 2:

    I suggest you delete the Windows Store cache and check how it works.

    (a) press Windows + R logo

    (b) type wsreset.exe in the run window, and then press ENTER.

    Step 3:

    Disable the proxy connection

    If you use a Proxy connection, then try to disable the proxy connection and check.

    Follow the steps to turn off the proxy connection.

    (a) click on the gear box in the upper right corner in internet explore.

    (b) click on the Tools button and then click on Internet Options.

    (c) click on the Connections tab, then click LAN settings.

    (d) uncheck the use a proxy server for your LAN check box.

    (e) click ok.

    Let us know the status of the issue. If you need help, please after return. We will be happy to help you.

  • The OFA error: you have enough privileges for the operation. Please contact your system administrator. (Hello world does not)

    Hello

    My business that we are upgrading to R12.2.5. I downloaded the latest patch from metalink jdeveloper and trying to configure jdeveloper. When I ran Hello World program I get an error of "you have enough privileges for the operation." "Please contact your system administrator."

    I have facility for all the configs needed in the project but still is the same.


    When I fell on the debug mode. I got the same error with the missing config file.

    Please check below the debug message:

    November 4, 2015 16:47 oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig

    INFO: oracle.adf.share.config.ADFConfigFactory no META-INF/adf - config.xml not found

    Help me its urgent.

    Thank you

    Thanks for the reply to my post.

    I used the position and he help me solve the problem.

    As I'm working on R12.2.5 which is the latest version of oracle, so the solution was not entirely correct, but helped me dig the real solution.

    After that the implementation of Jdevloper below is the steps I followed

    1. change the profile FND option: validate IP address - no

    2 al ' Jdeveloper go to tools--> embedded OC4J preferences--> Global--> starting--> address local IP select by default.

    It helped me solve my problem.

    Thank you

  • You have enough privileges for the operation. Please contact your system administrator.

    Hello

    We are modernizing 12.1.3 to 12.2.4

    We have a custom workflow that sends the Notification.

    Notification consist of link (a link that directs to the custom function)

    By clicking on this link, we get

    Error:

    You have enough privileges for the operation. Please contact your system administrator.

    Actions taken:

    Active: WF_LOCAL_USER_ROLES, WF_LOCAL_ROLES, WF_USER_ROLES, user who receives Notification required roles.

    Checked: Function that is called by clicking on the link is affected under which the user is responsible.

    12.2.4 there everything must be given more subsidies?

    Please advice what to do to fix this problem.

    Hi AJ,.

    We have the solution to this question in my other thread, thank you for your support

    Call the Notification Destination URI

  • We have created a responsibility custom to access the Collection of quality RESP results, we get an error - you have enough privileges for the operation. Please contact your system administrator.

    Hi all

    We have created a responsibility custom to access the results of Collections only HTML page.

    Details of the liability and the Menu are also less

    Name of the RESP: XX QUALITY

    Application: Quality custom

    Menu: XXQA_QUALITY

    and there is no attached grp applications.

    Definition of menu:

    Menu name: XXQA_QUALITY

    Description of function for the submenu SEQ invites

    10 quality Workbench results results collection begins Page quality Workbench results Start Page

    quality of view finds quality results 20 results display quality results

    We show only this specific user responsibility and whenever it tries to access the page "Results from the Collection" he gives us an error.

    "You have enough privileges for the operation." Please contact your system administrator.


    If we attribute an RESP of super user of quality to this user, it allows to access the form.


    Can you kindly help us to find a solution to this problem.


    Thank you

    Maury

    Hi all

    I guess I found the answer,

    I need to join all the submenus that are part of the HTML Page.

    Results from the collection Results of quality Workbench Start Page
    Nonconformities Quality Workbench nonconformities homepage
    Corrective actions Quality Workbench action homepage
    Consultation of lots of Skip Lot of Skip quality Workbench Start Page

    Have they added those. and it worked.

    Thank you

    Maury

Maybe you are looking for

  • Playlist falls at the end of the folder list after adding a song in latest update

    Unfortunately after installing the latest update, when I add a song to a playlist that is in a folder, playlist will reorganize itself at the end of the list of folders. This has not happened before and makes it confusing if I add more than one song

  • My Satellite A210-183 stops randomly

    My Satellite A210 stops leaving to chance the power led and HDD led orange and on / off as the HD works.The only way to restart is to take off the power, remove the battery for a few seconds and then restart... It cannot be the battery as it does wit

  • My keyboard doesn't work sometimes

    My buttons on keyboard Asus Aspire E5 - 571 G-39V3 (E, 3, 4) stops working sometimes and sometimes it buttons doesn't work. I have to use the on-screen keyboard. I bought this computer 3 months ago. I tried to clean the buttons but it does not work.

  • Where can you find your windows when the sticker product key has been through?

    I reinstalled Windows Vista after a hard disk failure by using the recovery disk Toshiba OEM to restore on a new hard drive, Windows application product key now, but the label under the laptop is worn out - what should I do?

  • How do I allow all redirects in the world in 49 of Firefox?

    The answers to this question were posted in 2014 and do not apply to Firefox 49. I am a smart internet user and know where I'm going. Firefox blocks all the redirections and asks me if I want to enable it. Of course I do, since I deal with most of th