Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Date Picker problems (no icon)

    Hi, i'm having some date picker problems on the following version
    SmartClient_SC_SNAPSHOT-2010-08-28_LGPL

    here is the JS:
    isc.DynamicForm.create({
    ID: "newOrderForm",
    width: "100%",
    fields: [
    {
    name: "entryDate",
    title: "Entry Date",
    type: "date",
    useTextField: "true"
    }
    ]
    }

    1. the date picker icon/image is not displaying. viewing the image url it refers to this:
    http://localhost/isomorphic/skins/TreeFrog/images/controls/date_control.png
    shouldn't it be gif instead of png?

    2. when i choose a date, it displays what i chose:
    08/29/2010
    but sends out a different thing:
    2010-08-28T16:00:00
    how do i have it send what it displays, or how do i convert what it sends (server side) to what was originally picked?

    #2
    Which skin are you using? I'm having the same problem:

    http://forums.smartclient.com/showthread.php?t=11585

    I think the skins in this jar are deprecated, and you will see more missing images in the future. I'm trying to verify that but haven't got any response yet.

    Comment


      #3
      TreeFrog as indicated above. But it does appear in other skins as well.

      quick fix:
      a. make a png version of the image
      b. or edit load_skin.js and change all occurrences of date_control.png
      to date_control.gif

      for b, i don't know the implications for the disabled, down, over versions of the image.
      Last edited by merl429; 29 Aug 2010, 07:47.

      Comment


        #4
        I had the same problem in the latest snapshot of SC8 GPL.

        I just created another copy of the same file with a png extension, and it worked fine.

        Not a huge problem, but I hope they fix it in the next snapshot.

        Mike

        Comment


          #5
          The missing media was added in mid-September. It is in the latest snapshots. In fact, both the .gif and .png images are there.

          Comment

          Working...
          X