Date Chooser component

I have a couple of questions about this component.
First ...is it possible to style different days on the date
chooser. For instance I would like to have days before today's date
as disabled but I also want to do something like
disabledRanges="{[new Date(2007,11,11),new
Date(2007,11,12)]} " disabledColor="#FF0000"
but I don't want all all the days before today colored red
just those in the disabledRange. Also on this topic I am presuming
that I can load the disabledRanges array using Ajax??
Secondly..I am trying to use the
allowMultipleSelection="true". Does this only work if you hold down
the shift key on the keyboard as I would like users to be able to
just click on a number of dates to select them all. And further on
this topic..how do I get the selected values when using
allowMultipleSelection="true". I have tried using the following
change="displayDate(DateChooser(event.target).selectedDate)"
and the function
private function displayDate(date:Date):void {
var alldates:Array=new Array();
if (date == null)
selection.text = "Date selected: ";
else
var thedates:String = date.getFullYear().toString() +
'/' + (date.getMonth()+1).toString() + '/' + date.getDate();
alldates.push( thedates );
trace(alldates);
but get nothing?
What is the best way to get the multiple values?

Hi,
Read this thread as it will give you some ideas about handling dates
http://forums.adobe.com/thread/508729
David.

Similar Messages

  • Date chooser day and date not selectable

    Hello,
    Anyone knows how to make the day and date not selectable in
    the datefield or date chooser component???
    It is possible to make any one day not available, but what i
    need is only a single day not selectable..
    For example, i can make every tuesdays of a month not
    selectable But, i need to make for example the Tuesday 3rd only Not
    selectable
    Any help will be greatly appreciated.
    Cordially.
    Gerard.

    Welcome to Apple Discussions
    I believe the problem is that you have US formats for dates. Select the cells/columns that you want your date format to apply to then click the cell format inspector (the 42 in a box icon) & choose Custom… from the cell format drop-down. You will be presented with a box that allows you to make your own format. Click & hold on any of the little "lozenges" in the input bar & move them around. You may need to add a space to get the proper result.

  • Date chooser

    Hi...
    Can you recommend a date choosing component for swing please?.
    I need a free Swing component that let the user select easily a date, and optionally a time.
    When you search for a specialized component, often there are a bunch of them, but only one or two are the top preferred or the most popular.
    Do you know which is the most popular free date chooser for swing?
    Thank you.

    hi JoseLuis,
    please go thru the following links and select one most suited for you.
    [JCalendar from Toedter.com|http://www.toedter.com/en/jcalendar/]
    [JCalendar from dev.java.net|https://jcalendar.dev.java.net/]
    [JCalendar from FLIB|http://flib.sourceforge.net/JCalendar/doc/index.html]
    [JCalendar 1.5 from zfqjava.com|http://www.zfqjava.com/docs-calendar.html]
    let me know the result
    sunil

  • Unable to find data visualization component in JDEV 11g Preview 4

    we have installed jdev11g preview 4 and we are unable to find ADF data visualization component.
    Is there anyway we could add this component.
    Thanks in Advance
    Sabir

    Hi,
    in the component palette (while having an ADF Faces page open), right click and then choose "Edit Libraries" from the context menu. Choose the DVT libraries and toggle them to the selected libraries. The DVT components should show now
    Frank

  • Date chooser won't show - _dfs undefined error

    My date chooser that comes with a adf core ChooseDate component doesn't display it's popup calendar when a user clicks on the little button. This happens when I make all ChooseDate components on my page use my custom converter. The error message that I get (with some digging) is that '_dfs is not defined'.
    From my own digging, I see that the error is a JSF error and that the _dfs should have been defined in javascript. In my case the javascript is being created by ADF as part of the page building process.
    Why does that variable not get defined when I use a custom date converter?
    What do I have to do to make sure that my date choosing popup calendar appears?
    I'm working with JDeveloper 10.1.3.3 on Windows.

    Satya,
    JDeveloper 10.1.3.4.0 is not available yet, so the fix is certainly not available in ATG rup 5
    If you still require more information about this fix in OAF, please ask it at the right place, in the OAF Forum (OA Framework
    Regards,
    Didier.

  • Date chooser. Anyone know of one?

    I am looking for a date chooser. I saw a component
    for C/C++ that looks like a calendar and the user can
    choose a date from the calendar. Has anyone seen
    such a critter for Java?

    I tried. It's good
    http://www.singleton-labs.com/mdate.html

  • Custom SSIS Data Flow Component Not Showing in Toolbox or GAC

    Hello - I have created a very simple data flow component for SSIS (Actually, I am following this example:  http://www.microsoft.com/downloads/details.aspx?familyid=1C2A7DD2-3EC3-4641-9407-A5A337BEA7D3&displaylang=en).
     However, when I register the DLL to the GAC, I am unable to find the assembly in C:\Windows\Assembly - even though the GACUTIL says "Assembly Registered Successfully".  Furthermore, after copying the DLL to the PipelineComponents folder for SSIS
    (C:\Program Files (x86)\Microsoft SQL Server\100\DTS\PipelineComponents), it does not show in the "Choose Items . . ." dialog box of SSIS.  
    I am running SQL Server 2008 Dev edition, Visual Studio 2010 with .NET 4.0, and Windows 7 Enterprise 64-bit edition.  Any assistance/thoughts would be appreciated.
    Thanks!

    Hi,
    I was struggling with exactly the same problem yesterday.. created a component in VS 2010 (.NET 4.0), registered the component using GACUtil with no error, but not being able to find the component in the cache directory nor in the SSIS toolbox...
    I spend several hour trying to find out whats going on. Then I tried to run the GACUtil from a dos batch file - and an error appeared saying that I am trying to register assebly .NET 4.0 on a computer that runs 3.5.. Then changed the target framework
    in VS 2010 to 3.5, rebuild the project and voila- the component finally appeared in the toolbox list...
    this is the batch i used to register assembly:
    REM Unregister and re-register the assembly on the GAC
    "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\gacutil" /u ChangeCase
    "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\gacutil" /i "C:\Program Files\Microsoft SQL Server\100\DTS\PipelineComponents\ChangeCase.dll"
    pause
    this batch will show the list of assemblies in the GAC:
    "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\gacutil" /l > gacListing.txt
    hope this helps...
    Frank

  • Not able pass the data from component to other component.

    Hello All
    I am not able pass the data from component to other component.
    I have done like this.
    1 Main Component (Parent component ) having below  two child components.Embeded as used components.
    2)     Search Component  and Details Component
    3)     In the Search Component having buttons,  Say : Button u201CXu201D on click of button I am navigating to Details component view through FPM.
    4)     When I am clicking above button u201CXu201D raising the event to call the parent   business logic method, there I am getting  Structure with values and binded this structure to the node and Mapped this node to the Details component  interface node. FYI : I kept the debugging point Structure is having data , I had set static attributes table to node instance.
    5)     In the Details component node data is not coming mean empty.
    Thanks in Advance.
    Br-
    CW
    Edited by: CarlinWilliams on Jul 4, 2011 9:21 AM

    Hi,
    When you use input Ext. check that the parent component should not be used as used component in child component.
    Only in the parent component the child components should be used as used components and the usage has to be created for the
    Child Components and the binding of the Node should be done from comp. controller of parent component to child node
    by which you will be able to see double arrow against the node.This should work
    Thanks,
    Shailaja Ainala.

  • Reqment date of component in PR is not matching with reqment date in PO

    Hello All,
    Our process is u2013 After converting the planned order to subcontracting
    Purchase requisition (PR) we are again changing the PR for release date
    (We are changing the PR release date) and system automatically copies
    (changes) the same date to the component requirement date.
    After PR release we are creating the subcontracting Purchase order (PO)
    with reference to this PR but the requirement date of the components in
    PO is not marching with the requirement date of the components in PR.
    It should be same
    For example u2013  I have Created subcontracting PR from planned order
    Delivery date in PR for SFG (main item) - 14.07.2010
    Plan delivery time - 10 days
    Release date in PR - 03.07.2010
    Requirements Date for the Component - 03.07.2010
    Now I have changed the PR release date to 29.06.2010 manually and it
    changes the requirement date for the components same as 29.06.2010
    But when I am converting PR to PO it is showing the component
    requirement date as 14.07.2010
    System should copy the requirement date in component from PR to
    PO.
    Purchasing proc.time is maintained as - 0 Days
    Regards,

    Hi Chakrapani,
    For other client it is working fine, but for my client it is not working.
    Regards,

  • Three levels hierarachy - hierarchy viewer data visualization component

    I am not getting the third level when i am using the hierarchy viewer....any pointers will be a great help
    Edited by: Deepak Subramanian on Jan 22, 2010 5:34 AM

    oops sorry if i sounded vague....
    using jdev version 11g
    well I am trying to use the hierarchy viewer data visualization component to create a hierarchy which shows the managers and employees below them.
    am using a single query based VO which has two columns manager and employee.
    then created a self view link with that vo
    the data control looks something like
    manager(first level)
    ----manager or employee(first level)
    ---------employee(third level)
    I am dragging entire data control on the page so that the create hierarchy viewer option appears.
    from there I am stuck...
    when I am running the page, I am getting just two levels...the last level is not showing up :(.....
    Edited by: Deepak Subramanian on Jan 22, 2010 5:35 AM

  • Jsf data table component + print null cell

    I am using the jsf data table component and binding the column values to a backing bean.
    <h:dataTable binding="#{backing_showDifferences.dataTable2}"
    id="dataTable2">
    <h:column binding="#{backing_showDifferences.userColumn1}"/>
    <h:column binding="#{backing_showDifferences.userColumn2}"/>
    <h:column binding="#{backing_showDifferences.userColumn3}"/>
    </h:dataTable>
    - some code from my showDifferences.java
    HtmlOutputText column1Text = new HtmlOutputText();
    vb =
    FacesContext.getCurrentInstance().getApplication().createValueBinding("#{users.uclass}");
    column1Text.setValueBinding("value", vb);
    usercolumn1.getChildren().add(column1Text);
    HtmlOutputText column2Text = new HtmlOutputText();
    vb =
    FacesContext.getCurrentInstance().getApplication().createValueBinding("#{users.ue1}");
    column2Text.setValueBinding("value", vb);
    usercolumn2.getChildren().add(column2Text);
    HtmlOutputText column3Text = new HtmlOutputText();
    vb =
    FacesContext.getCurrentInstance().getApplication().createValueBinding("#{users.ue2}");
    column3Text.setValueBinding("value", vb);
    usercolumn3.getChildren().add(column3Text);
    ResultSetDataModel dataModel = new ResultSetDataModel();
    dataModel.setWrappedData(rs);
    dataTable2.setValue(dataModel);
    The raw HTML:
    <table id="form1:dataTable2" class="iuptable" border="1">
    <thead>
    <tr>
    <th scope="col">Heading 1</th>
    <th scope="col">Heading 2</th>
    <th scope="col">Heading3</th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td>some data in this column</td>
    <td>X</td>
    <td></td>
    </tr>
    <tr>
    <td>Some more data in this row</td>
    <td>X</td>
    <td></td>
    </tr>
    </tbody>
    </table>
    My problem is this...in the raw HTML the <td></td> tag is not formatted nicely on my table output. I have lines around my entire table and each cell within it. When the <td></td> prints there are no lines. I am new to the JSF table data component, but if I were writing some JSP or servlet code I would check that if value was null I would append an &nbsp to the <td> tag (ex. <td>&nbsp</td>) and the table would be formatted properly. The backing bean that I am binding to is pulling the data from a database table...so my sql looks like this:
    SELECT uclass, ue1, ue2 from table1; my problem is when ue1 or ue2 is a null value.
    Any ideas would be greatly appreciated!

    Hi,
    the h:dataTable belongs to the JSF Reference Implementation from Sun, not to Oracle ADF Faces. The rendering is within this component set and I suggest to report your issue on one of the SUN forums (http://forum.java.sun.com/forum.jspa?forumID=427) as we have no handle to e.g. fix an issue if it exists in the component set.
    Frank

  • Help on Date Chooser Control

    Hi Friends,
    I am working on a flex application in which it has a calander
    (Date chooser) control
    in database I have a status for each week, as A, B or C. when
    it comes to the flex part I have to highlight a week on date
    chooser control in Red Color if the status A and blue if the status
    is B and green color if the status is C.
    Is it possible to do in flex, if so please suggest me in
    doing that
    Thanks in advance
    Rajeev

    Having same problem on two different iPods with two different computers here since last update. Am having to manually change date and time after each sync (very annoying) am hoping it will be fixed soon.Both computers are set with correct date and time and iPods are both reverting back to a date in October (I think)

  • How can I use FK description in a BC4J data query component?

    Hi all,
    I am facing the following problem.
    Although I use renderers in the DataEdit component for displaying the descriptions of the FKs this is not useful for the BC4J data query components.
    How can I get the same functionality as in the dataEdit components?
    Thanks in advance,
    Aggelos

    Anfortunately,
    This is not the same when I have a DataQuery component.
    The question now becomes as following:
    How can I use FK description in a BC4J data query component?
    Thanks in advance
    Aggelos

  • File Chooser Component for JavaFX not available?

    Is there a way to have a “File Chooser Component” for JavaFX Applications?
    Netbeans IDE offers a “Palette Swing Windows” Components, displays such item, but I am unable to put it into my FX Script.
    Any workaround? or miss I a anything?
    I want to pickup any sourcefile: "{__DIR__}sound/{soundName}" from local disc and run it on a Mediaplayer

    import javax.swing.filechooser.FileFilter;
    * @author Pawel
    public class OpenFileFilter extends FileFilter {
        override public function getDescription() : String {
            return "all movies";
        override public function accept(f: java.io.File) : Boolean {
            return f.isDirectory()
                or f.getName().endsWith(".avi")
                or f.getName().endsWith(".mov")
                or f.getName().endsWith(".flv");
    import java.awt.SystemTray;
    import java.awt.TrayIcon;
    import java.awt.Toolkit;
    import java.awt.PopupMenu;
    import java.awt.MenuItem;
    import java.awt.AWTException;
    import java.lang.System;
    var stage : Stage = Stage {
        title: "JavaWars"
        width: 800
        height: 600
        scene: scene,
        style: StageStyle.TRANSPARENT,
        extensions: [
            AppletStageExtension {
                shouldDragStart: function(e): Boolean {
                    return inBrowser and e.primaryButtonDown and header.hover;
                onDragStarted: function() {
                    inBrowser = false;
                    addTray();
                onAppletRestored: function() {
                    inBrowser = true;
                    removeTray();
                useDefaultClose: true
    var trayIcon : TrayIcon;
    function addTray() : Void{
        if(SystemTray.isSupported()) {
            var tray : SystemTray  = SystemTray.getSystemTray();
            var image : java.awt.Image = Toolkit.getDefaultToolkit().getImage("{__DIR__}resources/images/trayicon.png");
            var popup : PopupMenu = new PopupMenu();
            var item : MenuItem = new MenuItem("Zako&#324;cz");
            item.addActionListener(ActionListener{
                override public function actionPerformed(e : ActionEvent): Void {
                    var tray : SystemTray  = SystemTray.getSystemTray();
                    tray.remove(trayIcon);
                    stage.close();
            popup.add(item);
            trayIcon = new TrayIcon(image, "kliknij prawym, aby zamkna&#263; aplikacj&#281;", popup);
            try {
                tray.add(trayIcon);
            } catch (e : AWTException) {
                System.err.println("Can't add to tray");
        } else {
            System.err.println("Tray unavailable");
    function removeTray() : Void{
        if(SystemTray.isSupported()) {
            var tray : SystemTray  = SystemTray.getSystemTray();
            try {
                tray.remove(trayIcon);
            } catch (e : AWTException) {
                System.err.println("Can't remove tryicon");
    }

  • How do I move focus from date chooser bean to JTable?

    Here's the scenario:
    I have a panel containing a date chooser bean which is in the north of my main frame.
    I have a JTable (inside a scroll pane) which is in the center of my main frame.
    The table (through it's table model) is a registered listener of the date chooser so that when the date is changed, the table gets refreshed.
    Problem I have is that AFTER the table gets refreshed, I want focus to go to the table and, specifically, have the first row high-lighted. I haven't been able to figure out how to do this.

    The table (through it's table model) is a registered listener of the date chooser so that when the date is changed, the table gets refreshed.I don't really understand this. A table can have many rows and many columns, so how do you know which cell of the table is updated?
    I want focus to go to the table and, specifically, table.requestFocusInWindow();
    have the first row high-lightedtable.changeSelection(...);

Maybe you are looking for

  • How do i get an image to display????

    this is some code that i have developed to try to get an image to display. i realize that the arrays for images and sources aren't needed but i want to provide room for when i animate things. but i need to get them to display first. what am i doing w

  • How can I tell what app makes up the "usage"?

    Under General Settings, you have the option to view usage. How can I tell what app is using that "usage"? It is not data, just time active.

  • ECC 5.0 Upgrade

    Hi, We are upgrading from 4.6B to ECC 5.0. We are facing the following problem: In the module pool SAPMV45A (Sales Order Processing), the following 4 includes were the additions in ECC 5.0 when compared to 4.6 B.  INCLUDE MV45A_DPBP_SUBSCR_SETO01.   

  • "ImageList1.Images.Item(#) = ImageList2.Images.Item(#)" produces "index" error. Help.

    I have two ListViews, displaying the contents of two ImageLists ("ImageList1" & "ImageList2"): (mockup) The goal: User checks a box on the left AND a box on the right, replacing the right-checked image with the one on the left. My code: ImageList1.Im

  • Missing com.crystaldecisions.sdk.framework directory and classes

    Hello, I installed crystal report server 2008 and Iu2019m missing the directory and classes in "com.crystaldecisions.sdk.framework" on the webreporting.jar package. Does anyone know why? Or does anyone know where I can get the complete webreporting.j