Announcement

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

    #16
    Yes, 2.2 is very old, go ahead and upgrade to a nightly.

    Comment


      #17
      Originally posted by Isomorphic
      Yes, 2.2 is very old, go ahead and upgrade to a nightly.
      I've upgraded to the latest but the issue is still there same thing.

      Is it possible that you can send me a small test case of the bare minimum and the data your entering so I can test it with the exact same case?

      The testcase I submitted also had the same issue.

      More information:
      I'm running this from MyEclipse IDE in development mode, browser is FF 3.6.12

      Comment


        #18
        Ok we see the problem.
        If you replace this:

        Code:
        Object start = startKeycodeDate.getValue();
        if(start != null) {
            tmp.setAttribute("startdt", start);
        }
        with this:
        Code:
        Date start = (Date) startKeycodeDate.getValue();
        if(start != null) {
            tmp.setAttribute("startdt", start);
        }
        (for both start and end, obviously), the problem goes away.
        Basically you need to call ListGridRecord.setAttribute(String attr, Date value);, not ListGridRecord.setAttribute(String attr, Object value);

        Comment


          #19
          Originally posted by Isomorphic
          Ok we see the problem.
          If you replace this:

          Code:
          Object start = startKeycodeDate.getValue();
          if(start != null) {
              tmp.setAttribute("startdt", start);
          }
          with this:
          Code:
          Date start = (Date) startKeycodeDate.getValue();
          if(start != null) {
              tmp.setAttribute("startdt", start);
          }
          (for both start and end, obviously), the problem goes away.
          Basically you need to call ListGridRecord.setAttribute(String attr, Date value);, not ListGridRecord.setAttribute(String attr, Object value);

          This worked thank you!

          Comment

          Working...
          X