Calendar Data Picker bug or problem

Hi all i am having a problem with the calendar component.
here the context:
tool: Sun Java Studio Creator 2
framework: Java Server Faces
i put several components, on the page, and several buttons.
i insert code in the button action of every button on the page, i test the applicaction, everyting works. i put a calendar on the page, i test the application withouht even clicking on the calendar, everything work. the moment i click on the calendar to pick a date, it works, but from that moment none of the button action code is even called, because i tested the application in debug mode with code breakpoints and none the breaks stoped. can anyone related to this situation regarding the calendar, and if you do, how did youto solve it. Thank you in advance.
best regards

Hi!
If I've understood You rightly, button actions are not called after You pick a date.
Put "Message Group" component from Basic section to the page with "Calendar" component and look what system message will appear.
Probably the reason is that You select date before current and by defauly minDate for Calendar component is current. So probably You just should set minDate.
Thanks,
Roman.

Similar Messages

  • Date Picker BUG on APEX 4.2.1

    Hi all could you please open a ticket for the following bug.
    Reproducing the bug very simple.
    Apex specification :
    version 4.2.1.00.08
    I'm not using HTML 5 template but the classic "Blue and Tan" one.
    1) Create a page with date picker with mask (DD-MON-YYY HH24.MI).
    2) set as default value the SYSDATE using the PLSQL expression (not specifying the mask to_char()).
    3) Try to use it and you will see that the year shown is not the correct one but is something like 1911.
    I fixed using to_char(SYSDATE,'DD-MON-YYY HH24.MI') in the PLSQL expression.

    Hi Zere,
    one very important thing to remember when dealing with session state (the value of a page item) is that everything is stored as string.
    If you specify SYSDATE as your default expression, then the Oracle database will evaluate that as date data type, but as soon as it's stored in session state, the database will do an implicit data type conversion using the default format mask specified for your database session.
    That's why it works when you do the TO_CHAR with the explicit format mask.
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf
    Edited by: Patrick Wolf on Apr 10, 2013 3:37 PM

  • Dates greyed out in calendar date picker

    Hi,
    I have created a parameterised condition allowing users to enter two dates as part of a range
    join_date between :FromStartDate AND :ToEndDate
    On executing the worksheet , the runtime parameter dialog allows the user the option to choose the date from a calendar. On briefly testing this, I noticed that the initial dates displayed in the calendar dialog were from 2002. More importantly, on trying to 'pick' today's date for the :ToEndDate parameter, only 2 dates were selectable for this month. Is the choice of dates from the calendar dependant on the actual Join_date values in the database? I created the parameterised condition as part of the worksheet wizard,
    Thanks in advance for any confirmation of this,
    regards,
    Kevin.

    When you create the business area, what are you specifying in the Load Wizard Step 4? In that step you are asked if you want to generate additional objects. One of those choices involves date hierarchies. I always check that, and leave at the default of Default Date Hierarchy. Any date columns that come into my business area folders get automatically assigned to that default date hierarchy and get a LOV for them. When I take one of those date fields and make it a parameter in a work book, it automatically gets the LOV icon next to it (in Discoverer Plus) and has a pretty full choice of years to choose from. I admit to not knowing where it is getting the date data to select from, but it all works like magic as far as I am concerned. So you may want to look at how you create a business area, to see if maybe you need to change something in that process. You should not be having these kinds of problems. Unless maybe these column you want to use are not defined as date columns? So a couple of things to consider here.
    John Dickey

  • Problem with Date Picker and wwv_flow_item.date_popup()

    I have a Report based on the HTMLDB How-To “Build Tabular Forms for Multi-Row Operations”
    This is my code:
    select
    X.RRIT_UID,
    X.DOS,
    X.CPT_CODE,
    X.MOD,
    X.DX_CODE,
    X.CHARGES,
    X.UNITS
    from
    (select
    htmldb_item.text(1,RRIT_UID) RRIT_UID,
    wwv_flow_item.date_popup(2,null,RRIT_DATE_OF_SERVICE) DOS,
    htmldb_item.text(4,RRIT_SUBMIT_SERVICE_CODE,6) CPT_CODE,
    htmldb_item.text(5,RRIT_SUBMIT_MODIFIER,3) MOD,
    htmldb_item.text(6,RRIT_ATT_DIAG_CODE,6) DX_CODE,
    htmldb_item.text(7,RRIT_BILLED_CHARGES,9) CHARGES,
    htmldb_item.text(8,RRIT_UNITS,3) UNITS
    from
    RRIT_REPRICE_ITEM
    where
    RRRR_UID = :P5_RRRR_UID
    union all
    select
    htmldb_item.text(1,null) RRIT_UID,
    wwv_flow_item.date_popup(2,null,null) DOS,
    htmldb_item.text(4,null,6) CPT_CODE,
    htmldb_item.text(5,null,3) MOD,
    htmldb_item.text(6,null,6) DX_CODE,
    htmldb_item.text(7,null,9) CHARGES,
    htmldb_item.text(8,null,3) UNITS
    from
    dual)
    X
    My problem is when I run the page and select a date from the Pop-Up calendar I get this error:
    Line 10
    Error: ‘opener.document.forms.0.f02.0’ is null or not an object
    I know it is something to do with data formats and the fact that I do not fully understand the use of wwv_flow_item.date_popup().

    Hi DK,
    It is a WD Java application, Backend is ABAP (MM module).
    The UI is input field, where the context attribute type is Date, So its been changed to Date Picker.
    The problem is when the user runs the WD application in Portal, The calendar format is being changed for some users. That is for few users the Week starts with Monday and for few users the week starts with Sunday.
    I need all the users to have Monday as the First day of the week.
    Please let me know, what will be solution for this.
    Since I haven't done anything in regard to date, it is a simple Date format.
    Thanks & Regards,
    Palani

  • Date Picker Format YYYYWW

    Hi,
    I need to make a calendar date picker return a date in
    YYYYWW format. I already tried to use an application format mask with no success. Any Ideas ?
    thanks in advance,
    pedro

    please feel free to tell us specifically what "no success" means for you. i'm able to have my datepickers return YYYYWW values w/o issues. if you're using your datepicker in an update form, though, know that your WW format code will cause problems there. when you use a datepicker item, it's doing a to_date on your value at one point. if that value contains a WW format date value in there you'll hit a ORA-01820. it's the same error you'd get if you did a select to_date('200426','YYYYWW') from dual. anyhow, datepickers using the application format mask, PICK_DATE_FORMAT_MASK, do support 'YYYYWW' format masks, but they won't work on update forms. i'll log an enhancement request for us to help with avoiding that issue for updates, but if your issue involves something else about using PICK_DATE_FORMAT_MASK, please do let us know.
    regards,
    raj

  • Dynamic Action On Date Picker

    Hi,
    I need help with understanding dynamic actions. I have two date pickers, I want the value of the first date picker to be the minimum date of the second date picker. To achieve this I have a hidden item whose value I want to reflect the selected date in the required format. In the dynamic action on the date picker I have no condition, and the true action is set to execute the following pl/sql code
    :P200220000_Y_MIN_DT := TO_CHAR(TO_DATE(:P200220000_Y_STR, 'DD-MON-YYYY'), 'YYYYMMDDHH24MI');. The items to submit field contains both the first date picker and the hidden item.
    The "P200220000_Y_MIN_DT" is now passed into the minimum date field of the second date picker. The problem is when the date is changed the hidden item does not get the value until the page is refreshed.
    Am I doing something wrong or just have not mastered the use of dynamic action or are my colleagues right use AJX call backs not dynamic actions.
    Thanks
    Aderemi

    Hi Aderemi,
    first of all as already explained, the min/max values are already used on the server side when the necessary code for the date picker is rendered. When you changed the referenced values in the browser, these values will not change the behavior of the client side date picker widget. But when you submit the page, the new min/max values will be used by the date picker validation check on the server.
    To over the client side date picker display issue, you could directly call the date picker JavaScript code and pass in the new min/max values. Have a look at http://jqueryui.com/demos/datepicker/
    So for example you could have a dynamic action of type "Execute JavaScript code" which executes the following Javascript code.
    apex.jQuery('#P200220000_MY_DATE_PICKER').datepicker("option", "minDate", "-1m");I think that should work. Note: I haven't tested if that really works and it's also some kind of unsupported, because it uses the underlaying jQueryUI APIs the APEX date picker is using. This could change in the future and would invalidate your code.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • Date Picker Fails after MHF

    When using a date input parrameter the calendar (Date Picker) does not show up when I click on its icon.
    It worked (Crystal XI R1) before installation of SP4 and latest monthly hot fix.
    Does anyone know how to fix this issue or remove the MHF and SP?
    Regards,
    Todd

    Hi Todd,
    Try CR XI R2, it's a free upgrade.
    https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
    Run License Manager first to get the keycode if you don't have it on paper somewhere.
    Thank you
    Don

  • 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

  • Date Picker problem in Apex 3.1

    Hi,
    I upgraded my apex to 3.1 and found that the date picker icon behaviour become quite strange.
    If I set the label of the date picker Horizontal/Vertical Alignment to Above, the picker icon will show below the text box instead of right side. And the pop-up calendar for Date Picker (DD-MM-YYYY HH24:MI) also not high enought to show the Close and OK button, I have to manually adjust the pop-up calendar height.
    All this problems were not there in 3.01, is these some kind of bug?
    Thanks
    Vincent

    Hello,
    Can you put an example of your particular layout on apex.oracle.com. The solution I had worked in most of the case's I tested , obviously yours is different.
    The next best solution would be to either shim the items with images, or to specifically set the widths of the containing table cells.
    The reason all this is happening is sometimes , depending on the region templates and CSS the regions will collapse down on the content, and the the browsers will do there best to fit the content in the smallest place possible, Unfortunately, in some cases the browsers ignore both nowrap="nowrap" and/or style="white-space:nowrap", why would I want to put nowrap on something and still have it wrap, I don't know it's not me it's the browsers.
    The solution in the patch I'm leaning towards is wrap item into a table. As it will work perfectly everywhere , and greatly annoy people that want tableless layouts, but that won't be available till the patch.
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Problem with Date Picker Item

    Hello,
    I'm using APEX 4.2.2.00.11 and I have a problem with the Date Picker. I can't select any day of the second week of the month (it happens for all months).
    Someone know if there are any reason (and how can I solve it) or is an APEX bug?
    Thank you!

    Hi Chimanzee,
    try for : source value
    to_char(sysdate-7,'DD/MM/RRRR')
    hope this helps.
    Leo

  • Date Picker problem in APEX 4.1

    Hi,
    I have developed one application in ApEx 4.0 and imported it in ApEx 4.1. In ApEx 4.1, while clicking the Date picker field (on calendar icon) the application is started giving below error :
    Message: Unable to get value of the property '_curInst': object is null or undefined
    Line: 17
    Char: 1448
    Code: 0
    URI: http://*********/i/javascript/apex_4_1.min.js
    I have gone through the below OTN link,But I do not have such scenario which has been discussed over there.
    Apex 4.1 IR: $.datepicker._curInst' is null or not an object
    Other scenario which I have tried:
    In ApEx 4.1, Created a new application with one page having date picker, it is working fine. If I copy/import this page in my old application(which was imported from ApEx 4.0) then the date picker is showing the above error.
    NOte: We are using IE 8 & 9.
    Regards
    Mohan

    Hi,
    We found the problem. The problem is due the file 'jquery.min.js' file we have uploaded in shared components --> images. Once we deleted then it is working fine.
    Regards
    Mohan

  • Bug in Date Picker..urgent

    Dear All,
    I ma working with OAF 5.7h.
    I am facing a strange problem.
    I hav a date picker,the one where u hav a date icon on clicking of which the dâte picker opens up in a secondary modal window with the month and year in individual pulldown lists, [Month] in first pulldown list, [Year] in next pulldown list.
    Now whenever i scroll thro the Month pulldown list and try selecting February from the Month [first] pulldown list,it alwayz returns the next month (ie ) March in the list(whenever we choose any month from the month pull down list the secondary date window refreshes and puts the selected month as selected in the pulldown list).
    The year pull down does not cause any such behaviour.
    Its fine with all the months except February.
    So unfortunately the user can never select the month Feb,it alwaz return March in the list.
    I tried to see the html code in the explorer.View ...Source and i saw that the value attribute in the HTNL tags for both the months Feb and March is same.
    So whether i choose Feb or March it displays March...
    How can i change this because what i understand the value is generated dynamically for each month in the javascript for the date pop up.
    Any help would really be great..
    Thanks

    Hi Sharon,
    So, It's not a bug it's a feature … :)
    IMHO, or to be more exact, in my users opinion, the current behavior is not good enough from a user interface point of view. We are all use to see some noticeable reaction when we are pressing on a link, button etc. The current response to choosing another day is not noticeable enough, and can cause some confusion. I would expect the newly chosen day to be colored. If you think that the current date should also remain marked, you can use another color.
    If you use this in a form with a value already set you will notice that it is not the value of the item that is in grey, it is sysdateYes, I've notice that, and in the case that sysdate is not in the current displayed month, nothing is colored. I find this behavior also to be a bit confusing. I think the date picker value should be marked.
    I would appreciate if you'll consider this thread as an enhancement request.
    Thanks,
    Arie.

  • HT1296 I have a problem synching calendar data between my iPhone 3GS iOS 5.1 & Outlook 2007 on MS7.  The basic calendar is OK but the birthdays (little box icon) are a day early & cannot be changed to the correct date. How can I fix this?

    I have a problem synching calendar data between my iPhone 3GS iOS 5.1 & Outlook 2007 on MS7.  The basic calendar data transfer is OK but the birthdays (little box icon) are a day early & cannot be changed to the correct date. The birthday entries in my Outlook contacts have correct dates.How can I fix this?

    The following peocess corrects the calendar entry:
    edit the contact & change the birthday, save the change; edit the contact & change the birthday to the correct value, save the change again. The calendar entry then displays on the correct date.  Alternatively as a temp solution I can just de-select the "birthdays" calendar which stops the icon being displayed.
    Thanks for your advice, I think that it's n going to be a slow process to fix all the entries for not much return.

  • Select list and date picker on one line  -  is this a bug?

    I'm using: Application Express 3.2.0.00.27
    Is the following a bug? If so, how do I get it reported so it will be fixed in a future release of APEX? If not, how do I do it so it ends up the way I want?
    1. create blank page
    2. create html region
    3. create "select list" item (Begin On New Line - Yes, ...Field - Yes, ColSpan - 1, Row Span - 1)
    4. create date picker item (Begin On New Line - No, ...Field - No, ColSpan - 1, Row Span - 1)
    There will be other items displayed in more columns above what I just had you create above. I want the select list and the date picker to display next to each other on same line, so I placed date picker item on same line in same field as select list item.
    HOWEVER... the date picker ends up displayed under the select list item (kind of), instead of next to it on the same line.
    Here's what I get:
    ...................... [Select List Field] Date Picker Label
    Select List Label
    ...................... [Date Picker Field]
    Here's what I want:
    Select List Label [Select List Field] Date Picker Label [Date Picker Field]
    Thanks,
    Steve
    Edited by: sskelton on Aug 3, 2009 11:01 AM
    Edited by: sskelton on Aug 3, 2009 11:02 AM

    Hi Steve,
    I'm not sure if it's the official way, but you could add a post here: Enhancement Request Thread : Post 3.1 - that's what I've been doing :D
    Andy

  • IPod Nano 3rd Gen. Problems [Rebooting, Won't Sync Contact/Calendar Data]

    I have noticed that my iPod nano will reboot itself after it has been syncing/charging. It reboots when I go to the last playlist that was playing before I began to sync/charge it. Also, it would randomly reboots when I am selection a playlist.
    Then, it won't sync my contact/calendar data if it nearly full. But I can sync them when it is nearly empty.
    What is causing the problem and how can I fix it?

    if you have done restores then possibly it is a firmware issue... i would take it to the apple store if you can to get it looked at...

Maybe you are looking for