Calendar return sysdate

Hi,
We use headstart 6.5 with Forms 6i Patch 17.
2 Months before, we migrate forms 6i from Patch 15 to patch 17 and DB from 9.2.0.1 to 9.2.0.3
Since this migration, we have this problem:
If I use calendar to select the default date (sysdate), the calendar return date and time in a date column. Forms save this date in a date/time format in DB.
If I select another date in the calendar (ex.: yesterday) only the date is saved in DB.
Any idea?

Thanks for your reply...
When we set a field to date format, forms and headstart generate a calendar lov for this field. what is the procedure to enforce trunc(sysdate) as the default date in this case?

Similar Messages

  • Search in calendar returns nothing

    Spotlight in Finder is working fine, but ...
    · Search in Calendar is not working: Nothing returned.
    · Search in Mail is not working: Nothing returned.
    This might be the same error - what to do ?
    / FL

    System Preferences->Spotlight->Privacy tab->Drag the boot volume icon into the window and then select it and hit the minus button. That should force reindexing.

  • Java.util.Calendar returning wrong Date object

    Example: This was my scenario last night. A server in California has date/time of 'Mon Aug 18'. Current time in Indiana is 'Sun Aug 17'. I use Calendar.getInstance(TimeZone.getTimeZone("America/Indiana/Indianapolis")) to return a Calendar instance. I then call the getTime() method on that instance. It should return a Date object relating to that particular time zone. It will not. It defaults back to the server time. When I print out the Calendar instance everything is good, correct date, correct time,etc. WHY WON'T THE getTime() return the correct java.util.Date???
    Following is the output was run today so the dates happened to be the same so focus on the Time. Output includes Server time, new Calendar values, and the Date returned by calendar instance getTime(). See that the Calendar is getting the correct Time.
    SERVER DATE=Mon Aug 18 15:52:13 CEST 2003
    CALENDAR INSTANCE=java.util.GregorianCalendar[time=1061214732975,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/Indiana/Indianapolis",offset=-18000000,dstSavings=0,useDaylight=false,transitions=35,lastRule=null],firstDayOfWeek=2,minimalDaysInFirstWeek=1,ERA=1,YEAR=2003,MONTH=7,WEEK_OF_YEAR=34,WEEK_OF_MONTH=4,DAY_OF_MONTH=18,DAY_OF_YEAR=230,DAY_OF_WEEK=2,DAY_OF_WEEK_IN_MONTH=3,AM_PM=0,HOUR=8,HOUR_OF_DAY=8,MINUTE=52,SECOND=12,MILLISECOND=975,ZONE_OFFSET=-18000000,DST_OFFSET=0]
    Date from getTime()=Mon Aug 18 15:52:12 CEST 2003

    I got it worked with using DateFormat.parse !
    The trick is to instantiate a new Date object as a result
    of parsing out of 'localized' date string.
    with below code :
    Calendar localCal = new GregorianCalendar(TimeZone.getTimeZone("America/Los_Angeles"));
    localCal.set(Calendar.DATE, 25);
    localCal.set(Calendar.MONTH, 7);
    localCal.set(Calendar.YEAR, 2003);
    localCal.set(Calendar.HOUR_OF_DAY,6);
    localCal.set(Calendar.MINUTE, 38);
    localCal.set(Calendar.SECOND, 11);
    Calendar sinCal = new GregorianCalendar(TimeZone.getTimeZone("Asia/Singapore"));
    sinCal.setTimeInMillis(localCal.getTimeInMillis());
    int date = sinCal.get(Calendar.DATE);
    int month = sinCal.get(Calendar.MONTH);
    int year = sinCal.get(Calendar.YEAR);
    int hour = sinCal.get(Calendar.HOUR_OF_DAY);
    int min = sinCal.get(Calendar.MINUTE);
    int sec = sinCal.get(Calendar.SECOND);
    String sinTimeString = date + "/" + month + "/" + year + " " + hour + ":" + min + ":" + sec;
    System.out.println("VIDSUtil.hostToLocalTime : time string now in SIN time : " + sinTimeString);
    java.util.Date sinTime = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss").parse(sinTimeString);
    System.out.println("time in SIN using Date.toString(): " + sinTime.toString());
    It prints out :
    VIDSUtil.hostToLocalTime : time string now in SIN time : 25/7/2003 21:38:11
    time in SIN using Date.toString(): Fri Jul 25 21:38:11 PDT 2003
    (Ignore the PDT, because Date.toString() defaults where the JVM is running)

  • ICloud subscribed iCal calendar returns after deletion

    I subscribed to a calendar on my iPad, saved in iCloud. I delete it on the iPad, but it returns! I think I neeed to delete it from my iCloud storage but can't figure out how to do that. Advice please?

    In your iPhone (or iPad) go to settings/general settings/Mail, Contacts, Calendars and at the top under "Accounts" you will see "Subscribed Calenars" (not in the calendar section, above that at the top of the page)... click on the calendar you want to delete and do so from there.

  • Return sysdate on clicking a button

    I want to design a form in which i want the sysdate & time to get stored in system when user clicks on radio button / button / checkbox.
    Please guide how this could be done
    Sanjay

    I want to design a form in which i want the sysdate & time to get stored in system when user clicks on radio button / button / checkbox.Please guide how this could be done>
    <ul>
    <li>Apex version</li>
    <li> DB Version + Edition</li>
    <li>DATE Datatype or Timestamp?</li>
    <li>Format mask?</li></ul>
    What do you intend to do with this date that you capture ? Is it to be inly displayed and saved as part of Submit process?
    The better you articulate your query the better are the chances of getting a solution.
    Cheers,

  • Calendar returns incorrect date

    This is a snippet from an application I'm working on but I'm getting an unexpected problem.
    Calendar cal = Calendar.getInstance();
    String todayDate = Integer.toString(cal.get(Calendar.DAY_OF_MONTH)) + "/" + Integer.toString(cal.get(Calendar.MONTH)) + "/" + Integer.toString(cal.get(Calendar.YEAR));
    System.out.println(todayDate);When it outputs, the date I get is 17/9/2008 when it's actually 17/10/2008. Any ideas?
    I know I can just do:
    (cal.get(Calender.MONTH) +1)But that's just not right.
    If anyone knows why this is happening, it would be greatly appreciated because it's just annoying me now.

    Strange that month is zero indexed when day isn't. Seems a little inconsistent.No, it's consistent. It's just wrong (and really, really dumb)

  • Calendar Display Issue

    Hi all,
    i have a few links an a page, wich open the calendar.
    for example "May", "June", July" wich open the respective month.
    I provide a Startdate to the calendar (YYYYMMDD) but it always starts with the current
    month or (if i click trough the months) with the one it was displaying the last time.
    Any Ideas?
    greetings,
    Sebastian

    Hi,
    Please try this,
    Open your calendar page->
    see there will be an item names P1_CALENDAR_DATE hidden ->
    Click the item ->
    default tab have function returning SYSDATE with yyymmdd format.->
    Change into Static value and give this value  20090601 ->
    run your page-> this will start from JUNE
    If you want to link from another page-> Pass the argument to the item P1_CALENDAR_DATE into your dynamic value
    JUNE 20090601
    JULY 20090701
    thanks
    Mark Wyatt

  • Calendar - "This event no longer exists" Cannot see event details

    When I tap an event to see the details, the details view opens and a message that says "This event no longer exists" is shown.  After I click on OK, the calendar returns to day view.
    My calendar syncs with Google Calendar.
    To reproduce this:
        1)  Create an event (either on the Pre or on Google Calendar) with starting date in the past (I tried about two weeks)
        2)  Set it to repeat daily until another date after the starting date, but also in the past (I used about one week)
        3)  Exit the event details
        4)  If created with Google Calendar, do a manual sync so the event shows in the Pre
        5)  Try to open the event
    I frequently need to review past events' notes and I can't because of this bug.  Please tell me if any of you can reproduce this.
    Thank you all
    Oh, my Pre has WebOS 1.2.5 (I'm in Mexico, with Telcel - registration did not have an option for Telcel)
    PS: When will we mexicans get 1.3.1?
    Message Edited by MrFusion on 12-10-2009 09:33 PM

    This happens with any repeating event created in a Google calendar which ends or has been deleted.  Another problem is that if you have a notification set, you will continue to be notified for the repeating event after it's been deleted, but you get the same error if you try to view the details.  It's been noted on this forum before.

  • Help needed with calendar prompts!!

    hi ..
    I have an issue in displaying the date difference between the user selected calendar prompt date and the time period date.
    TIMESTAMPDIFF(SQL_TSI_DAY , Fact.due_Date, @{selected_date}{CURRENT_DATE}) works fine,
    But when user selects a date from the calendar prompt, date format is not matching. Obiee uses YYYY/MM/DD but the calendar returns 'MM/DD/YYYY' as a character.
    Any idea how to cast a date function from MM/DD/YYYY to YYYY/MM/DD ??
    I tried using Evaluate, it hangs up the BI server. So is there any alternate way to achieve this??

    Hi,
    I had faced a similar issue:
    My work around was
    the date prompt column was cast to date in dashboard promt and set as calender control. The date value captured in presentatiion varaible 'date' and in the report the below calcuation on the presenation variable was done.
    calculation posted below for ur help.
    WHEN 'week' THEN (TIMESTAMPADD(SQL_TSI_DAY, DAYOFWEEK(EVALUATE('TO_DATE(%1,%2)' AS DATE,'@{date}','dd/mm/yyyy') )*-1+2,EVALUATE('TO_DATE(%1,%2)' AS DATE,'@{date}','dd/mm/yyyy')) )
    hope this will be of help.
    Aachala

  • Calendar not working...

    I have a following piece of code embedded in jsp but its not popping out a calendar...help plz
    <li><label for="flightDepartureDate">Departing:</label> <input
              type="text" name="criteria.displayDepartureDatetime" readonly="readonly"
              onblur="updateCheckout();return true;"
              value="<c:out value="${flightSearchForm.criteria.displayDepartureDatetime}"/>"><a
              href="#showCalendar"
              onClick="displayCalendar('criteria.displayDepartureDatetime', 'false','<%= request.getContextPath() %>');">
         <img src="<cms:ref path="global" reference="images_calendar"/>"
              alt="calendar" title="calendar" /> </a> <label for="flightReturnDate">Returning:</label>
         <input type="text" NAME="criteria.displayReturnDatetime"
              onblur="updateCheckout();return true;"
              value="<c:out value="${flightSearchForm.criteria.displayReturnDatetime}"/>"><a
              href="#showCalendar"
              onClick="displayCalendar('criteria.displayReturnDatetime', 'false','<%= request.getContextPath() %>');"></li>
         <img src="<cms:ref path="global" reference="images_calendar"/>"
              alt="calendar" title="calendar" />
         </a>
         </li>
    // Calendar Library
    // This calendar is used when a user clicks on a link (image or text). A pop-up window is
    // displayed and the user can click on an arrow to move to the next or previous month.
    // When the user clicks on one of the days in the month the calendar window is closed and
    // the selected date will now be displayed in the day and month option lists (focus is
    // returned to the month option list).
    // Usage: Add the following lines of code to your page to enable the Calendar
    // component.
    // // This line loads the JavaScript library for the calendar
    // <script language="JavaScript" src="calendar.js"></script>
    // // This line is used in conjunction with one form field (dateField).
    // // *** NOTE ***
    // <a href="#showCalendar
    // onClick="setDateField(setDateField(document.mainForm.startDate));
    // newWin = window.open('calendar.html','cal','dependent=yes,width=200,height=200')">
    // <img src="../icons/icon_more.png" width=22 height=15 border=0></a>
    // Note : when the calling window is an included jsp page make sure
    // you use top.newWin ! Example Useage in the call centre app is :
    // <a href="#showCalendar
    // onClick="showCalendar('checkOutDate');
    // top.newWin = window.open('<%= request.getContextPath() %>/webcontent/calendar.jsp',
    // 'cal',
    // 'dependent=yes,width=200,height=200, left=500,top=500');">
    // <img src="<cms:ref path="search" reference="images_calendar"/>" alt="calendar" title="calendar" />
    // </a>
    // Required Files:
    // calendar.js - contains all JavaScript functions to make the calendar work
    // calendar.jsp - is the actual calendar that is opened by the initial page when
    // the user clicks on icon_more.gif.
    // image file - image that the user clicks on to view the calendar
    // Begin user editable section ----------------------------------------------------------------------------------------
    // CALENDAR COLORS
    bottomBackground = "#3D70D6"; // BG COLOR OF THE BORDER OUTSIDE CALENDAR TABLE
    tableBGColor = "#dfefff"; // BG COLOR OF THE CALENDAR TABLE
    cellColor = "#ffffff"; // TABLE CELL BG COLOR OF THE DATE CELLS
    headingCellColor = "#3d70d6"; // TABLE CELL BG COLOR OF THE WEEKDAY ABBREVIATIONS
    focusColor = "#ff0000"; // TEXT COLOR OF THE DATE IN THE OPTION LIST (OR CURRENT DATE IF NONE SELECTED)
    hoverColor = "#dfefff"; // TEXT COLOR OF A LINK WHEN YOU HOVER OVER IT
    fontStyle = "8pt arial, helvetica"; // TEXT STYLE FOR DATES
    headingFontStyle = "bold 8pt arial, helvetica"; // TEXT STYLE FOR WEEKDAY ABBREVIATIONS
    // Formatting preferences
    bottomBorder = false; // TRUE/FALSE (WHETHER TO DISPLAY BOTTOM CALENDAR BORDER)
    tableBorder = 0; // SIZE OF CALENDAR TABLE BORDER (BOTTOM FRAME) 0=none
    // End of User Editable Section ---------------------------------------------------------------------------------------
    // Determine browser type
    var isNav = false;
    var isIE = false;
    // Assume Netscape or IE
    if (navigator.appName == "Netscape") {
         isNav = true;
    } else {
         isIE = true;
    var dateField = null;
    var startDay;
    var startMonth;
    var startYear;
    var format = null;
    //used to determine if age needs to be calculated as well
    var updateAge = false;
    // Pre-build portions of the calendar when this JavaScript Library loads into the browser
    buildCalParts();
    // Calendar functions begin here --------------------------------------------------------------------------------------
    Sets the initial value of the global date field
    function showCalendar(inDateField, calcAge) {
         dateField = document.getElementById(inDateField);
    // Set the colours of the calendar
         setCalColour();
         buildCalParts();
    // Set default value of noDateSelected
         noDateSelected = 1;
         setInitialDate();
    //determine if the calculateAge function on the parent must be called;
         updateAge = calcAge;
    // Construct the calendar
         calDocBottom = buildBottomCalFrame();
    function displayCalendar(inDateField, calcAge, calendarPath)
         // lets close the calendar window if its already open. Its safer dude!
         if (top.newWin != null) top.newWin.close();
         calendarURL = calendarPath + "/webcontent/common/calendar.html";
         showCalendar(inDateField, calcAge);
         top.newWin = window.open(calendarURL, "cal", "dependent=yes,width=200,height=200, left=500,top=500");
         top.newWin.focus();
    Set the initial calendar date to today or to the existing value in dateField
    function setInitialDate() {
         calDate = new Date();
         today = new Date();
         currentDate = new Date();
         if (dateField.value.length == 11) {
              noDateSelected = 0;
              var day = dateField.value.substring(0, 2);
              var month = dateField.value.substring(3, 6).toUpperCase();
              var year = dateField.value.substring(7, 11);
              calDate.setYear(year);
              calDate.setDate(1);
              if (month == "JAN") {
                   calDate.setMonth(0);
              } else {
                   if (month == "FEB") {
                        calDate.setMonth(1);
                   } else {
                        if (month == "MAR") {
                             calDate.setMonth(2);
                        } else {
                             if (month == "APR") {
                                  calDate.setMonth(3);
                             } else {
                                  if (month == "MAY") {
                                       calDate.setMonth(4);
                                  } else {
                                       if (month == "JUN") {
                                            calDate.setMonth(5);
                                       } else {
                                            if (month == "JUL") {
                                                 calDate.setMonth(6);
                                            } else {
                                                 if (month == "AUG") {
                                                      calDate.setMonth(7);
                                                 } else {
                                                      if (month == "SEP") {
                                                           calDate.setMonth(8);
                                                      } else {
                                                           if (month == "OCT") {
                                                                calDate.setMonth(9);
                                                           } else {
                                                                if (month == "NOV") {
                                                                     calDate.setMonth(10);
                                                                } else {
                                                                     if (month == "DEC") {
                                                                          calDate.setMonth(11);
                                                                     } else {
                                                                          calDate.setMonth("N/A");
              calDate.setDate(day);
    // IF THE INCOMING DATE IS INVALID, USE THE CURRENT DATE
         if (isNaN(calDate)) {
              noDateSelected = 1;
              calDate = new Date();
         } else {
              startDay = calDate.getDate();
              startMonth = calDate.getMonth();
              startYear = calDate.getYear();
         calDay = calDate.getDate();
         calMonth = calDate.getMonth();
    // Set day value to 1... to avoid JavaScript date calculation anomalies
    // (if the month changes to Feb and the day is 30, the month would change to
    // March and the day would change to 2. Setting the day to 1 will prevent that)
         calDate.setDate(1);
    Sets the calendar colours
    function setCalColour() {
         bottomBackground = "#6598fe";
         tableBGColor = "#dfefff";
         cellColor = "#ffffff";
         hoverColor = "#dfefff";
         logo = "cal_logo_lilac.gif";
    Create the calendar
    function buildBottomCalFrame() {
    // Start calendar document
         var calDoc = calendarBegin + "<div class=\"calender\"><table align=center border=0 width=140>" + "<tr>" + "<td align=left><a href='javascript:parent.opener.setPreviousMonth()' class='navigate'><</a></td>" + "<td style=\"font-weight:700; color:#ffffff; margin:0; padding:0; text-align:center;\">" + getMonth(calDate.getMonth()) + "</td>" + "<td align=left><a href='javascript:parent.opener.setNextMonth()' class='navigate'>></span></td>" + "</tr>";
    calDoc = calDoc + "<tr>" + "<td align=left><a href='javascript:parent.opener.setPreviousYear()' class='navigate'><</span></td>" + "<td style=\"font-weight:700; color:#ffffff; margin:0; padding:0; text-align:center;\">" + calDate.getFullYear() + "</td>" + "<td align=left><a href='javascript:parent.opener.setNextYear()' class='navigate'>></span></td>" + "</tr>" + "</table></div >" + calendarTable;
         month = calDate.getMonth();
         year = calDate.getFullYear();
    // Get globally tracked day value (prevents JavaScript date anomalies)
         day = calDay;
         var counter = 0;
         var days = getDaysInMonth();
    // If global day value is > than days in month, highlight last day in month
         if (day > days) {
              day = days;
    // Determine what day of the week the calendar starts on
         var firstOfMonth = new Date(year, month, 1);
    // Get the day of the week the first day of the month falls on
         var startingPos = firstOfMonth.getDay();
         days += startingPos;
         var columnCount = 0;
    // Make beginning non-date cells blank
         for (counter = 0; counter < startingPos; counter++) {
              calDoc += blankCell;
              columnCount++;
         var currentDay = 0;
         var dayType = "weekday";
    // Date cells contain a number
         for (counter = startingPos; counter < days; counter++) {
              var paddingChar = " ";
              if (counter - startingPos + 1 < 10) {
                   padding = "  ";
              } else {
                   padding = " ";
              currentDay = counter - startingPos + 1;
    // Set the type of day
              if (noDateSelected == 0 && (currentDay == startDay) && (startMonth == calDate.getMonth() && startYear == calDate.getYear())) {
                   dayType = "focusDay";
              } else {
                   if (noDateSelected == 1 && (currentDay == currentDate.getDate()) && (calDate.getMonth() == currentDate.getMonth())) {
                        dayType = "focusDay";
                   } else {
                        dayType = "weekDay";
              calDoc += "<td align=center bgcolor='" + cellColor + "'>" + "<a class='" + dayType + "' href='javascript:parent.opener.returnDate(" + currentDay + ")'>" + padding + currentDay + paddingChar + "</a></td>";
              columnCount++;
    // Start a new row when necessary
              if (columnCount % 7 == 0) {
                   calDoc += "</tr><tr>";
    // Make remaining non-date cells blank
         for (counter = days; counter < 42; counter++) {
              calDoc += blankCell;
              columnCount++;
    // Start a new row when necessary
              if (columnCount % 7 == 0) {
                   calDoc += "</tr>";
                   if (counter < 41) {
                        calDoc += "<tr>";
         calDoc += calendarEnd;
         return calDoc;
    Write the monthly calendar once the forward/backward arrow has been clicked on
    function writeCalendar() {
    // CREATE THE NEW CALENDAR FOR THE SELECTED MONTH & YEAR
         calDocBottom = buildBottomCalFrame();
         newWin.document.open();
         newWin.document.write(calDocBottom);
         newWin.document.close();
    Set the global date to the previous month and refresh the calendar
    function setPreviousMonth() {
         var year = calDate.getFullYear();
         var month = calDate.getMonth();
         // If month is January, set month to December and decrement the year
         if (month == 0) {
              month = 11;
              if (year > 1000) {
                   year--;
                   calDate.setFullYear(year);
         } else {
              month--;
         calDate.setMonth(month);
         writeCalendar();
    Set the global date to the previous year and refresh the calendar
    function setPreviousYear() {
         var year = calDate.getFullYear();
         year--;
         calDate.setYear(year);
         writeCalendar();
    // Set the global date to next month and refresh the calendar
    function setNextMonth() {
         var year = calDate.getFullYear();
         var month = calDate.getMonth();
    // If month is December, set month to January and increment the year
         if (month == 11) {
              month = 0;
              year++;
              calDate.setFullYear(year);
         } else {
              month++;
         calDate.setMonth(month);
         writeCalendar();
    // Set the global date to next year and refresh the calendar
    function setNextYear() {
         var year = calDate.getFullYear();
         year++;
         calDate.setYear(year);
         writeCalendar();
    Get number of days in the month
    function getDaysInMonth() {
         var days;
         var month = calDate.getMonth() + 1;
         var year = calDate.getFullYear();
         if (month == 1 || month == 3 || month == 5 || month == 7 || month == 8 || month == 10 || month == 12) {
              days = 31;
         } else {
              if (month == 4 || month == 6 || month == 9 || month == 11) {
                   days = 30;
              } else {
                   if (month == 2) {
                        if (isLeapYear(year)) {
                             days = 29;
                        } else {
                             days = 28;
         return (days);
    Check to see if the year is a leap year
    function isLeapYear(Year) {
         if (((Year % 4) == 0) && ((Year % 100) != 0) || ((Year % 400) == 0)) {
              return (true);
         } else {
              return (false);
    Build the month select list
    function getMonth(month) {
         monthArray = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
    // Return a string value which contains a select list of all 12 months
         return monthArray[month];
    Set days of the week
    function createWeekdayList() {
         daysInWeekLongName = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
         daysInWeekShortName = new Array("Su", "Mo", "Tu", "We", "Th", "Fr", "Sa");
         var weekdays = "<tr bgcolor='" + headingCellColor + "'>";
    // Loop through the weekday array
         for (var index = 0; index < daysInWeekShortName.length; index++) {
              weekdays += "<td class='heading' align=center>" + daysInWeekShortName[index] + "</td>";
         weekdays += "</tr>";
    // Return table row of weekday abbreviations to display above the calendar
         return weekdays;
    Pre-build portions of the calendar (for performance reasons)
    function buildCalParts() {
    // Generate weekday headers for the calendar
         weekdays = createWeekdayList();
    // Build the blank cell rows
         blankCell = "<td align=center bgcolor='" + cellColor + "'>  </td>";
    // Build the top portion of the calendar page using CSS to control some display elements
         calendarBegin = "<html>" + "<head>" + "<TITLE>Calendar</TITLE>" + "<style>";
    calendarBegin = calendarBegin + "TD.heading { text-decoration: none; color: #ffffff; font: " + headingFontStyle + "; }";
    calendarBegin = calendarBegin + "B { text-decoration: none; color: #000000; font: " + headingFontStyle + "; }";
    calendarBegin = calendarBegin + "A.focusDay:link { color: " + focusColor + "; text-decoration: none; font: " + fontStyle + "; }" + "A.focusDay:hover { color: " + focusColor + "; text-decoration: none; font: " + fontStyle + "; }" + "A.focusDay:visited { color: #000000; text-decoration: none; font: " + fontStyle + "; }";
    calendarBegin = calendarBegin + "A.weekday:link { color: #000000; text-decoration: none; font: " + fontStyle + "; }" + "A.weekday:hover { color: " + hoverColor + "; font: " + fontStyle + "; }" + "A.weekday:visited { color: #000000; text-decoration: none; font: " + fontStyle + "; }";
    calendarBegin = calendarBegin + "A.navigate:link { font-weight:700; color:#ffffff; text-decoration: none; }" + "A.navigate:hover { font-weight:700; color:#ffffff; text-decoration: none; }" + "A.navigate:visited { font-weight:700; color:#ffffff; text-decoration: none; }";
    calendarBegin = calendarBegin + "</style>" + "</head>" + "<body style=\"background-color:#3d70d6; font:normal 75% arial, helvetica, sans-serif; text-align:center; margin:0; padding:0;\">" + "<center>";
    // Netscape needs a table container to display the table outlines properly
         if (isNav) {
              calendarTable = "<table CELLPADDING=0 CELLSPACING=1 border=" + tableBorder + " align=center bgcolor=\"" + tableBGColor + "\"><tr><td>" +
    // Build weekday headings
              "<table CELLPADDING=0 CELLSPACING=1 border=" + tableBorder + " align=center bgcolor=\"" + tableBGColor + "\">" + weekdays + "<tr>";
         } else {
    // Build weekday headings
              calendarTable = "<table CELLPADDING=0 CELLSPACING=1 border=" + tableBorder + " align=center bgcolor=\"" + tableBGColor + "\">" + weekdays + "<tr>";
    // Build the bottom portion of the calendar page
         calendarEnd = "";
    // Whether or not to display a thick line below the calendar
         if (bottomBorder) {
              calendarEnd += "<tr></tr>";
    // Netscape needs a table container to display the table outlines properly
         if (isNav) {
              calendarEnd += "</td></tr></table>";
    // End the table and the HTML document
         calendarEnd += "</table>" + "<a href='javascript: self.close ();' class='linktext' style=\"font-weight:700; color:#ffffff;\">Close Calendar Window</a>" + "</center>" + "</body>" + "</html>";
    // Set form field value to the date selected and close the calendar window
    function returnDate(selectedDay) {
         calDate.setDate(selectedDay);
    // Set the date returned to the user
         var day = "0" + calDate.getDate();
         day = day.substring(day.length - 2, day.length);
         var month = monthArray[calDate.getMonth()];
         month = month.substring(0, 3);
         dateField.value = day + "-" + month + "-" + calDate.getFullYear();
         //dateField.focus();
    // Close the calendar window
         if (updateAge === "true") {
              top.calculateAge();
         top.newWin.close();
    }

    Too much unformatted code to even try and understand.
    Is this a Java/JSP question or javascript issue?
    Is there an error message loading the page?
    Are there any javascript notifications (check the alert bottom left of IE browser)
    When does the error occur? Loading the page? Pushing the button?
    My suggestion would be to
    - view source on the generated HTML. See if the html is valid, and correct.
    - change the onclick event of the button to pop up an "alert" so you can see it is actually getting to the button press. Then put alerts through the code you are calling to see if it is actually getting there.
    cheers,
    evnafets

  • Search not working in calendar

    Currently using Macbook Air 2013 and built in search for Calendar returns zero results everytime. What steps can I try?

    If you have more than one user account, these instructions must be carried out as an administrator.
    I've tested these instructions only with the Safari web browser. If you use another browser, they may not work as described.
    Triple-click anywhere in the line below on this page to select it:
    syslog -k Sender mdworker -o -k Sender mds | grep -v boxd | tail | open -ef
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. The title of the window doesn't matter, and you don't need to post that.
    If any personal information appears in the output, anonymize before posting, but don’t remove the context.

  • Outlook 2010/13 Laptop Calendar access extremely slow after opening shared calendar

    I have a problem with several laptops running Win 7 Ultimate on a network running SBS 2008 (Exch 2007) when they are on the internal network. Outlook response is fine until they tick any shared calendar (either shared by the user or with full access
    to the mailbox granted at the server level)- the response of the calendar screen for the
    local users calendar  or the shared calendar
    when using the advance or retreat arrows on the weeks drops down to roughly 20 seconds to advance to the next week, if the shared calendar is then unticked the speed stays slow for accessing the local calendar. if the user exits outlook and restarts
    it the speed for accessing their own calendar returns to normal until they open another shared calendar.
    this is a problem that has started within the last couple of months. SP are up to date on the windows and office.
    I have tried ticking the download shared folders on and off, and also switching to using HTTP instead of TCPIP through the outlook anywhere. they run in cached mode as they are laptops- uncached is not an option
    network access is fine
    The problem affects some users on the network but not others. the problem shows on office 2010 and 2013. they don't appear to have the problem when they are out of the office.
    Any thoughts anyone?

    If you run your profile in Exchange cache mode and enable "Download share folders", please try to run SCANPST file to fix the OST/PST file and check the result.
    http://support.microsoft.com/kb/287497/en-us
    By the way, does it for all shared calendr when you go to access them?
    Tony Chen
    TechNet Community Support

  • Calendar All Day Events, Calculated Columns, Timezone and DayLight Savings - Issues

    Hi
    I have a calendar where I am trying to display in one column using a calculated field (TitleWithTimes):
    Start time (only display time) - End Time (only display time) : Title i.e. 00:00 - 23:59 : Test Event
    So I add an all day event to the calendar for this month (February), it appears correctly:
    i.e. 00:00 - 23:59 : Test Event 1
    I am based in the UK so my time zone is currently GMT/UTC.
    However if I add any all day events to the calendar in April when the time zone switches to GMT+1, the start and end times appear incorrect.
    i.e 01:00 - 00:59 : Test Event 2
    Field: TitleWithTimes
    =TEXT([Start Time],"hh:mm")&" - "&TEXT([End Time],"hh:mm")&" : "&Title
    This issue only occurs with ALL Day Events when the events are scheduled for a in the period of the year where the Time Zone becomes GMT + 1. My regional settings everywhere in SharePoint are correct as are all the SharePoint servers.
    I have done lots of searching and troubleshooting to try and resolve this issue but it appears nobody has found a reliable fix for this issue with calculated fields, all day events and time zones? Does anyone have any ideas of workarounds?
    Thanks

    Hi,
    I understand that you had issues about the calculated field in calendar.
    This is a reproducible issue, when creating an all day event, the calculate column based on the Start Time/End Time is different from the original column value. The date is stored in SQL in GMT time and is displayed in SP in the correct time in lists. So
    returning the start time in a calculated column for an all day event returns the start time in GMT time, which is not the current time most likely.
    As a workaround, you can regenerate the calculate column to add one day/minus one day based on whether the event is an all day event, or create a workflow to copy the start time column to your created date/time column.
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/27ab0bb0-245b-46ca-9f87-c0eb043653ef/date-formatting-in-calendars-returns-wrong-day?forum=sharepointgeneral
    Thanks,
    Linda Li
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Problems in using using a calendar to pick up a date in portal form

    Hello:
    I met some problems in using using a calendar to pick up a date in portal form.
    I created a form using "custom layout"
    Using Scott/Tiger, emp table HIREDATE put the following anchor next to it in the body text field
    <<img src="/images/calendar.gif" width=24 height=22 border=0>
    Then, I put the source tag in the header section
    <script language="JavaScript1.1" src="/images/date-picker.js"></script> in the Header Text of the Form Text part.
    However, for some reasons, after I pciked the date in the calendar,the field in the form could not be updated.
    Your help would be highly appreciated.
    Wei

    I just fixed the bug. The data pickup calendar is working now.
    The reason is that:
    when oracle portal generates a portal form based on a table, the element in the generated form is defined by: [Form Name].[element name].[index#].
    e.g.
    <INPUT TYPE="BUTTON" NAME="FORM_AREA.DEFAULT.QUERY_TOP.01" VALUE="Query" onClick=" do_event(this.form,this.name,1,'ON_CLICK','');">
    The "FORM_AREA.DEFAULT.QUERY_TOP.01" means: A input text box "QUERY_TOP" with index "01" in the form "FORM_AREA" which is located in the "DEFAULT" block.
    The problem of my previous codes is that: Javascript could not access the elements on the parent widnow by name for those elements whose names have more than 1 "." sign e.g. "FORM_AREA.DEFAULT.QUERY_TOP.01". So, I accessed them by their locations in the DOM hierarchy. It works now.
    e.g.
    <a href="javascript:show_calendar('forms[0.elements[23');" onmouseover="window.status='Click to open an Wei's calendar'; return true;" onmouseout="window.status='';return true;">
    <img src="/images/calendar.gif" width=24 height=22 border=0>
    </a>
    Wei Ye

  • How do I permanently delete calendars in ical?

    I delete the calendars, and every time I sync, the old calendars return to iCal.  Any solutions out there?  Thanks

    I tried deleting a calendar called Contacts' birthdays and events.  It would not delete and now I keep getting the error message:
    The server responded with an error.
    https://calendar.google.com/calendar/dav/........./user/ is not a location that supports this request.
    Thats great, I'll keep the calendar but how do i get this error to stop popping up ever few minutes.

Maybe you are looking for

  • How to create a cross-client table maintenance dialog?

    Hello everybody, I have a client specific table (mandt is the first key field) that should be maintained cross-client: In the table maintenance dialog, I want to change/create/insert values belonging to clients other than the current logon client. Ca

  • Bcp error with SQL Server 2008

    In working through the 70-432 training material, I have entered the follwing: bcp AdventureWorks .HumanResources.Department out c: \test/department.txt -c -S HOME -T I receive the error message -- Could not find stored procedure'bcp'. and a syntax er

  • Is there a difference between ipad demo and normal ipad except the software?

    Helli, i want to ask if someone know is there any significant difference between ipad demo version and normal ipad for selling ? Except the software difference and is true that ipad demo can be erased to a normal OS And worked normally after that? Th

  • Photo Stream is not a option to select HELP

    When trying to turn on photo stream the option is not checkable?

  • Windows Network Neighborhood

    Any thoughts on how to get to 10.5 version of Mac OS act more like the 10.3 version when connecting to windows networks? My windows PC's used to show up on the Mac Network screen and I would be able to browse them and their files. After going to 10.5