Allowing the datePicker on a DateField

I develop with JDE 4.7 and I wanted to add a DateField to one of my screens. When looking at the API I came across this method called enableDatePicker which was added in version 4.7. It looked interesting so I wanted to try, but when I call the method, it throws a NullPointerException.

DateField date = new DateField();  date.enableDatePicker(true);

Maybe it was completely did not implemented yet. What exactly is the method supposed to do?

Any help will be appreciated.

I was able to reproduce this and it will be sent to our development team.  You can call this method after the DateField has aired on a screen and the NullPointerException is not thrown.

Tags: BlackBerry Developers

Similar Questions

  • I don't see the option 'Allow the Apple Watch unlock'.

    Everything is set up according to the instructions, but it does not show. Early 2013 MacBook retina

    Hello Russbude!

    Here are the instructions that you need to follow in order to allow the ability to unlock your Mac with your Apple Watch. I will also link to the Apple Guide which are instructions, in this way, you will have access to the manual for future reference. Good luck!

    Unlock your Mac with Apple Watch

    If you have a Mac (2013 or later version) with macOS Sierra, your Apple Watch can instantly unlock your Mac when he wakes up from his sleep. You must be connected to iCloud by using the same identifier Apple on your Mac and Apple Watch.

    To use Auto unlock, you must have a password for your Apple Watch - open settings , type the password, type activate password on, and then follow the instructions on the screen.

    Turns on automatic unlocking. On your Mac, choose Apple menu > System Preferences, click Security & Privacy, and then click general. Check the box "Allow your Apple Watch unlock your Mac". If you have not enabled your iCloud of two factor authentication account, follow the instructions on the screen, and then try to select the check box again.

    For more information about two-factor authentication, see the article Apple Support for Apple ID two-factor authentication.

    Unlock your Mac. If you wear your watch, wake your Mac - no need to type your password.

    Tip: Make sure your Apple Watch is on your wrist and unlocked.

    https://help.Apple.com/watch/#/apd4200675b8?CID=ACS:applesearch

  • IPhone 7, there will be an adapter jack allowing the two using headphones AND charger?

    IPhone 7, there will be an adapter jack allowing the two using headphones AND charger?

    Hello

    Apple has not yet announced a.

    You can submit your comments and suggestions to Apple here:

    https://www.Apple.com/feedback/iPhone.html

  • Closing "Firefox prevented this page automatically reloading" allows the auto-recharges. or continue to deny, but without informing you?

    In Options/Advanced/general Options, that I 'Warn me when websites try to redirect or reload the page' selected.

    However there are some cases - for example, when a page has me 'pending' temporarily when the site is too busy ("we're going to keep you in the queue and will warn you if the website is available"), with the "Firefox prevented this page automatically reloading" bar appears in the upper part.

    If I left the bar remain without any intervention on my part, can the page REALLY let me know when the site is available? Or how about if I click Close (X) on the bar, which in fact disappear. Is Firefox and then allowing the page reload, or is it always block but just to remove the notification that it is done? (A third choice, by clicking the "Authorize" button is essentially useless in this case because it just instantly reappears.)

    Bottom line, I strive to make sure the page that's too busy REALLY can let know me when it is available, without having to change all of the global settings.

    Said Rick216

    If I left the bar remain without any intervention on my part, can the page REALLY let me know when the site is available? Or how about if I click Close (X) on the bar, which in fact disappear. Is Firefox and then allowing the page reload, or is it always block but just to remove the notification that it is done?

    If you do not click allow, Firefox will ignore a metatag to refresh as follows in order to reload the page every 30 seconds:

    <meta http-equiv="refresh" content="30">
    

    But as you point out, by clicking on allow made that immediately reload the page and the same triggers InfoBar again. One of the many reasons that this feature is more trouble that it's worth.

    If you leave the display bar or if you 'x' of the bar, the scripts can always reload the page. In other words, this function does NOT stop something similar to the following to reload the page every 60 seconds:

    <script type="text/javascript">
    window.setTimeout(function(){window.location.reload()}, 60000);
    </script>

    So what is happening on the page in question depends on how it is designed.

  • allow the family to use my id storage

    How can my family use my plan of storage using the part of the family?

    Family sharing is used with all individuals using the different Apple ID. Each Apple ID has its iCloud storage space. Family sharing is not designed to allow the use of different iCloud storage to a device with a different ID to Apple. While you can share purchases, and the family organizer can approve purchases, you cannot allow the use of your iCloud-storage space. The closest to that is to share photos in a stream of family photos.

  • I use a FX news web page that allows the time of NZ be saved. IE will be but is not Firefox, any ideas?

    Web Site that I use is http://www.forexfactory.com/market that there time regional settings and preferences look one allowing the parameters to record to new levels. This means that the next time you login, your local time is good and the settings are held. It has been working well under Microsoft IE. But I'm all switch to Firefox and it's a site when you use Firefox won't hold settings, etc.

    Do you know how the site stores this information? It seems that this information is not recorded in your account settings, but in the browser. In this case, the most likely places are:

    • Cookies
    • storage local, also known under the name of DOM storage
    • LSO Flash, also called a Flash cookie or supercookie

    To check if the site is allowed to place a persistent cookies, while on the site, click the icon of padlock or globe in the address bar, and then more than information, then permissions. Check the permission for 'Cookie Set', which can be 'default'. If you uncheck that, Firefox shows the State of authorization allow? It would need to be allow to persist between sessions.

    There is also an option to clear the cookies at the stop, which would be in conflict with the recording of cookies on the site.

    And a few extensions deletes cookies. And some external software erase cookies...

  • Firefox allows the printing of files PROTECTED on my server. WHY?

    All other browsers RESPECT the fact that a PDF is password protected and does NOT allow this file to be printed. Fire Fox violates this rule, and let's users simply of pass protection and print the files. It really SUCKS! He should fix it to conform to current practices. Is this corrected?

    John, your response to:
    "Basically if the image is published it is likely to be copied in one way or another." Perhaps consider tattoo and or only provide copies low-resolution images in these pdf's.

    I will finish this issue. Anyone who wants to give you detailed perhaps advice do in your original thread

    Firefox allows the printing of files PROTECTED on my server. WHY? / issues/992183
    change Link to previous post ~ J99
    I could certainly copy an image from a pdf file posted or downloaded by browsers other than Firefox. »

    WON'T. I speak NOT of the IMAGE being copied from a screen. This, of course, can be done by anyone. What I'm talking about you, is that FIREFOX, unlike all other browsers, ALLOWS you to print a PROTECTED PDF FILE complete. This should NOT be and this issue should NOT be closed and just brushed side because Mozilla has a MAJOR BUG in their software. Your program should be corrected in order to RESPECT the protection of a file and NOT allow it to be printed in its ENTIRETY.

    NO SATISFACTORY SOLUTION HAS BEEN POSTED. FIRE FOX IS BROKEN AND NEEDS TO BE REPAIRED. PURE AND SIMPLE. DO NOT WHITE WASHING A CONCERN MOST OF YOUR USERS!
    Richard plant

  • I uninstalled Adobe Flash and then tried to download. I get a message from Adobe saying 'Failed to initialize' is there a setting on Mozilla, I need to change to allow the plug in?

    I uninstalled Adobe Flash and then tried to download. I get a message from Adobe saying 'Failed to initialize' is there a setting on Mozilla, I need to change to allow the plug in?

    Why don't you use Firefox 7?

  • Does iOS App Store allows the old inherited app to download to support more hardware and software?

    I'm using iphone 4 on ios5.1 and can not download waze, instagram etc... because they ios7.0, app or the new paypal required ios8.0. (so even if I upgrade my ios to 7.1.2 I won t be able to use it, it s a big problem)

    There are many applications no longer works on ios5.1.

    At Apple archived older versions of applications and will make available this backwards compatible?

    Developers can submit apps for obsolete equipment and iOS version outdated on the App Store?

    Does iOS App Store allows the old inherited app to download to support more hardware and software?

    Thanks for your help.

    You can download older versions of applications if you have a computer or other device running a newer version of iOS. This explains how do.

    Install the latest compatible version of an application on an earlier version of iOS or OS X - Apple support

  • I just download v4.0. How can I get the third arrow back button navigation, which allows the selection of a page forward or back?

    I just download v4.0. How can I get the third arrow back button navigation, which allows the selection of a page forward or back?

    Don't know how to get the exact button back (sorry) I dig around too much to do...
    But! Today, I found by chance that by clicking and holding on the back button the same box to popup in last-12-sites and you can stream on the list to return to that particular site.

    Not exactly what you (and me) tried but at least the functionality is there.

    Good luck!

  • Each time you start firefox asked me if want to allow the program to make changes to the computer

    Whenever I start firefox, I wonder if I want to allow the program to make changes to my computer. Do not have this problem until I updated to the new version.

    This has happened

    Each time Firefox opened

    == I've updated to the new version

    Check that you are not Firefox running as administrator.

    Right click on the desktop Firefox shortcut and choose "Properties".

    In the Compatibility tab, make sure that this level of privilege: "Run this program as an administrator" is not selected.

    You should also check the firefox.exe program properties in the Firefox program directory.

  • Satellite L100-120: Wlan does not allow the transmission of large data packets

    Satellite L100-120, Intel 3945ABG.
    Router Wi - fi is 3COM OfficeConnect Wireless, same problem with Dlink DI-524.

    By default my wi - fi card does not allow the transmission of packets of data.

    I use ping-f-l 1464 192.168.1.1 to check if it is possible to send a large package. All packages more then 600 large fail to be sent.

    It is tragically wireless performance and I almost cannot use internet at all. I solved the problem partially by setting the MTU to map wi - fi at 548. Connection is now stable, although I can not yet send massive emails. Anyway, it is not a good situation to have such a low MTU value.

    Everybody respected this problem?

    I think you will find the solution in this announcement:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=15101

    I think the secret is the update of the BIOS!

  • BIOS update allows the use of modules of 2 GB RAM DDR on Satellite P10 554?

    Hello

    I have a satellite p10 554 and want upgrad my RAM.
    By default, the maximum that you can install's two Kits of GB 1.
    Are there any - update Bios, that allows 2 GB kits?
    Thank you very much!

    Ron

    Hello Ron

    The same situation with my P20! Unfortunately there is no BIOS update allows the use of the RAM more.

  • In the mail the bar at the bottom of the Inbox window won't slide up to allow the contents of the selected message appear without double click to open it in a separate window. A thinking about it?

    In the mail the bar at the bottom of the Inbox window won't slide up to allow the contents of the selected message appear without double click to open it in a separate window. A thinking about it? I can't find anything in the preferences that relates. The ability to drag the bar just seems jammed.

    Using El Capitan? If so, in Mail, go to preferences-> look at one and activate the option "use the classic setup."

  • User interface to allow the arbitrary rearrangement of a table 1 d of clusters

    Hi all

    I hope I can ask this question clearly without an example of code, because I like to keep the discussion as broad as possible, so here goes:

    I have a table 1 d of the clusters.  Each element represents a configuration for a whole bunch of connected equipment, and a period of stay in this State and one chain control so that the user can name every step.  I intend to loop in the table to run a series of predefined tasks.

    I want to have a button on the front panel next to the Bay or "Reorganize" that launches a dialog box that lists the control sting of each element of the array, in the order, and allows the user to rearrange the order by click/drag the elements upwards or downwards on the list, and when the user clicks OK It rearranges the table to match the new order.

    If it wasn't clear, let me set out like this: when you change a diagram, and you want to reorganize a business structure, you can right click and select «Reorder the case...» "I want this feature for a table 1 d of the clusters.

    I have absolutely zero idea on how to budge on this.

    Thank you

    Matt

    The functionality you need is available in the list box, simply set up to enable drag / don't drop, no external control parts hanging out and move only.  Here is an example that gets the names of cluster, you expected to drag things around, then click ok, then transpose.  The structure of the event is there in case you want to move the up/down buttons.  I have a tendency to plunder these buttons icon editor.

Maybe you are looking for

  • Debugging on a real-time target - deployment issues

    Dear community, After RT my 9651 sbRIO module wiring code, I do tests to check the intended functionality. For this I start my main VI who deploys the code on my SoM and I can happily move forward with my debugging session. Sometimes, however, while

  • General polynomial fitting of a curve at 5 points

    Hi, I'm trying to adjust a curve of only 5 points with the polynomial general function, but it doesn't seem to work. I tried all the algorithms and controls up to 5 (number of points). You have a solution for that wonderfull should be that we get wit

  • Out of memory exception

    Out of Memory occurred several times in my application running on Windows server 2008 R2 Standard (Service Pack 1) I found an exception in the event viewer, but it just once. Let me know the best solution for this Exception from the event viewer: The

  • Cannot print from my Kodak printer

    Original title; Print printer printing I use a Kodak printer and is not print any word on paper.  Inkwells are full. Any help much appreciated Betty

  • Windows 7 license limit

    Hello I formatted my computer because it has been infected by a Trojan horse, and now I can't activate windows 7, I get this error: exceeded key activation limit. But this key is active only in my computer. PS: I received my key to University (https: