View full calendar on the form

Hello

I use Apex 4.2 and want to view the full calendar on the form.

to do this, I use

http://www.mredkj.com/JavaScript/calendar.html

link.

I created two points on the form: P1_MONTH AND: P2_YEAR and submit created the button on the page.



code defined below is given in this link.
<html>
<head>
<title>Calendar</title>

<script language="JavaScript" src="CalendarDisplay110.js"></script>
<script language="JavaScript">
<!--

calendarTry = new CalendarDisplay();
calendarTry.setNavigationOn("calendarTry");
calendarTry.setOpenOn();
calendarTry.setAutoCloseOn();
calendarTry.setLinkOn("fillInFields");
calendarTry.setDayFormat(calendarTry.TWO_LETTER);
     
function calendarOpener(frm)
{
     var m = frm.month.options[frm.month.selectedIndex].value;
     var d = frm.day.value;
     var y = frm.year.value;
     var showMonth = true;
     if (frm.yearMonth[1].checked)
     {
          showMonth = false;
     }
          
     if (showMonth)
     {
          calendarTry.createMonth(m, d, y);
     }
     else
     {
          calendarTry.createYear(m, d, y);
     }
     
}

function fillInFields(month, day, year)
{
     document.frmCalendar.month.selectedIndex = month;
     document.frmCalendar.day.value = day;
     document.frmCalendar.year.value = year;
}

//-->
</script>
</head>

<body>

<form name="frmCalendar">
<table border="1" cellpadding="5" cellspacing="0">
     <tr>
          <td>Month</td>
          <td>Day (1-31)</td>
          <td>Year (e.g. 2002)</td>
     </tr>
     <tr>
          <td align="center">
               <select name="month">
                    <option value="0">January</option>
                    <option value="1">February</option>
                    <option value="2">March</option>
                    <option value="3">April</option>
                    <option value="4">May</option>
                    <option value="5">June</option>
                    <option value="6">July</option>
                    <option value="7">August</option>
                    <option value="8">September</option>
                    <option value="9">October</option>
                    <option value="10">November</option>
                    <option value="11">December</option>
               </select>
          </td>
          <td align="center"><input type="text" name="day" size="3" /></td>
          <td align="center"><input type="text" name="year" size="5" value="2002" /></td>
     </tr>
     <tr>
          <td colspan="3" align="center">
          <input type="radio" name="yearMonth" value="month" checked /> Month
          <input type="radio" name="yearMonth" value="year" /> Year
          </td>
     </tr>
     <tr>
          <td colspan="3" align="center">
          <input type="button" value="Open Calendar" onclick="calendarOpener(this.form);" />
          </td>
     </tr>
</table>
</form>

</body>
</html>
What changes I should in the body section of this code to use my own agenda: P1_MONTH and: P1_YEAR instead of html code.


Thanks & looks
CORINE.

Published by: Sophie on February 25, 2013 22:01

There was an extra * {* at the beginning of the file, I noticed that in your responses above as well.}

Thank you
Vikram

Tags: Database

Similar Questions

  • Calendar on the forms reveals an error in date labels.

    Hi, I have this error when I want to select a date in the calendar of the forms.

    http://s15.PostImage.org/9a5l9bvln/Captura_de_pantalla_2012_04_19_a_las_13_38_11.jpg

    The problem is that the labels days (MON, MAR, MIE, JUE, LIFE, SAB, SAB) that (sab) is repeated.

    even more, the image I downloaded shows January, as you can see, it starts (Monday) and the true is that January 2012 begins (Sunday)

    DB 11 G 2
    FMW 11 g.
    11.1.1.4 forms

    any help I would appreciate it.

    Thanks in advance!

    Thanks for your reply,
    I solved my problem debugging all procedures involved and finally found the error, now it shows everything is correct.

    http://S9.PostImage.org/coy3tmmfj/screen_0003.jpg

    Thank you very much.

  • How to remove the full paths in the form

    Hello!

    I'm new to illustrator but I saw these files on fotolia.com, I wanted to create this type of design, but I wanted to know the way how to remove paths to complete the form or just the anchor points

    1111.jpg

    In this context, a shape like spiral is created, but how the designer shaped. All circles are full. This form is not created just by creating the spiral shape and then creating clipping masks because all the circles are full. Is there any script or not in illustrator, I could do that.

    Any help would be appreciated. Thank you.

    Usually, I'm a big fan of doing the thing using only appearances, but in this case, I'd go with an approach of several paths:

    So have several brushes applied to some of the paths

    Who should multiply, I forgot in the example.

    The brush is so much like

  • You see landing page views and presentations in the form of a link within the ADC?

    I created the business conduct contained in E10 which includes a link to an Eloqua landing page containing a form Eloqua. The ADC is an Eloqua email. When I got the email with the CDA on the canvas of the campaign, it is not "related" to the landing page and the form as would do an e-mail containing a link normally. Is there a way to "bind" the ADC to the landing page and the shape on the canvas of the campaign, or Earn pageviews and remittances form since the show of CDA upward on the e-mail activity in Insight?

    If you add the LP to the campaign from the mouth on the left side (and then click to extract the same form element), will be associated with the campaign for the statement of purposes even without the link of the email be rendered on the screen.

  • When I boot FireFox on the Mac, the error message 'well, it's embarrassing... ' appears view full page on the Tools menu.

    When I boot FireFox for Mac (OS x 10.6.8), the error message 'well, it's embarrassing... ' back to PAGE VIEW covering the menu, tools, docking station, office,. Clicking on a 2 error message options 'restoration' or 'close' doesn't work. Since I can't access options menu under the eyes (and pressing 'ESC' does not display page, my only option is to force quit FireFox. I downloaded a cool FF program, but the same thing happens. How can I fix when I can't access the menu or tools, etc. ?
    PS. I'm going to use Safari to send this message.

    Well, it's boring.

    On Mac, command + shift + f should toggle the display between the ordinary and full screen. Does it work?

    If you can still access the menu bar, one of the Firefox settings file may be damaged. Try this, assuming you have the main toolbar:

    Open the settings folder (AKA Firefox profile) current Firefox help

    • button "3-bar" menu > "?" button > troubleshooting information
    • type or paste everything: in the address bar and press enter/return

    In the first table of the page, click on the button 'show in Finder '. This should start a new window listing the files and the folders.

    Leave this window open, switch back to Firefox and output:

    • "3-bar" menu button > button "power".

    Pause while Firefox finishing its cleanup, then rename xulstore.json to something like xulstore.old. If you see a file named localstore.rdf, rename this to localstore.old.

    Launch Firefox back up again. Windows normally appear again?

  • How to view this calendar of the current month using SQL code

    Hello

    I have a problem with the creation of a timetable for this month. Without any pl/sql program. Only by using sql.
    Please help me... !!


    Concerning
    Evelyne

    Hello

    Try this... It works...: D

         with x
               as (
            select *
              from (
            select to_char(trunc(sysdate,'mm')+level-1,'iw') wk,
                   to_char(trunc(sysdate,'mm')+level-1,'dd') dm,
                   to_number(to_char(trunc(sysdate,'mm')+level-1,'d')) dw,
              to_char(trunc(sysdate,'mm')+level-1,'mm') curr_mth,
                   to_char(sysdate,'mm') mth
             from dual
            connect by level <= 31
                  )
            where curr_mth = mth
           )
           select max(case dw when 2 then dm end) Mo,
                  max(case dw when 3 then dm end) Tu,
                  max(case dw when 4 then dm end) We,
                  max(case dw when 5 then dm end) Th,
                  max(case dw when 6 then dm end) Fr,
                  max(case dw when 7 then dm end) Sa,
                  max(case dw when 1 then dm end) Su
             from x
            group by wk
            order by wk
         
    

    concerning
    K

  • How to return to the default screen display after clicking on view/full screen?

    When I click on view/full screen in the menu bar of Firefox, I lose the FF main Menu bar. When I hit the ESC key, the rest of the screen locked in view full screen. So, I have to restart my computer to return to the default FF menu and display mode.

    Why the esc key does not work how it works when I'm in mode videos full screen?

    Point the mouse at the top of the screen should show a toolbar. On the right there is a button to return to the normal display

  • Integration of the calendar features in the form of Custome in Oracle apps.

    Hello
    Thanks for the support.
    I need further assistance on the integration of the calendar in the form of costume of r12 Oracle Applications feature.
    Can any body give me the steps for the integration of the calendar feature. as applications Oracle R12.

    I did the steps as the 11i but his does not work. Its urgency and I hv very less time to buid this form.

    Thank you
    Nihar

    Please consult the "Guide of the Oracle Applications Developer", Page 9-18

    The Oracle Applications Developer's Guide
    http://download.Oracle.com/docs/CD/B53825_03/current/Acrobat/121devg.PDF

    Thank you
    Hussein

  • How can I create a video Viewer full screen?

    You want to create a video Viewer full screen like the one used here: Airbnb (video humanity).

    I want to be able to press a button and for my video to play in full screen

    Thank you

    Ali

    You can use the composition for this, insert video code or widget in jQuery containing: trigger action.

    Video Lightbox (Composition Widget) by Christine Ricks

    Thank you

    Sanjit

  • Errors in the form: FRM-41009, FRM-41104, FRM-41056

    Hi, I have a new question in the forum of forms, but I'm not able to enter it, to start a new discussion in the forum of forms, if I ask the question in the forum SQL and PL/SQL.

    I get 3 error messages when I click the "Run" button, they are:

    FRM-41009 key not allowed press Ctrl + F1 to the list of valid keys.

    FRM-41104 can not find relationship: Invalid ID.

    FRM-41056 cannot find block: Invalid ID.

    When I click the "Query" button and click F9 to get a LOV (list of values) and select one of them, click on the "Run" button, I get one after another these 3 mistakes.

    When I click on "Query" button and click "run" button also, I get these 3 mistakes.

    But "Running" works, in the sense all data (full) appears in the form.

    I want that these errors be eliminated. How?

    And how to make a forum form?

    Check the WE-PEOPLE-DETAILS-trigger on your master block. You will find the bad relationship and block-names referenced in this code.

  • Complete Site view in browser in the design of the phone option

    How could you create a link to "view full site in the browser" in the presentation of phone design?

    You can create links to the Office of your phone pages pages using the drop-down list of hyperlinks ordinary.

  • Form values: DB view or anything in the ADF ViewObject?

    Hello.

    I have a DB table with a field called PERSON_ID, which is the ID of a person. My version of JDeveloper is 11.1.1.7.0

    With an Oracle DB function, I pass this ID and Mr. John Smith Smith prepare to indicate in the request.

    Another field in the table is the AGE, with a raw number.

    I need to generate a table of the ADF, and I need to show the person name and age.

    I tried these two approaches for the solution:

    • Generate an attribute calculated in the ViewObjectand try to call the function DB: obviosly, if that were possible, I did something wrong, because it did not work. If something as if it were possible, it would be the best solution.
    • DB view: it works, but I can't commit data in this window of the application.
      • Create a DB view with formatting of name, age, etc.
      • Map an OT and VO
      • Generate a table of the ADF in this VO
      • When the form is completed, insert the form data in the DB Table.
      • Validate the new line
      • Reload the table of the ADF.

    How can I solve this problem?

    Any suggestion is appreciated

    Thanks in advance. Concerning

    Create EO based on your DB table.

    Create this EO vo

    Go to expert mode and modify the query

    to something like:

    Select user_id,

    xx_utils.get_full_name (user_id) full_name,

    Ager
    ---------------------------------------------------------------------

    Full name add LOV which, in the return element fill in your UserID

    Drop the VO on the page

    Now when you create the new line, the user will choose the 'full name' lov, who will fill in the field "user_id".

    Commit;

    you have completed

  • I accidentally click to view full screen on Firefox and now I can't cancel it. My toolbar, bookmarks, etc. is not visible. While the browser opens, the bar appears but then pops up where it is not reachable. How can I disable the mode full screen?

    To view full screen on Firefox, I accidentally clicked and now I can't cancel it. My toolbar, bookmarks, etc. is not visible. While the browser opens, the bar appears but then pops up where it is not reachable. How can I disable the mode full-screen without access to display options?

    The F11 key

  • Firefox opens in view full screen. Is there a get way to display menu bars? I have now to close the progrram and start over.

    Firefox opens in view full screen and no Firefox menu bar is visible or all icons appear at the bottom of the screen (not even the "Start" icon. I tried pressing ESC. Nothing happens. I tried right click, but none of these options provide all assistance. When I need to go back to any other program, I press Ctrl/Alt/Del and close the Firefox program. I'm sendis Internet Explorer message.

    Press F11.

  • View Blackberry Java Sqlite query result rows in the form of pages

    How can I display the rows resulting from the query sqlite one at a time in the form of question pages where a buttonfield (then) displays the next line (question) when you press. I was able to display all the rows at once with the following code:

    Statement st = null;
    try {}
    St = db.createStatement ("SELECT * FROM Questions by Qid asc");
    St.Prepare ();
    Cursor c = st.getCursor ();
    If (c == null) {}
    Dialog.Alert ("unable to retrieve from the database");
    }
    Line r;
    {while (c.Next ())}
    r = c.getRow ();

    String opt = "option" + r.getInteger (0);
    Option RadioButtonGroup = new RadioButtonGroup();
    Add (new LabelField (r.getInteger (0) + "." + r.getString (1)));
    Add (new RadioButtonField (r.getString (2), option, false));
    Add (new RadioButtonField (r.getString (3), option, false));
    Add (new RadioButtonField (r.getString (4), option, false));
    Add (new SeparatorField());
    }
    } catch (Exception e) {}
    e.printStackTrace ();
    } {Finally
    try {}
    St.Close ();
    } catch (DatabaseException e) {}
    }
    }

    But no progress with splitting into separate view. Do you know how to go about it?

    I thought the usual way to proceed would be for the SQL query to provide lines to return to the screen, and then the screen would have a loop by pushing another modal screen with the following Question.  If this player from the screen not from the query.  Who is?

