Date picker in OBIEE

I would like to use Date Picker on the OBIEE Dashboard. Is there any standard control/mechanism that I can put to use ?

hi....can you explain it a little more???
i created 2 dashboards prompts. from 2 dummy collums
i set CAST ( NULL AS DATE ) and CAST ( '11/12/2008' AS DATE ),i choose calendar and i set 2 presentation variables,start and end
in my reports i creates a single collumn(measure column from fact table) QTY where i want to se the quantity of the specified period of time.
i set in the function...
FILTER(fact.QTY USING (CALENDAR_DIM.CALENDAR_DATE BETWEEN '@{start}{04/01/2007}' AND '@{end}{06/01/2007}'))
(i did that because i want to have 2 colums of qty in order to represent 2 qts of 2 different periods.
i made a simple test only with one period but the result was...
Κατάσταση: HY000. Κωδικός: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 1843, message: ORA-01843: not a valid month at OCI call OCIStmtExecute: select T622.KATHGORIA_ID_DESC as c1, sum(T525.QTY) as c2, T409.CALENDAR_DATE as c3 from DWADM.PRODUCT_DIM T622, DWADM.CALENDAR_DIM T409, DWADM.FACT2007 T525 where ( T409.CALENDAR_DATE = T525.CAL_DATE and T525.PRD_SK = T622.PRODUCT_SK and T409.CALENDAR_DATE between '04/01/2007' and '06/01/2007' ) group by T409.CALENDAR_DATE, T622.KATHGORIA_ID_DESC order by c1, c3. [nQSError: 17011] SQL statement execution failed. (HY000)
any help???
i manage to do my scenario with dropdown list but it is not what i want.
the one tha o notice is that the field from the calendar is acceptin the dates onlu in format of yyyy-MM-dd.
tnks

Similar Messages

  • 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

  • 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 not working correctly.

    Hi all,
    I have a strange prob in webdynpro.
    I am using Date picker. But once i read it, the value is one day less than that i give.
    For eg, i give <b>06/25/2006</b>.. but it reads as <b>06/24/2006</b>.
    Please help.
    Thanks in advance
    gEorgE

    Open an OSS message (BC-WD-JAV-RUN).
    Armin

  • Date Picker Doesn't Like Retrieved or Typed In Date Values

    I have more than one Region on a page, so I retrieve the column values for a region this way:
    (On LOad, Before Header, Once per Page Visit)
    BEGIN
    EXECUTE IMMEDIATE 'ALTER SESSION SET NLS_DATE_FORMAT='''||:pick_date_format_mask||'''';
    FOR request_rec IN (SELECT dev_requested_ind,
    dev_requested_dttm,
    dev_analyst_seq,
    dev_completed_ind,
    dev_completed_dttm,
    dev_dba_seq,
    sit_requested_ind,
    sit_requested_dttm,
    sit_analyst_seq,
    sit_completed_ind,
    sit_completed_dttm,
    sit_dba_seq,
    uat_requested_ind,
    uat_requested_dttm,
    uat_analyst_seq,
    uat_completed_ind,
    uat_completed_dttm,
    uat_dba_seq,
    prd_requested_ind,
    prd_requested_dttm,
    prd_analyst_seq,
    prd_completed_ind,
    prd_completed_dttm
    FROM request_tbl
    WHERE request_seq = :p16_request_seq)
    LOOP
    :p16_dev_requested_ind := request_rec.dev_requested_ind;
    :p16_dev_requested_dttm := request_rec.dev_requested_dttm;
    :p16_dev_analyst_seq := request_rec.dev_analyst_seq;
    :p16_dev_completed_ind := request_rec.dev_completed_ind;
    :p16_dev_completed_dttm := request_rec.dev_completed_dttm;
    :p16_dev_dba_seq := request_rec.dev_dba_seq;
    :p16_sit_requested_ind := request_rec.sit_requested_ind;
    :p16_sit_requested_dttm := request_rec.sit_requested_dttm;
    :p16_sit_analyst_seq := request_rec.sit_analyst_seq;
    :p16_sit_completed_ind := request_rec.sit_completed_ind;
    :p16_sit_completed_dttm := request_rec.sit_completed_dttm;
    :p16_sit_dba_seq := request_rec.sit_dba_seq;
    :p16_uat_requested_ind := request_rec.uat_requested_ind;
    :p16_uat_requested_dttm := request_rec.uat_requested_dttm;
    :p16_uat_analyst_seq := request_rec.uat_analyst_seq;
    :p16_uat_completed_ind := request_rec.uat_completed_ind;
    :p16_uat_completed_dttm := request_rec.uat_completed_dttm;
    :p16_uat_dba_seq := request_rec.uat_dba_seq;
    :p16_prd_requested_ind := request_rec.prd_requested_ind;
    :p16_prd_requested_dttm := request_rec.prd_requested_dttm;
    :p16_prd_analyst_seq := request_rec.prd_analyst_seq;
    :p16_prd_completed_ind := request_rec.prd_completed_ind;
    :p16_prd_completed_dttm := request_rec.prd_completed_dttm;
    END LOOP;
    END;
    p16_dev_requested_dttm is defined as a Date Picker (use application format mask)
    The data source is a Date column called dev_requested_dttm. I haven't defined a format mask for it. (I have tried using &PICK_DATE_FORMAT_MASK..)
    The Application Format Mask is defined as a Subsitution String called
    PICK_DATE_FORMAT_MASK
    with a value of
    MM/DD/YYYY HH:MI AM
    The retrieved column value for p16_dev_requested_dttm looks fine, but when I click the date picker pushbutton, I get this message:
    Not Found
    The requested URL /pls/htmldb/wwv_flow_utilities.show_as_popup_calendar was not found on this server.
    Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server Server at edwdev.dhhs.state.nh.us Port 7779
    I also get a line in my log file,
    /vg02lvol1/app/oracle/product/htmldb/Apache/Apache/logs/error_log.1133956800:
    [Wed Dec  7 16:23:43 2005] [error] [client 172.16.252.76] [ecid: 1133990623:172.17.96.35:1802:0:9870,0] mod_plsql: /pls/htmldb/wwv_flow_util
    ities.show_as_popup_calendar HTTP-404 ORA-01849: hour must be between 1 and 12\nORA-06512: at "FLOWS_020000.WWV_FLOW_UTILITIES", line 1801\n
    ORA-06512: at line 22\n
    This happens with both FireFox and Internet Explorer.
    Any ideas what's causing this?
    -F
    Message was edited by:
    Fred C Willingham

    Fred,
    Unfortunately, the answer is no to both of your questions.
    There is no way for you as a developer to control which date is highlighted in the popup calendar. It will always highlight the current day (if you're displaying a month that contains the current day). This is an interesting and prudent suggestion, and one which we'll consider for an upcoming release of HTML DB.
    With regards to your second point, that also is something we should consider for an upcoming release of HTML DB. This isn't impossible for us to do, it was just designed to work in the current fashion. If you look at the generated HTML for the Date Picker item on the page (not the popup calendar itself, but the page on which the item is rendered), we break out each element of the date value into discrete components. When we instead rely upon the user entered value, garbage or date values not conforming to the date format mask are easily entered. And the question is - what to do then? Raise an error immediately, still popup the calendar and show the current month, etc. So we've tried to be fairly strict about the date values and format masks for the popup calendar, hence the implementation you see.
    Thanks again for your comments.
    Joel

  • Two questions: Event on a Date Picker and Read Only on a full page?

    Hello,
    I make use of this very informative board to develop an application but i have been unable to find info on these two topics. Sorry if it has been already discussed extensively.
    Using HTMLDB 2.2 for now.
    =>First question:
    I have a date picker item with an event
    onChange="resaStatusChange();"
    in the HTML Form Element Attribute field.
    The event is triggerring if i put a new data in the field but does not trigger if i use the picker.
    Is it a standart behaviour? Is there a way to trigger the event when new data is provided through the date picker?
    => Second question:
    One page in my application has to be used either to only display information or as a mixed displaying/entering data sheet.
    When the context is appropriate to use the page as a simple display (testing both global authorization and data to be displayed), is there a way to put a read only attribute on the full page instead of putting the read only conditions through each and every item of the page?
    Sorry if the questions are not clear and apologize for what should be newbie questions.
    Any link or info will be appreciated.
    Regards,
    Daniel Gureghian

    Hi Daniel,
    I'm not sure about your first question, but I can hopefully give you a helpfull answer for your second one.
    I'm handling it this way:
    var elInput = document.getElementsByTagName('input');
    var elTextArea = document.getElementsByTagName('textarea');
    var elSelect = document.getElementsByTagName('select');
    for (i = 0; i < elInput.length; i++)
      setReadOnly(elInput, true);
    for (i = 0; i < elTextArea.length; i++)
    setReadOnly(elTextArea[i], true);
    for (i = 0; i < elSelect.length; i++)
    setReadOnly(elSelect[i], true);
    function setReadOnly(pThis, pRead)
         if (pThis && pRead)
              pThis.disabled = pRead;
              pThis.style.emptyCells = "show";
              pThis.style.color = "black";
              pThis.style.backgroundColor = "#DDDDDD";
         else if (pThis && !pRead)
              pThis.disabled = pRead;
              pThis.style.emptyCells = "show";
              pThis.style.color = "black";
              pThis.style.backgroundColor = "#FFFFFF";
    I never used it on a whole page, only for regions. So maybe you have to make some changes.
    chrissy

  • Date Picker error

    Hi,
    We have an application that cannot use the date picker, after a date is selected, the error we get is:
    A runtime error has occurred
    Line:10
    Error: 'opener.document.forms.0.p_t03' is null or not an object
    After a lot of searching around, the developer has narrowed it down to something on the template for some reason, but we are not sure what. If we remove the template, it works fine - but in this case the business wants the standard look and feel - so we are stuck with having to use it.
    Below is the header, body and footer sections of the offending template - anyone have any idea of what could cause the problem with the date picker?
    Header:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>#TITLE#</title>
    #HEAD#
    <meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
    <meta name="description" content="Monash University Research Output Reporting Tool" />
    <meta name="keywords" content="research, RORT, reporting" />
    <link rel="stylesheet" href="http://assets.monash.edu.au/styles/monash.css" type="text/css" />
    <link rel="stylesheet" href="http://assets.monash.edu.au/styles/print.css" media="print" type="text/css" />
    <link rel="shortcut icon" href="http://www.monash.edu.au/favicon.ico" />
    <link rel="stylesheet" href="#IMAGE_PREFIX#css/einstein.css" type="text/css" />
    <script src="#IMAGE_PREFIX#javascript/functions.js" type="text/javascript"></script>
    </head>
    <div id="accessibility">
    Skip to content | Change text size
    </div>
    <div class="spacer"></div>
    <!-- S I T E I D E N T I F I C A T I O N -->
    <div id="global-header">
    <div id="global-images">
    <img id="logo" src="http://assets.monash.edu.au/images/logo.gif" width="343" height="79" alt="Monash University" /><img id="banner-image" src="http://assets.monash.edu.au/images/banner-research.jpg" width="288" height="79"
    alt=" " title="" />
    </div>
    <div class="spacer"></div>
    <!-- G L O B A L N A V I G A T I O N -->
    <table id="global-nav" summary="Layout for site-wide navigation">
    <tr><td>
    Monash home | About Monash | Faculties | Campuses | <a
    href="http://www.monash.edu.au/contact/">Contact Monash</a>
    </td></tr>
    </table>
    <!-- U T I L I T Y N A V I G A T I O N -->
    <table id="global-utils" summary="Layout for utility navigation">
    <tr>
    <td>
    Staff directory | A-Z index | Site map  
    </td>
    <td id="global-utils-form">
    <form action="http://ultraseek.its.monash.edu.au/query.html" method="get" name="seek1" id="seek1">
    <input type="hidden" name="rq" value="0" />
    <input type="hidden" name="col" value="m0" />
    <input type="hidden" name="qs" value="-monash.access:intranet -monash.access:emailarchive" />
    <label class="search" for="qt">SEARCH </label>
    <input type="text" id="qt" name="qt" size="20" maxlength="1024" />
    <input type="hidden" name="qp" value="" />
    <input name="submit" type="submit" accesskey="1" value="Go" />
    </form>
    </td>
    </tr>
    </table>
    <body #ONLOAD#>#FORM_OPEN#
    <H1><CENTER>MRGS EXAMINATIONS</CENTER></H1>
    Body:
    <!-- S K I P L I N K A N C H O R -->
    <a name="content" id="skiplink"></a>
    <div align="right">
    <table class="std">
    <tr><td align="left" width="10%" valign="bottom" nowrap="nowrap"><span class="PortletHeading2">&USER.</span></td><td style="padding-left:30px;">#NOTIFICATION_MESSAGE# #SUCCESS_MESSAGE#</td></tr></table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="TabForegroundColor">
    <tr><td class="TabForegroundColor"><img src="#IMAGE_PREFIX#f_spacer.gif" border="0" height="3" alt="" /></td></tr>
    </table></div>
    </td>
    </tr>
    <tr>
    <td width="100%" colspan="3">
    <div class="th_content_body">
    #REGION_POSITION_01#
    <tr>
    <td style="padding-right:10px;padding-left:10px;" valign="top">#REGION_POSITION_02#
    </td>
    </tr>
    <table width="100%">
    <tr><br>
    <td width="25%" style="border-right:2px #000099 solid;padding-left:10px;" valign="top">#REGION_POSITION_03#
    </td>
    <td style="padding-right:10px;padding-left:10px;" valign="top">#REGION_POSITION_04#
    </td>
    <td valign="top" width="100%" style="padding-left:20px;padding-left:20px;">
    #BOX_BODY#</td>
    </tr>
    <tr>
    <td></td>
    <td style="border-style:solid;border-width:thin;border-color:black;padding-right:10px;padding-left:10px;" valign="top">#REGION_POSITION_07#
    </td>
    </tr>
    </table>
    </div>
    #REGION_POSITION_09#
    </td>
    </tr>
    <tr>
    </table>
    Footer:
    #FORM_CLOSE#
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="TabForegroundColor"><tr>
    <td class="TabForegroundColor"><img src="#IMAGE_PREFIX#f_spacer.gif" border="0" height="3" alt="" /></td></tr>
    </table>
    <table width="100%"><tr><td align="right" class="tiny"> #CUSTOMIZE# </td></tr></table>
    Copyright &copy; 2003 <FONT COLOR=#606060><U>Monash University</U></FONT> ABN 12 377 614 012 - <FONT COLOR=#606060><U>Caution</U></FONT> - <FONT COLOR=#606060><U>Privacy</U></FONT> - <FONT COLOR=#606060><U>CRICOS
    Provider Number: 00008C</U></FONT>
    Last updated: 10 August 2004 - Maintained by <FONT COLOR=#606060><U>[email protected]</U></FONT> - <FONT COLOR=#606060><U>Accessibility information</U></FONT>
    </body>
    </html>

    i think the calendar runs through a specific dll file. you may want to search to make sure all the dlls are installed. or re-install the software

  • Date Picker not allowing to capture time

    Hello Friends,
    I am trying to create a tabular form on a table[create SQL as below].
    CREATE TABLE  "JOB_RUN_DETAILS"
       (     "JOB_NAME" VARCHAR2(100),
         "SCH_RUN_DATE" DATE,
         "START_DATE" DATE,
         "END_DATE" DATE,
         "STATUS" VARCHAR2(100),
         "ID" NUMBER NOT NULL ENABLE
    /My idea of the tabular form is to allow entry of time both hours and minutes from the date picker along with date for <b>"START_DATE", "END_DATE" </b> items.
    But I dont see a possibility to do that for hours and minutes. But I remember having seen this in Apex 3.2, not sure if I missed some thing while page making or this feature of Date Picker is left intentionally in the new release.
    Please share any ideas you have.
    Thanks,
    Chaitu.

    My understanding is you are trying to create a Tabular form using the Table which you specified, you are expecting time part to be displayed in the Date Picker column ?.
    The Time part of hours and Minutes will be displayed based on the format mask used for the Application or the item. if the format mask is DD-MM-YYYY HH24:MI then you will see the hour and minute part with the Date Picker.

  • Date picker for af:inputDate   is not picking up the correct input date

    view source:
    <af:inputDate value="#{bindings.DateField.attributeValue}" label="#{bindings.DateField.hints.label}"
    required="#{bindings.DateField.hints.mandatory}"
    valueChangeListener="#{pageFlowScope.CollectApplicantInformation.datesItemChanged}"
    columns="#{bindings.DateField.hints.displayWidth}" shortDesc="#{CustomTooltip[DateField]}"
    autoSubmit="true" helpTopicId="AppDt" id="DateField" simple="true">
    <f:validator binding="#{bindings.DateField.validator}"/>
    *<f:converter converterId="CustomConverter"/>*
    </af:inputDate>
    Here I am not using <af:ConvertDateTime> insted using customConverter, so what code changes do I need to make sure the date picker always picks the already existind date in the inputDate rather picking the current date?
    Here is my CustomConverter.java
    CustomConverter.java
    public class CustomConverter extends DateTimeConverter implements ClientConverter, Converter
    public Object getAsObject(FacesContext context, UIComponent component, String value)
    String dataType = (String) resolveExpression("#{bindings." + component.getId() + ".attributeDef.javaType.name}");
    if (dataType != null && !dataType.equalsIgnoreCase("oracle.jbo.domain.Date") && !dataType.equalsIgnoreCase("oracle.jbo.domain.Timestamp"))
    String test = null;
    if (context == null || component == null)
    throw new NullPointerException();
    if (value != null)
    // To solve DB transaction dirty issue, Check isEmpty and return null.
    if (value.isEmpty())
    return null;
    // the "value" is stored on the value property of the component.
    // The Unified EL allows us to check the type
    ValueExpression expression = component.getValueExpression("value");
    if (expression != null)
    Class<?> expectedType = expression.getType(context.getELContext());
    if (expectedType != null)
    System.out.println("expectedType Value:::" + expectedType.getName());
    // try to convert the value (Object) to the TYPE of the "value" property
    // of the underlying JSF component
    try
    return TypeFactory.getInstance(expectedType, value);
    catch (DataCreationException e)
    String errorMessage;
    if (expectedType.equals(CustomNumber.class))
    errorMessage = "You can enter only Numbers in this field";
    else
    errorMessage = e.getMessage();
    if (errorMessage != null)
    FacesContext ctx = FacesContext.getCurrentInstance();
    FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, "Invalid Format" , errorMessage);
    ctx.addMessage(component.getClientId(), fm);
    catch (CustomDomainException e)
    int errorCode = e.getErrorMessageCode();
    String[] errorMessage = e.getErrorMessageParams();
    if (errorCode == 7 && errorMessage != null)
    String msg = "Invalid " + errorMessage[0];
    FacesContext ctx = FacesContext.getCurrentInstance();
    FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, "Application Error: ", msg);
    ctx.addMessage(component.getClientId(), fm);
    catch (JboException e)
    Throwable cause = e.getCause();
    if (cause == null)
    cause = e;
    test = "not good format";
    throw e;
    return null;
    else
    return value != null? value: null;
    public String getAsString(FacesContext context, UIComponent component, Object value)
    return value != null? value.toString(): null;
    public String getClientLibrarySource(FacesContext context)
    return null;
    @Override
    public Collection<String> getClientImportNames()
    return Collections.emptySet();
    @Override
    public String getClientScript(FacesContext context, UIComponent component)
    String formatMask = (String) resolveExpression("#{bindings." + component.getId() + ".format}");
    if (formatMask != null)
    String dataType = (String) resolveExpression("#{bindings." + component.getId() + ".attributeDef.javaType.name}");
    if (dataType.equalsIgnoreCase("oracle.jbo.domain.Date") || dataType.equalsIgnoreCase("oracle.jbo.domain.Timestamp"))
    if (component == null)
    _LOG.severe("The component is null, but it is needed for the client id, so no script written");
    return null;
    // Add a JavaScript Object to store the datefield formats
    // on the client-side. We currently store the format string
    // for each and every field. It'd be more efficient to have
    // an array of formats, then store for each field the
    // index of the format, especially if we could delay outputting
    // these objects to when the <form> closes.
    String clientId = component.getClientId(context);
    if (clientId != null)
    // =-=AEW Only if Javascript...
    Map<String, Object> requestMap = context.getExternalContext().getRequestMap();
    // this fetch could be at the place where we append, but has been
    // moved ahead to optimize use of StringBuilder
    String jsPattern = getJSPattern(context, component);
    String loc = _getLocaleString(context);
    // FIX - figure out size!!!
    // 127 chars for javascript + length of jspattern + locale + 12 chars for
    // tranforming to name in the worst case.
    StringBuilder buff = new StringBuilder(139 + jsPattern.length() + loc.length());
    if (requestMap.get(_PATTERN_WRITTEN_KEY) == null)
    requestMap.put(_PATTERN_WRITTEN_KEY, Boolean.TRUE);
    // only create the _dfs object if it doesn't exist, so we don't
    // wipe out _dfs[xxx] values if we ppr the first date field on a
    // page with multiple date fields.
    buff.append("if(window['_dfs'] == undefined){var _dfs=new Object();}if(window['_dl'] == undefined){var _dl=new Object();}");
    buff.append("_dfs[\"");
    buff.append(clientId);
    buff.append("\"]=");
    buff.append(jsPattern);
    buff.append(";");
    buff.append("_dl[\"");
    buff.append(clientId);
    buff.append("\"]=");
    buff.append(loc);
    buff.append(";");
    return buff.toString();
    else
    LOG.severe("NULLCLINET_ID_NO_SCRIPT_RENDERED");
    return null;
    else
    return null;
    else
    return null;
    private String _getLocaleString(FacesContext context)
    Locale dateTimeConverterLocale = getLocale();
    if (dateTimeConverterLocale != null)
    Locale defaultLocale = RenderingContext.getCurrentInstance().getLocaleContext().getFormattingLocale();
    if (!(dateTimeConverterLocale.equals(defaultLocale)))
    String loc = dateTimeConverterLocale.toString();
    StringBuffer sb = new StringBuffer(2 + loc.length());
    sb.append("'");
    sb.append(loc);
    sb.append("'");
    return (sb.toString());
    return "null";
    @Override
    @Deprecated
    public String getClientConversion(FacesContext context, UIComponent component)
    String formatMask = (String) resolveExpression("#{bindings." + component.getId() + ".format}");
    if (formatMask != null)
    String dataType = (String) resolveExpression("#{bindings." + component.getId() + ".attributeDef.javaType.name}");
    if (dataType.equalsIgnoreCase("oracle.jbo.domain.Date") || dataType.equalsIgnoreCase("oracle.jbo.domain.Timestamp"))
    String jsPattern = getJSPattern(context, component);
    Map<String, String> messages = new HashMap<String, String>();
    if (jsPattern != null)
    Class<?> formatclass = formatMask.getClass();
    System.out.println("FormatClass::" + formatclass);
    System.out.println(" Format Mask : " + formatMask);
    // SimpleDateFormat sdfDestination = new SimpleDateFormat(formatMask);
    String pattern = formatMask; //getPattern();
    if (pattern == null)
    pattern = getSecondaryPattern();
    String key = getViolationMessageKey(pattern);
    Object[] params = new Object[]
    { "{0}", "{1}", "{2}" };
    Object msgPattern = getMessagePattern(context, key, params, component);
    //if hintFormat is null, no custom hint for date, time or both has been specified
    String hintFormat = _getHint();
    FacesMessage msg = null;
    String detailMessage = null;
    if (msgPattern != null)
    msg = MessageFactory.getMessage(context, key, msgPattern, params, component);
    detailMessage = XhtmlLafUtils.escapeJS(msg.getDetail());
    Locale loc = context.getViewRoot().getLocale();
    SimpleDateFormat formatter = new SimpleDateFormat(pattern, loc);
    java.lang.Object obj = resolveExpression("#{bindings." + component.getId() + ".attributeValue}");
    String databaseDate=null;
    if(obj!=null)
    databaseDate = obj.toString();
    DateFormat df = new SimpleDateFormat(pattern,loc);
    System.out.println("DateComponent input value :::::::::::::::::::::::::"+databaseDate);
    Date today;
    try {
    // System.out.println("Before Conversion::::::::::::"+df.parse(databaseDate).toString());
    if(databaseDate!=null)
    today = df.parse(databaseDate);
    else
    today = new Date();
    System.out.println("After Conversion Date :::::::::::::::::::::::::::::"+today.toString());
    //Date today = new Date();
    String dt = formatter.format(today);
    String exampleString = dt;
    String escapedType = XhtmlLafUtils.escapeJS(getType().toUpperCase());
    StringBuilder outBuffer = new StringBuilder();
    outBuffer.append("new TrDateTimeConverter(");
    outBuffer.append(jsPattern);
    // loc = getLocale();
    if (loc != null)
    outBuffer.append(",'");
    outBuffer.append(loc.toString());
    outBuffer.append("','");
    else
    outBuffer.append(",null,'");
    outBuffer.append(exampleString);
    outBuffer.append("','");
    outBuffer.append(escapedType);
    outBuffer.append("'");
    if (msgPattern != null || hintFormat != null)
    messages.put("detail", detailMessage);
    messages.put("hint", hintFormat);
    outBuffer.append(',');
    // try
    // JsonUtils.writeMap(outBuffer, messages, false);
    // catch (IOException e)
    // outBuffer.append("null");
    outBuffer.append(')'); // 2
    return outBuffer.toString();
    catch(ParseException e)
    System.out.println("Parse Exception :::::::::::::::::::::"+e);
    return null;
    else
    // no pattern-matchable date
    return null;
    else
    return null;
    else
    return null;
    protected String getJSPattern(FacesContext context, UIComponent component)
    String jsPattern = null;
    String datePattern = (String) resolveExpression("#{bindings." + component.getId() + ".format}");
    if (datePattern != null)
    String secondaryPattern = getSecondaryPattern();
    if (datePattern != _NO_JS_PATTERN)
    int length = datePattern.length() * 2 + 2;
    if (secondaryPattern != null)
    length = length + 3 + secondaryPattern.length() * 2;
    StringBuilder outBuffer = new StringBuilder(length);
    jsPattern = _getEscapedPattern(outBuffer, datePattern, secondaryPattern);
    else
    jsPattern = datePattern;
    return jsPattern;
    private static void _escapePattern(StringBuilder buffer, String pattern)
    buffer.append('\'');
    XhtmlUtils.escapeJS(buffer, pattern);
    buffer.append('\'');
    private static String _getEscapedPattern(StringBuilder buffer, String pattern, String secondaryPattern)
    if (secondaryPattern != null)
    buffer.append('[');
    _escapePattern(buffer, pattern);
    if (secondaryPattern != null)
    buffer.append(",'");
    XhtmlUtils.escapeJS(buffer, secondaryPattern);
    buffer.append("']");
    return buffer.toString();
    private String _getHint()
    String type = getType();
    if (type.equals("date"))
    return getHintDate();
    else if (type.equals("both"))
    return getHintBoth();
    else
    return getHintTime();
    public static Object resolveExpression(String pExpression)
    FacesContext facesContext = FacesContext.getCurrentInstance();
    Application app = facesContext.getApplication();
    ExpressionFactory elFactory = app.getExpressionFactory();
    ELContext elContext = facesContext.getELContext();
    ValueExpression valueExp = null;
    valueExp = elFactory.createValueExpression(elContext, pExpression, Object.class);
    return valueExp.getValue(elContext);
    private static final String _NO_JS_PATTERN = new String();
    private static final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(DateTimeConverter.class);
    // RenderingContext key indicating the _dateFormat object
    // has been created
    private static final String _PATTERN_WRITTEN_KEY = "org.apache.myfaces.trinidadinternal.convert.DateTimeConverter._PATTERN_WRITTEN";
    *Problem is if any input date componet is displaying other than current date then the date picker is always picking the current date rather existing date*
    Please suggest me where to make changes?
    Edited by: 858782 on Oct 3, 2011 7:43 AM
    Edited by: 858782 on Oct 3, 2011 11:44 PM

    I need custom date foramts to be applied for different inputDates which are not defined in <af:convertDateTime>
    Thanks
    Edited by: 858782 on Oct 13, 2011 4:59 PM

  • How can I get a date picker or wheel to show up in the form to make filling in a form with a lot of

    how can I get a date picker or wheel to show up in the form to make filling in a form with a lot of dates more easy?

    There is no built-in date picker available for forms created in Acrobat. There are some third-party solutions involving JavaScript (either a large collection of fields or a custom dialog) though. Also, text fields with date formatting will use a wheel type date picker on Android/iOS devices with Adobe Reader.

  • Date picker,first day/last day of month

    Hi All
    i have two items on my page
    :p80_from_date
    :p80_last_date
    both of them are defined as date picker (dd/mm/yyyy)
    i want that the form_date will contain allways the first day of the month the the user is picking
    example suppose that the user picks in the :p80_from_date : '20/07/2009'
    then the date suppose to be '01/07/2009'
    if the user picking :p80_last_date '01/08/2009' the date suppose to be '31/08/2009' .
    i've tried to do it with computation with no success.
    i rather that after the user is picking the date he will see that the default is always the first date.
    how shall i do it ?
    thanks in advanced
    Naama

    Hello Naama,
    Now you are actually raising a new issue of date validation, which should pertains to every date field on your application.
    >> the problem is that the function is not returning Boolean
    It seems to me that you are mixing Computations and Validations. The first can set the value of an item; the second can raise an application error and include options of using a function that returns Boolean or an error text.
    The problem in your specific case is that you need to validate the date prior to using it in your Computation, however the APEX engine fires Computations before Validations. The solution might be to use a PL/SQL process with a firing point of “On Submit – Before Computations and Validations”.
    As I mentioned before, date validation should apply to all your application date items. Personally, I’m using a client side validation, fired by an onblur event, to give the user a “fair warning”. The following code matches your date format, and I’m using it in a Right-To-Left application (In the example it includes Hebrew error messages that can be changed to any text in any language you need). This function can deal with a fully formatted date string (e.g. 31/01/2010) or a string of numbers representing the date (e.g. 31012010).
    function dateValidation(pThis){
      var monthDays = [00,31,28,31,30,31,30,31,31,30,31,30,31];
      var date_len = pThis.value.length;
      if (date_len == 0){  // Date field is empty
        return true;       // or an error alert if date is mandatory
      if (date_len == 10) {
        pThis.value = pThis.value.substr(0,2)+pThis.value.substr(3,2)+pThis.value.substr(6,4);
      else {
        if (date_len != 8) {
          alert('DD/MM/YYYY התאריך חייב לכלול 8 ספרות במבנה');
          pThis.focus();
          return false;
      var DD = parseInt(trimLead0(pThis.value.substr(0,2)));
      if (DD < 1) {
        alert('מספר הימים אינו חוקי');
        pThis.focus();
        return false;
      var YYYY = parseInt(pThis.value.substr(4,4));
      if (YYYY < 1900 || YYYY > 2050){
         alert('טווח השנים המוכר 1900-2050');
         pThis.focus();
         return false;
      var MM = parseInt(trimLead0(pThis.value.substr(2,2)));
      // Checking for leap year if MM=02
      if (MM == 2) {
        var leap = (((YYYY % 4 == 0) && ( (!(YYYY % 100 == 0)) || (YYYY % 400 == 0))) ?1:0);
        if ((leap && DD > 29) || (!leap && DD > 28)) {
          alert('מספר הימים בפברואר אינו חוקי');
          pThis.focus();
          return false;
      else {
        if (DD > monthDays[MM]) {
          alert('מספר הימים בחודש זה אינו חוקי');
          pThis.focus();
          return false;
      if (DD < 10) { DD = '0'+DD; }
      if (MM < 10) { MM = '0'+MM; }
      pThis.value = DD+'/'+MM+'/'+YYYY;
      return true;
    function trimLead0(str) {
       return str.replace(/^0*/g,"");
    }Best Practice stipulates that client side validation is not enough and you should use server side validations. In your specific case, if an end user tricked the client side validation he/she deserves to receive a system error message. Still, if you want to prevent it, you need to add some PL/SQL code that validates the input date before you use it in your Computation.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Date Picker with Dynamic Action

    Hi
    I have a situation where a DA is fired onchange of a date field using the apex 4 date picker item type.
    The DA does a number of calculations and database requests, so it can take a few seconds over our slow internet connection.
    While the DA is executing, the calendar remains displayed. The application demands that I display at least 1 or preferably 2 months as well as the current month to facilitate the user entry, which means much of the page is obscured. Not only would it be nice so see the various fields in multiple regions being updated progressively, it would also be reassuring for the user to see that the application has not "hung".
    Is this the expected behavior? Is there a technique to close the date picker before the DA actions are triggered?
    Thanks for your advice.
    CS

    Hi,
    Try this write a Zprogram for this.
    REPORT  Zget_date.
    TABLES : RP50D, PA0041, P0041, PA0019.
    PERFORM Z_date.                       "3CML Dynamic action for IT0000
    FORM Z_date.
      DATA: DATE1 LIKE SY-DATUM.
      DATA: DATE2 LIKE SY-DATUM.
      SELECT * FROM  PA0041
               WHERE  DAR01 EQ '11'
                AND PERNR  = P0041-PERNR
                AND BEGDA  = P0041-BEGDA.
        DATE1 =  PA0041-DAT01.
        DATE2 = DATE1 + 1.
        RP50D-DATE1 = DATE2.
        EXIT.
      ENDSELECT.
    ENDFORM.       
    and use this in your dynamic action.
    F Z_date(Zget_date)
    W P0041-DAT01=RP50D-DATE2
    Hope this will solve your problem.
    Regards,
    ARU

  • How to integrate a java script date picker with jsf?

    Hi I have a javascript data picker which I want to integrate with a text tield.. that is <jsf:inputtext tag...
    I know about onlclick .. but I am more interested in knowing .. how will the java script set date into that input text field.. i mean how will it recognize the field..

    Pass the input element as 'this' reference to the JS function?onclick="doSomething(this);"This has not much to do with JSF though.

  • 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

  • Looking for a "free" Date Picker

    I'm looking for a free to download and use Date Picker that I can integrate into a small Swing app. Nothing fancy, just a calendar (probably using a JTable) and the ability to select a day of year/month and (possibly) a time of day.
    I'm searching google but they're all commercial licenses and I'm simply building this app as a learning process, not for profit.
    If there's nothing out there, I'll just stick with my series of combo-boxes :)
    Cheers,
    Chris

    Oh yeah, I should point out that I'm not just being lazy. I've spent a while trying to build it myself to no avail. I got as far as displaying the grid :P
    http://www.w3style.co.uk/~d11wtq/datepicker.png (out of date, the days are correct now)
    package org.w3style.calendar;
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.*;
    public class CalendarPanel extends JPanel
         protected CalendarEventController controller = null;
         public CalendarModel model = null;
         //JComponents
         protected JComboBox monthDropdown = null;
         protected JSpinner yearDropdown = null;
         protected JTable grid = null;
         public CalendarPanel(String title)
              super(new GridBagLayout());
              this.model = new CalendarModel();
              this.controller = new CalendarEventController();
              this.controller.setUI(this);
              this.controller.setModel(this.model);
              this.setBorder(BorderFactory.createTitledBorder(title));
              GridBagConstraints c = new GridBagConstraints();
              c.gridx = 0;
              c.gridy = 0;
              c.fill = GridBagConstraints.HORIZONTAL;
              c.anchor = GridBagConstraints.WEST;
              this.addMonths(c);
              c.gridx = 1;
              c.anchor = GridBagConstraints.EAST;
              c.fill = GridBagConstraints.NONE;
              this.addYears(c);
              c.gridx = 0;
              c.gridy = 1;
              c.gridwidth = 2;
              this.addTable(c);
         protected void addMonths(GridBagConstraints c)
              String[] months = this.model.getMonths();
              if (this.monthDropdown == null)
                   this.monthDropdown = new JComboBox(months);
              int monthNow = this.model.getCurrentMonth();
              this.monthDropdown.setSelectedIndex(monthNow);
              this.model.setSelectedMonth(monthNow);
              this.controller.addMonthDropdown(this.monthDropdown);
              this.add(this.monthDropdown, c);
         public JComboBox getMonthDropdown()
              return this.monthDropdown;
         protected void addYears(GridBagConstraints c)
              this.yearDropdown = new JSpinner(this.model.getYearSpinnerModel());
              this.yearDropdown.setEditor(new JSpinner.DateEditor(this.yearDropdown, "yyyy"));
              this.add(this.yearDropdown, c);
         protected void addTable(GridBagConstraints c)
              JPanel box = new JPanel(new GridBagLayout());
              GridBagConstraints myC = new GridBagConstraints();
              myC.gridx = 0;
              myC.gridy = 0;
              this.grid = new JTable(this.model.getTableModel());
              this.configureTable();
              box.add(this.grid.getTableHeader(), myC);
              myC.gridy = 1;
              box.add(this.grid, myC);
              this.add(box, c);
         public void configureTable()
              this.grid.setDragEnabled(false);
              this.grid.getTableHeader().setReorderingAllowed(false);
              this.grid.getTableHeader().setResizingAllowed(false);
              CalendarCellRenderer renderer = new CalendarCellRenderer();
              renderer.setParentUI(this);
              TableColumn col = null;
              for (int i = 0; i < 7; i++)
                   col = this.grid.getColumnModel().getColumn(i);
                   col.setPreferredWidth(25);
                   col.setCellRenderer(renderer);
              this.grid.setSelectionBackground(new Color((float)0.7, (float)0.86, (float)1.0));
              this.grid.setSelectionForeground(Color.black);
              this.grid.setShowGrid(false);
              this.grid.setRowHeight(20);
              if (this.model.getSelectedMonth() == this.monthDropdown.getSelectedIndex())
                   int r = this.model.getSelectedGridRow();
                   this.grid.setRowSelectionInterval(r, r);
                   int c = this.model.getSelectedGridColumn();
                   this.grid.setColumnSelectionInterval(c, c);
         public JTable getGrid()
              return this.grid;
    * Manages the rendering of the cells in the calendar
    package org.w3style.calendar;
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.*;
    import java.awt.event.*;
    * This is just a basic extension of the DefaultTableCellRender from the current L&F
    public class CalendarCellRenderer extends DefaultTableCellRenderer
          * The current row being rendered
         protected int row;
          * The current column being rendered
         protected int col;
          * If this cell is part of the "selected" row
         protected boolean isSelected;
          * The table being rendered
         protected JTable tbl;
         protected CalendarPanel parentUI = null;
         public void setParentUI(CalendarPanel p)
              this.parentUI = p;
          * Fetch the component which renders the cell ordinarily
          * @param JTable The current JTable the cell is in
          * @param Object The value in the cell
          * @param boolean If the cell is in the selected row
          * @param boolean If the cell is in focus
          * @param int The row number of the cell
          * @param int The column number of the cell
          * @return Component
         public Component getTableCellRendererComponent(JTable tbl, Object v, boolean isSelected, boolean isFocused, int row, int col)
              //Store this info for later use
              this.tbl = tbl;
              this.row = row;
              this.col = col;
              this.isSelected = isSelected;
              //and then allow the usual component to be returned
              return super.getTableCellRendererComponent(tbl, v, isSelected, isFocused, row, col);
          * Set the contents of the cell to v
          * @param Object The value to apply to the cell
         protected void setValue(Object v)
              super.setValue(v); //Set the value as requested
              //Set colors dependant upon if the row is selected or not
              if (!this.isSelected) this.setBackground(new Color((float)0.87, (float)0.91, (float)1.0));
              else this.setBackground(new Color((float)0.75, (float)0.78, (float)0.85));
              //Set a special highlight color if this actual cell is focused
              if (this.row == this.tbl.getSelectedRow() && this.col == this.tbl.getSelectedColumn())
                   this.setBackground(new Color((float)0.5, (float)0.80, (float)0.6));
                   this.parentUI.model.setSelectedMonth(this.parentUI.getMonthDropdown().getSelectedIndex());
                   this.parentUI.model.setSelectedGridRow(this.row);
                   this.parentUI.model.setSelectedGridColumn(this.col);
    package org.w3style.calendar;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    import java.util.Date;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.*;
    public class CalendarModel
         protected GregorianCalendar calendar = null;
         protected Integer selectedMonth = null;
         protected Integer selectedYear = null;
         protected Integer selectedGridRow = null;
         protected Integer selectedGridColumn = null;
         String[][] days = null;
         public CalendarModel()
              this.days = new String[6][7];
              this.calendar = new GregorianCalendar();
         public GregorianCalendar getCalendar()
              return this.calendar;
         public String[] getMonths()
              String[] months = {
                   "January", "February", "March", "April", "May", "June",
                   "July", "August", "September", "October", "November", "December" };
              return months;
         public int getDaysInMonth()
              int[] daysInMonths = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
              int month = this.calendar.get(Calendar.MONTH);
              int ret = daysInMonths[month];
              if (month == 1 && this.calendar.isLeapYear(this.calendar.get(Calendar.YEAR))) ret += 1;
              return ret;
         public String[] getDayHeadings()
              String[] headings = { "S", "M", "T", "W", "T", "F", "S" };
              return headings;
         public DefaultTableModel getTableModel()
              String[] headings = this.getDayHeadings();
              Object[][] data = this.getDays();
              DefaultTableModel model = new DefaultTableModel(data, headings) {
                   public boolean isCellEditable(int row, int col)
                        return false;
              return model;
         public SpinnerDateModel getYearSpinnerModel()
              Date now = this.calendar.getTime();
              int year = this.calendar.get(Calendar.YEAR);
              this.calendar.add(Calendar.YEAR, -1000);
              Date earliest = this.calendar.getTime();
              this.calendar.add(Calendar.YEAR, 2000);
              Date latest = this.calendar.getTime();
              this.calendar.set(Calendar.YEAR, year);
              SpinnerDateModel model = new SpinnerDateModel(now, earliest, latest, Calendar.YEAR);
              return model;
         public void setSelectedGridRow(int r)
              this.selectedGridRow = r;
         public Integer getSelectedGridRow()
              return this.selectedGridRow;
         public void setSelectedGridColumn(int c)
              this.selectedGridColumn = c;
         public Integer getSelectedGridColumn()
              return this.selectedGridColumn;
         public int getSelectedMonth()
              return this.selectedMonth;
         public void setSelectedMonth(int m)
              this.selectedMonth = m;
         public String[][] getDays()
              int currDay = this.calendar.get(Calendar.DAY_OF_MONTH);
              this.calendar.set(Calendar.DAY_OF_MONTH, 1);
              int firstDayOfMonthAsDayOfWeek = this.calendar.get(Calendar.DAY_OF_WEEK);
              this.calendar.set(Calendar.DAY_OF_MONTH, currDay);
              int daysInMonth = this.getDaysInMonth();
              int row = 0;
              int key = 0;
              int dayToAdd = 0;
              for (int k = 1; k <= 42; k++)
                   if (k < firstDayOfMonthAsDayOfWeek || dayToAdd >= daysInMonth) this.days[row][key] = "";
                   else
                        dayToAdd++;
                        this.days[row][key] = ""+dayToAdd;
                        //Hack?
                        if (dayToAdd == currDay && this.getSelectedGridRow() == null && this.getSelectedGridColumn() == null)
                             this.setSelectedGridRow(row);
                             this.setSelectedGridColumn(key);
                   key++;
                   if (key == 7)
                        key = 0;
                        row++;
              return this.days;
         public int getCurrentMonth()
              int currentMonth = this.calendar.get(Calendar.MONTH);
              return currentMonth;
         public void setYear(int year)
         public void setMonth(int month)
    package org.w3style.calendar;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    public class CalendarEventController
         protected CalendarPanel ui = null;
         protected CalendarModel model = null;
         public CalendarEventController()
         public void setUI(CalendarPanel cal)
              this.ui = cal;
         public void setModel(CalendarModel m)
              this.model = m;
         public void addMonthDropdown(JComboBox months)
              months.addItemListener(new ItemListener() {
                   public void itemStateChanged(ItemEvent e)
                        if (e.getStateChange() == ItemEvent.SELECTED)
                             int monthSelected = ui.monthDropdown.getSelectedIndex();
                             model.getCalendar().set(Calendar.DAY_OF_MONTH, 1);
                             model.getCalendar().set(Calendar.MONTH, monthSelected);
                             //update days in table model, update ui
                             ui.getGrid().setModel(model.getTableModel());
                             ui.configureTable();
                             ui.getGrid().updateUI();
    }I could have finished it but it was just going to be a buggy mess.

Maybe you are looking for

  • How do I get my Imessages to work with another iphone again after it has stopped working?

    My iphone use to always send imessages with my boyfriend's iphone now it will only send SMS texts, how do I get it back to sending Imessages with iphone? 

  • Daisy chaining

    I don't have the proper cable to connect my camera and computer, so I was hoping there was a way to daisy chain from camera to external hard drive to computer - but when I try to log and capture footage in FCP it doesn't find the camera. Is there som

  • Segment and Accounts Recievable

    dear all,           i have activated document splitting for segment reporting for the co code.the issue is when payments & Reciepts are made in AR/AP system creates two line items for the same invoice for clearing purpose.however our client requires

  • Is it possible in an html to call the objects of a class?

    Hi, Please help me.I have already posted it, but it's very urgent i am in need for an working answer. I am calling an applet class 2 times in a browser.To share some variable i have declared as private static. But when i call these applets are called

  • Copy the data from Sql Server to edirectory using java

    Hi , I am new to e directory.I don't know how it works.Can some one assist me on this ,I have to extract data from SQL Server and update these data in edirectory.This is needs to be done using java. If any one can provide me the sample code or please