Is the any "Input Text component" to input a DateTime value ?

Hi all,
I have a to create a GUI; a user must specify some date and time values on it.
Is there any input component for this kind of need ?
I mean, for instance, to input a Date I'd like to show a calendar.
Cheers.
Stefano

Google for "java date picker". The very first hit looks like a good one (never tried it though).
You can also look at SwingX's JXDatePicker.
This seems to be a pretty common "advanced" component for people to try to make, so you have lots of choices. Just search around a little.

Similar Messages

  • Need solution regarding input text component

    when the user enters some text in the input text field in the priview mode, the text entered by the user will fall in the destination only when the user clicks somewhere outside the component. else the entered text will not fall in the destination.can some one help providing a solution such that when the user enters some text it should immediately fall in the destination. if this component does not support this requirement is their any other component which could meet my requirement?

    Hi Divya,
    you can do it by simply taking a Input Text make the destination for the Text as one cell in Excel and take another component "push Button". Make the Push Button's source as the Destination of the Input Text and its Destination as another cell.
    Now after entering the text in Input Text and when u will click on push Button, it will insert the Text in Corresponding cell i.e Destination of Push Button. Now you can use that value as you want.
    Hope it will Help u.
    Thanks
    Prakash

  • Getting a value of an input text component in backing bean

    I have created an input text component on a page where I will be entering a number, setting Autosubmit feature as true. ValueChangeListener property is set as #{test.displayTable} where displayTable is a method defined in test managed bean.
    Now I know to fetch the value entered in input text component by creating a RichInputText variable in Advanced property.
    But in case the Advanced property is blank, then how will I be able to retrieve the value of it? This is the code. I am not able to get the value entered in the component. I can't even find any getvalue method for it.
    FacesContext facesContext = FacesContext.getCurrentInstance();
    UIViewRoot root = facesContext.getViewRoot();
    RichInputText inputText = (RichInputText) root.findComponent("it1");  // it1 is the id of the input text component
    System.out.println("inputText: "+inputText);On using sop statement, this is the output which is getting generated, while I had entered 90.
    inputText: RichInputText[UIXEditableFacesBeanImpl, id=it1]

    One more thing. Once the VO is getting refreshed, I am able to display an inline message saying that 'Table refreshed Successfully!' (refer the code)
    But in case if the user doesn't enter anything, and press TAB button, I want to display an error message exactly besides the input text component, saying that 'Please Enter an Integer.' According to my understanding, if the user enters a null value then while casting string to Integer, it will throw an exception, so I will be writing the code in the catch part. Any suggestions?
    public void displayTable(ValueChangeEvent valueChangeEvent) {
            BindingContext bctx = BindingContext.getCurrent();
            BindingContainer bindings = bctx.getCurrentBindingsEntry();
            OperationBinding method = (OperationBinding)bindings.get("displayEmployeeTable");
            try {
                Integer getValue = Integer.valueOf(valueChangeEvent.getNewValue().toString());
                System.out.println("getValue: " + getValue);
                method.getParamsMap().put("deptId", getValue);
            } catch (Exception e) {
            method.execute();
            FacesMessage message = new FacesMessage("Table refreshed Successfully!");
            message.setSeverity(FacesMessage.SEVERITY_INFO);
            FacesContext fc = FacesContext.getCurrentInstance();
            fc.addMessage(null, message);
        }Edited by: Sonull on Jan 12, 2013 3:56 PM

  • CVP Opsconsole: Patterns for RNA timeout on outbound SIP calls - Dialed Number (DN) text box does not take any input

    Hi there,
    I'm having problems modifying the 'Dialed Number (DN)' text box under 'Advanced Configuration->Patterns for RNA timeout on outbound SIP calls' of the SIP tab in the Cisco Unified Customer Voice Portal 8.5(1) opsconsole. In a nut shell, I need to change the RNA timeout but some reason when typing into the Dialed Number text box, the input is not taken. The reason I want to change this settings is because my ICM Rona is not working with CVP:
    https://supportforums.cisco.com/thread/2031366
    Thanks in advance for any help.
    Carlos A Trivino
    [email protected]

    Hello Dale,
    CVP doesn't allow you to exceed the RNA more than 60  Seconds. If you want to configure the timer for DN Patterns you should  do it via OPS console, It would update the sip.properties files in  correct way, the above way is incorrect.
    Regards,
    Senthil

  • Setting the background color of the selection when text selected (input TextField)

    My input TextField has a black background. The problem is,
    when some text is enter and then selected, the selection background
    color remains black and the selected text remains white. Because of
    this it's imposible to tell that the text has been selected. Is
    there a way to change the selection background color, or do I
    really have to write a custom textfield? :(

    Yes, I do have an additional attribute called "identity" which is set to the original table where it came from. The problem is that I do not know how to check for it in my renderer. I will post my renderer code here
    public class myTableRenderer extends DefaultTableCellRenderer{
    public Component getTableCellRendererComponent( JTable table,Object value,boolean isSelected,boolean hasFocus,int row,int column) {
    final Component component = super.getTableCellRendererComponent(table, value,isSelected,hasFocus, row, column);
    if ( value != null ) {
    if ( value instanceof String ) {
    String val = value.toString();
    if ( val.compareTo("DisplayKnown") == 0 ) {
    component.setBackground(Color.CYAN);
    else
    component.setBackground(Color.LIGHT_GRAY);
    } // end if value not null
    return component;
    } // end mytablerenderer
    What happens here, is that only the column with the identity value "DisplayKnown" gets the color blue. I would like to color the whole row with that column value to be Blue.
    Does this make sense??
    Thanks,
    npatel

  • In iCal - I keep getting the error message " This calendar was created by Mail" and it will not accept any input; why..??

    In iCal - I keep getting the error message “ This calendar was created by Mail” and it will not accept any input; why..??

    use Disk Utility and Verify Permisions then fix and Verify Disk and fix, this should fix it.

  • I have a Sony radio in my car.   With IOS  4 on my IPhone I could use the docking plug to the usb input on the radio and stream ESPN radio or pandora to the radio.  After upgrading to IOS 5 on the phone the Sony radio will not recognize the phone .  Any t

    I have a Sony radio in my car.   With IOS  4 on my IPhone I could use the docking plug to the usb input on the radio and stream ESPN radio or pandora to the radio.  After upgrading to IOS 5 on the phone the Sony radio will not recognize the phone .  Any thoughts.

    I am reading on this site about the error I am getting and it wants me to change some files that I am not comfortable messing with. Mainly because it is like a foreign language. Will the store do this for me or tell me if it is neccessary?

  • While playing a game my iphone went completely frozen, it does not respond to any input, not even to holding down the on/off hey. Any ideas?

    While playing a game my iphone went completely frozen, it does not respond to any input, not even to holding down the on/off hey. Any ideas?

    Try a reset. That is holding the sleep/wake and home button together until you see the Apple logo and release. That will reset the iPhone, but will not affect your data.
    Thanks! It worked just fine!
    MRP66

  • When i plug my ipod into my computer it is not recharging.  The computer doesn't even acknowledge that it is plugged in. Any ideas why? It does have power left so i can use it but i want to recharge it of course.  Any input is appreicated.

    When i plug my ipod into my computer it is not recharging.  The computer doesn't even acknowledge that it is plugged in. Any ideas why? It does have power left so i can use it but i want to recharge it of course.  Any input is appreicated.

    Plug it into the wall using the supplied charger.
    Barry

  • Can anyone explain to me why sometimes my ipad2 locks up and won't respond to any input from the keyboard.

    My iPad 2 locks up sometimes and won't respond to any input from the keyboard. Have to reboot in order to fix the problem.

    You have 3 choices:
    1. Do a reset (Hold Sleep/Wake and Home buttons about 10 secs or more till Apple logo appears, ignore the Slide to Power Off that appears)
    Note: You will not lose any data.
    2. Restore from backup using iTunes
    3. Restore as new without the backup

  • I have just upgraded to the latest version of OSX as invited by Apple. Since then iTunes will not play and my volume controls have stopped working - in Preferences the sound controller is not able to find any input or output devices. What is going on?

    I have just upgraded to the latest version of OSX as invited by Apple. Since then iTunes will not play and my volume controls have stopped working - in Preferences the sound controller is not able to find any input or output devices. What is going on?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click  Log in.
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode. Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. 
    There will be no audio output in safe mode. The question to be answered by the test is whether any devices are listed in the Sound preference pane. After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I am having trouble sending an audio signal from my computer (mac pro early 2009) to my TV.  Is there some interface or adapter that allows /enables the audio input from my computer to be sent to the TV (R,L signal?) any suggestions

    I am having trouble sending an audio signal from my computer (mac pro early 2009) to my TV.  Is there some interface or adapter that allows /enables the audio input from my computer to be sent to the TV (R,L signal?) any suggestions

    just  the audio, eh?. If you were using DVI or DisplayPort that might be different, but for audio alone, it shouldn't be that hard.  Just grab a 3.5 mm stereo plug to 2 rca cables adapter. Plug the smaller end into the back of your Mac Pro (or the Front), where you see either the headphone or speaker icon). Alt-click on the speaker icon at the top of your screen to show all audio inputs and outputs. Make sure it's set to Line Out.  Plug the red and white end into the audio in jacks on the back of your tv and set it to the correct input. I don't know if your tv will allow just the audio to play. Usually one has to connect up something else, but hopefully I'm wrong.  If you were using DVI, or DisplayPort, you'd need an active DVI--HDMI adapter or a DisplayPort to HDMI adapter, but
    I don't know for sure
    J  B  

  • I have an Iphone 4S and ever since I did the IOS6 update I have not been able to update or downloand new apps. I touch the update or download tab and nothing happens. Thanks for any input

    I have an Iphone 4S and ever since I did the IOS6 update I have not been able to update or downloand new apps. Itunes works fine along with everything else. I touch the update or download tab and nothing happens. Thanks for any input!

    Settings, general, restrictions, are they off?

  • Updated ipad and wont allow me to keep the email i had, any inputs?

    I updated my ipad and it isnt allowing me to keep the email address i had. would like to keep it the same! any inputs?

    I{m not sure what you mean by that.  Where is it asking you to change it?  and By update do you mean you updated the iOS software on it, or you bought a new iPad all together?

  • The headphone input makes noise whenever I connect any headphone. The noise comes out of headphones but the problem exists in the port.

    The headphone input makes noise (radio signal noise like) whenever I connect any headphone. The noise comes out of headphones but the problem exists in the port.

    1. Reset PRAM.  http://support.apple.com/kb/ph14222
    2. Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".

Maybe you are looking for

  • IPod doesn't sync with iTunes on Windows Vista

    Hi there! I'm experiencing the following problem: the iPod charges when connected to my pc, but doesn't display within iTunes (and Windows Explorer). The 'round load' icon displays for 2 seconds in my iPod when I connect it via my USB 2.0, then disap

  • How to distribute my application with the smallest number of file

    Post Author: Ricolas CA Forum: General My application uses Crystal Report to generate reports (print function and PDF file). In fact my application only use the class "ReportClass". My application was developped with Crystal Report 9. Now, I am tryin

  • Downloading Movie. Can I watch something else?

    I have a new Apple TV 2 and have just rented my first movie. It is taking a long time to download. Can I watch something else while the download continues? I would like to watch something from Netflix. Thanks.

  • Reader XI regression - text annotations content ignores spaces and punctuation

    Dear All, you can test this issue in the following file when you hover the icons: http://examples.itextpdf.com/results/part2/chapter07/generic_annotations.pdf All spaces are narrower and colons are suppressed. I've found in my files there are also sl

  • FaceTime registration error

    I received the following message when trying to register for FaceTime on my MacBook Air: the server encountered an error processing your registration on FaceTime. How do I fix that? My son uses my apple id on his iPod and iPad. I should still be able