Maybe you are looking for

  • TV 32L3441DG no messages 'no signal', but has 2 working channels

    HY, After a normal after being completely turned off start, television seems tpo normal departure. but display only 2 channels. About 5 seconds after the image is displayed, the middle of the screen displays 'no signal' and a 5 minutes. timer, after

  • get information from drive mapped in LV

    Is there a way to output the full name of the server for a mapped network drive? i.e. spend the R:\ mapped drive letter and output it the full path to \\Mapped_Drive1 Thank you in advance...

  • Drink VN7 - 592G spilled on the keyboard, now sticky keys! How can I remove the keys to wipe the keyboard?

    Hello world There was a sweet drink spilled on my keyboard and the keys are now sticky Are there ways for me to remove the top of the key, so that I can sticky sugar wipe my keys. I don't know if I can just pop off the keys on this laptop. Can anyone

  • KEY windows vista

    He asks me always activate windows and I get changer of fairejai for the comment no simple card and windows tells me that my windows key is not authantique .and I put backup CDs

  • WUSB600N with WRT400N

    I'm having a problem with my speed fluctuation of 270 to 13.5 or lower whenever my browser loads pages or better still when its not done anything.  My ISP is Time warner.  I use their modem which is a motorola sbv5222 surfboard.  My router is a WRT40