Date Compoent

Posted on 2006-04-21
Last Modified: 2010-04-01
We are using Myfaces 1.1.1 <t:inputdate> to show the Dates fields.
We need to invoke an event (Javascript or Bean method)  once a day has been selected on the calendar pop up.
Here is our code,

<t:inputDate   id="startDateOfVisit" type="date"
                                 popupCalendar="true" styleClass="valueDropDownBox"

In the above code, the valueChangeListener gets fired whenever the date is typed explictly i.e. not selected using the pop up calendar.
However it does not get fired when a day has been selected on the calendar pop up.

Please help.
Question by:csjoyce
    1 Comment
    LVL 35

    Accepted Solution

    This is with IE right?

    Apparently it's a problem that "onchange" only gets called in IE when the control loses focus:


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Outlook Free & Paid Tools
    Read about the 3 stages of the buyer's journey: awareness, consideration, and decision.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now