DHTML Calendar

Has anyone of you experienced any problems with DHTML Calendar and ApEx 3.0? I
installed the files as required, created shortcuts, included the required string in the page
header and when I try to click on the calendar icon, I receive the following error:
Calendar._TT has no properties
Calendar(1, Thu Apr 26 2007 09:46:59 GMT+0200, onSelect(cal), function())calendar.js (line 32)
(no name)()calendar-setup.js (line 164)
[Break on this error] this.dateFormat = Calendar._TT["DEF_DATE_FORMAT"];
I used the same procedure as described here:
http://htmldb.oracle.com/pls/otn/f?p=18326:54
Denes Kubicek

Hi Denes,
Your link is broken.
I assume is this "http://htmldb.oracle.com/pls/otn/f?p=18326:54:2243586845924305::::P54_ID:2102"
Using a DHTML calendar by GUIDO ZEELEN.
Had installed and works as documented.
Note:
US Users: You may have to download an addition file to put in the /i/calendar/lang directory for those whose language is set to en-us. You can right-click and save this link.
The file had to be save is is name calendar-en-us.js.
P.S.
Using Apex 3.0 / Oracle 10G Windows 32 XP SP2
HTH
Zack Message was edited by:
Zack.L

Similar Messages

  • DHTML Calendar Date Format

    Hello All,
    We recently used solution in thread
    Move Date Picker Pop Up Location
    Guido Zeelen has submitted a terrific example of this on the APEX Studio.
    See http://htmldb.oracle.com/pls/otn/f?p=18326:54:::::P54_ID:2102
    Working example at http://htmldb.oracle.com/pls/otn/f?p=17785:1
    The PL/SQL Function body examples at first link have date formats of d-m-y 21-02-2007
    The second example has %m-%d-%y 02-21-2007
    We tried changing code in PL/SQL Function body below several variations in the ifFormat : "%d-%m-%Y",
    M
    MON
    mmm
    MMM
    m-
    m--
    M--
    Name: DHTML_CALENDAR (DD-MON-YYYY)
    Typr: PL/SQL Function Body
    Shortcut:
    if v('PRINTER_FRIENDLY') = 'YES'
    then
    return ' ';
    end if;
    return '
    <img src="/i/calendar/img.gif" alt="Click here to show a calendar" border=0 width="16" height="16" style="cursor:pointer;" id="#CURRENT_ITEM_ID#_CAL"/>
    <script type="text/javascript">
    Calendar.setup({
    inputField : "#CURRENT_ITEM_NAME#",
    ifFormat : "%d-%m-%Y",
    button : "#CURRENT_ITEM_ID#_CAL",
    singleClick: true,
    align : "cR",
    showOthers : true,
    firstDay : 1,
    electric : false,
    cache : true
    </script>
    Under Home>Application Builder> Application Attributes> Edit Definitions
    Substitutions> PICK_DATE_FORMAT_MASK = DD-MON-YYYY
    on the page item - on the item Source - we have Format Mask = DD-MON-YYYY
    Our goal is to have the following 02-FEB-2007
    Any assistance or comments are greatly appreciated.
    Regards,
    Robert

    Hello Robert,
    I'm glad you like the DHTML calendar solution.
    In order to get the DD-MON-YYYY format, you have to set the following property within Calendar.setup:
    ifFormat : "%d-%b-%Y"
    However, %b returns the abbreviated month capitalized.
    Hopefully this is the answer to your question.
    Kind regards,
    Guido

  • Auto Submit option on calendar

    Try as I might, I can't get a calendar component to auto submit when a new date is selected....the auto submit option is ticked on the sub menu....the onChange code (common_timeoutSubmitForm(this.form, 'calendar1');) is there, but nothing happens in either firefox or internet explorer.....and I can't find a solution anywhere
    Any ideas??

    Hi Edwin,
    When I change a start date, I want to check if it is
    greater than end date and automatically change the
    end date to be the same as start.I'm not sure I understand. How are you changing the startDate? The current calendar requires one to choose a startDate and endDate in advance before rendering. So your app needs to decide what the interval should be and set the startDate and endDate in the init() or prerender() method. The page will then be rendered, then the user chooses a date and submits the page, then your app can then access the selectedDate property.
    I agree that the calendar is difficult to use. For one thing, I think the basic function of a calendar or date picker type component should be to choose any date at all. I think we need a new calendar component to solve this problem and to fix a number of other bugs with the current one. So the best I can do is to offer some workarounds.
    BTW, as part of my component authoring work, I am developing a sample DHTML calendar that does solve some of these problems. It could be the basis of an improved popup calendar. I hope to publish it soon.
    >
    I have tried several javascript onchange event and
    this never gest fired. The onclick works, but not
    want I want.OK, I don't remember what I tried before.
    >
    Setting auto-submit to on never fires the calendar
    validate or valuechange events.Yes, auto-submit does not work, but does it need to? I can't think of a common use case where a user selects a date and it would automatically submit the page. I've surveyed several calendar components on the web and do not see any with an auto-submit feature. Is it not possible to add a submit button to the page next to calendar.
    Thanks for your feedback.
    -Edwin
    Creator team
    http://blogs.sun.com/edwingo/

  • Calendar, and CF variable

    I'm curious if anyone knows of a good JS popup calendar? I'm
    trying to get
    a calendar that I can allow users to pick a date, and have
    that information
    (date) assigned to a CF variable.
    Does anyone know of such a calendar that will work well in
    this way? It
    doesn't need to have a lot of flashy stuff, just the
    month/days/year.......
    How would you assign the date picked to a CF variable?
    Thanks,
    Steve

    I would like that date to fill into
    the "date" field on the form.
    How can this be done?
    Yes, that is what the JS Calendar product I linked to is all
    about. It
    presents a nice DHTML calendar that users can select and the
    date value
    that is selected is copied into a field of your choice.
    I like this one because the CSS is good and tight, I used to
    use a
    different product and the way they had defined their CSS it
    was easy to
    create conflicting CSS that would mess things up. It is easy
    to
    install, drop in a few JS and CSS files and provide the links
    in a
    document. Create an image to be the control for the calendar
    and define
    what field the data goes into with a few more lines of JS.
    <script type="text/javascript"
    src="/resources/HttpResources/javascripts/jscalendar-0.9.6/calendar.js"></script>
    <script type="text/javascript"
    src="/resources/HttpResources/javascripts/jscalendar-0.9.6/lang/calendar-en.js"></script>
    <script type="text/javascript"
    src="/resources/HttpResources/javascripts/jscalendar-0.9.6/calendar-setup.js"></script>
    <label for="articledate" class="date">Article Date:
    <input type="text"
    id="articledate" name="articledate"
    value="#formXML.articledate.xmlText#"/>
    <img
    src="/Resources/HttpResources/Images/PopupCalendar/cal.gif"
    id="calGif" alt="Date picker calendar.">
    <script type="text/javascript">
    Calendar.setup(
    inputField : "articledate", // ID of the input field
    ifFormat : "%m/%d/%Y", // the date format
    button : "calGif" // ID of the button
    </script>
    </label>

  • ShowSelect() / PTFormElemToHide for v5.0.2

    In v4.5 you could manually call the javascript function showSelect() to show or hide all elements tagged with the "PTFormElemToHide" ID. This seems to not be the case in v5.0.2 and has broken a few portal applications that use a DHTML calendar popup of mine. Any idea what the updated function name is so I can get these applications working like they should again?

    LOL... Remove them from the old gadgets. You are joking right? Sorry but I don't have the time to go back thru the 70+ gadget applications just to remove the element ID that still functions the same with the new menus.
    I was asking because we have applications that use a DHTML based calendar control that pops up and calls the javascript showSelect() function from v4.5. I am looking for the name of the javascript function in v5.0.2 that does the same thing. The showSelect() was a good choice before because the calendar popup needed to be visible/hidden following the same concepts as the items using the PTFormElemToHide ID. If I don't use it, the new menus throw off the z-index of the calendar control leaving a half-visible control (see screenshot below) after they hover over one.

  • DHTML Date Picker (Calendar)

    I recently ran across a thread that linked to Guido Zeelen's DHTML date picker. The code for this calendar can be found here:
    http://htmldb.oracle.com/pls/otn/f?p=18326:54:::::P54_ID:2102
    I have downloaded the files mentioned, but the directions are a bit confusing to me. Can someone walk me through setting up this better calendar?
    Thanks!
    BoilerUP

    Hi,
    Did you read through all the instructions at -
    http://htmldb.oracle.com/pls/otn/f?p=18326:54:1798771197057304::::P54_ID:2102
    also the forum thread here might be helpful to you -
    Re: DHTML Calender in a Form Table
    but the directions are a bit confusing to me.What are you finding confusing specifically?

  • Calendar object with Microsoft DST patch

    We have been testing changes to the 2007 daylight saving time. We applied Microsoft DST patch to Windows 2000 with Java 1.3.1_18 and Windows 2003 with Java 5.0 Update 8. On both systems the calendar object return time zone of GMT although the system clock is set for Eastern.
    If the Microsoft patch is removed, the correct time zone is again returned. Has anyone else seen this behavior when Windows OS patch is applied?

    > Does anyone know exactly what the problem is (what has Microsoft changed) ?
    a) Go to <http://www.ciac.org/ciac/bulletins/p-006.shtml> and search for the "CAN-" links. Each component has a one paragraph description.
    b) According to <http://patch-info.de/IE/2004/10/12/20-35-16.html> it contains:
    mshtml.dll (6,0,2800,1476 - 29,09,2004)
    urlmon.dll (6,0,2800,1474 - 23,09,2004)
    shdocvw.dll (6,0,2800,1584 - 27,08,2004)
    wininet.dll (6,0,2800,1468 - 23,08,2004)
    browseui.dll (6,0,2800,1584 - 22,08,2004)
    shlwapi.dll (6,0,2800,1584 - 20,08,2004)
    c) Some of the things that could be breaking are DOM references and DHTML, which are advanced features that not every application uses.
    From <http://www.microsoft.com/technet/security/bulletin/MS04-038.mspx>:
    "Caveats: Microsoft Knowledge Base Article 834707 <http://support.microsoft.com/?id=834707> documents the currently known issues that customers may experience when they install this security update. The article also documents recommended solutions for these issues."
    Among other issues, that page says [<b>emphasis</b> added]:
    - After you install the MS04-038 security updates for Internet Explorer, some dynamic HTML (DHTML) <b>drag-and-drop operations are blocked</b> by Internet Explorer.
    - Security update 834707 includes a change to the way that Internet Explorer handles function pointers. This change in functionality occurs when an event handler points directly to a Document Object Model (DOM) function [...] Change in Internet Explorer function pointer behavior <b>causes code to not be executed</b> when an event handler is set to directly reference a DOM function after installing MS04-038 security updates.
    BTW, Note 785308 has been updated with a workaround.
    Regards,
    Sean

  • JSF Calendar / Schedule component

    Hi Folks,
    I have to work on jsf project based on a scheduling application : one user may connect to the service and schedule tasks using a visual calendar, where events can be dragged and dropped.
    Has someone ever heard about a jsf component like this, or even a dhtml one which could be ported to jsf ? In fact, the idea would be to get the same features as[b] Google Calendar.
    Thanks for your help.
    Antoine Larcher

    I am trying to do the exact samething but i have a funny idea it cant be done in jsf
    i think google calender would have used js instead and that is what i have done and it works that way
    BigMan

  • Problems with DHTML popup: Required DHTML functions are not supported in this browser.

    When I try to open a Date calendar I receive this message:
    Required DHTML functions are not supported in this browser.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Calendar to work with Foxfire

    Hi! 10% of my users are on Macs and use Foxfire.
    While I can code rings around DHTML, alas, most of it doesn't
    work with Foxfire. What I need is a nice popup or popon calendar
    (actually, calendars) that can be used by IE and Foxfire users
    alike.
    I found a large popup calendar which works with both, but
    unfortunately, there are a large group of users who like BIG
    browser windows that fill up monitors. The popup often gets hidden
    behind the main window. Well! I won't go on about my troubles.
    I'd actually be happy with a small display calendar that can
    go forwards and backwards without any interactivity as long as it
    functions on both browsers. (oy!)
    Any thoughts or suggestions?

    OK - I tried CFcalendar. Unfortunately, it puts a heavy load
    time on my page. It takes so long to come up (even with a dedicated
    DSL line), that it makes the purpose of the page confusing.
    Anyway, I am evaluating this:
    http://www.meanfreepath.com/javascript_calendar/livedemo.html
    I lust after the one that says DatePicker. Put your cursor in
    that field -- it will blow you away.
    Unfortunately, the download version doesn't have the function
    that drives the button to the right of the field. I've asked the
    authors to help me out (although you never know whether they'll do
    that ... they seem to have a very active site, however). I'm also
    having some people with Macs visit the page to see if it works on
    their varieties of browsers. This is the most awsome calendar out
    there (and I've seen some awsome calendars).

  • How can I see Calendar event END times at a glance?

    How can I display my Calendar event titles exactly as I type them? I do not want Calendar to remove duration from the titles of my events. Otherwise I can't see event END times at a glance in month view; only start times. How can I "trick" Calendar to just show my titles as I type them - as I always could before I upgraded. I used to be able to enter "Seminar 9am-5:45" and it would appear that way regardless of how or what I chose to enter (or not enter) for duration.
    I am running OSX 10.9.3.

    It's a bit weird, but if you type in the time info TWICE into the event title then Calendar uses/deletes one of them to populate the event details and leaves the other.
    Apple - Mac OS X - Feedback

  • Looking for Daily Calendar At-a-Glance App

    I'd love to find an app that will post an alert to my iPhone each morning listing out my day's calendar events. Anyone know of one? For what it's worth, I have 4 active calendars in Calendar app.

    I don't know of any apps like the one you want; however, there is probably something out there that will do the job. I did want to suggest Google Calendar, which will send you email and SMS reminders about events and things you have put on your calendar. You might already be aware of this, so if you are, just disregard. I just wanted to suggest it in case you weren't aware of it. I use it all the time, and it's very handy. 

  • Can I show a color bar instead of a color bullet in iCal Monthly view for all my events in all calendars?

    In the Monthly view of iCal the only events that show a color bar in the event is the Birthday Calendar. All other events in all my other calendars only show a color bullet next to the event (unless I click on that event which then shows as a color bar). I would like to know if it is possible for all the calendar events to have a color bar in the monthly view instead of just that tiny color bullet.

    Greetings Judith,
    Before making any attempts at deleting calendar data, backup what you have just in case:
    Click on each calendar on the left hand side of iCal one at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    iCal has an automated function located in iCal > Preferences > Advanced > Delete events "X" days after they have passed.  By typing in a value for days you can tell iCal to delete all events before that time frame.
    Example:
    Today is 4-16-2012.
    If I wanted to delete all events prior to 1 year ago (4-16-2011) I would type in "365" for the number of days.
    Once you type in the number of days you want kept in iCal, close the preferences and then quit iCal.
    Re-open iCal and check to see if the events are gone.  If not you may want to leave it open for several minutes and then quit again.
    Once the events are removed go back to  iCal > Preferences > Advanced > Delete events "X" days after they have passed and make sure the check mark is removed to prevent future deletion.
    Hope that helps.

  • I create a birthday calendar in iCal and then click on it in iphoto at the begining of the calendar project each year.  Some how the birthday did not populate the photo calendar.  Is there a way to add the birthday iCal calendar into the calendar project?

    I created a birthday calendar to use in iphoto for calendar.  When a new calendar project is started each year, I click on it in.  Some how the birthday did not populate the photo calendar this year.  The photo calendar is almost complete.  Is there a way to add the birthday iCal calendar into the calendar project? I would prefer not to start over.

    Hi,
    If you first select the calendar on the left, so that its background is highlighted blue/grey, when you make a new events they should be added to that calendar.
    Best wishes
    John M

  • Cannot send email from iPhone5--calendar syncing issues also

    I have an iPhone 5 and am not currently using iCloud.  I have 3 email accounts. 
    The first is a yahoo email account--and it both receives & sends emails just fine. 
    I use Outlook for the other two email accounts (one is an IMAP and the other is a POP).  Both receive email, but I cannot send out emails from my iPhone.  When I try to send an email from either account, I get this message: 
    "A copy has been placed in your Outbox.  The sender address "[address I used]" was rejected by the server.
    Also, I don't know if it is related, but my iPhone calendar isn't syncing with Outlook.  I add an appointment on my iPhone or in Outlook, and it won't appear in the other location (Outlook/iPhone). 
    Thanks for your help. 

    Check your settings, maybe the mail index is at fault.
    Setup Wizard and troubleshooting tips:
    http://www.apple.com/support/mail
    Also has a link to Mail community section.

Maybe you are looking for

  • Quta balance as on date

    Hi Experts, I am writing a PCR to retrieve quota balance as on last day of the year (For example 31.12.2010). I have used HRS=FR01C where 01 is leave quota type for PL.When time evaluation runs for 31.12.2010, it gives me PL balance as on that date b

  • When I try to export PPt slides to iPhoto, it doesn't work. Why?

    After downloading iosx, whenever I try to export PPt slides (2011) to iPhoto I get the message that I need a newer version of iPhoto (6 or newer).

  • How to manage a case structure Untill a value is reached

    Dear all, I am collecting data with DAQmx and after a value is reached i want to do smthg else, for this reason i created a case structure and i put to the case selector that if a value is smaller than "10" then it is true. If it is false it should s

  • Images with hyperlink in javascript - help needed

    Hai, I am having two hyperlinks say, "Good Morning" and "Good Evening". When I am clicking "Good Morning", a small arrow or a picture should display with the hyperlink. When I am clicking "Good Evening" this one should have the small arrow or a pictu

  • Tricky SQL*Loader

    Does anyone have any suggestions on how to load a text file with the following layout: 1SYSTEM:   TMS1                                         STATE OF DISMAY                                     DATE: 10/23/06 REPORT:   B155A761