Thursday, 25 April 2013

Fixing date field Jumbing in Siebel open UI

There might be some issue with date input field. We need to edit the css files to fix this problem.
I got the same problem in vanila SRF also.

Above image is before selecting/clicking calender Icon

After clicking calender icon. You can see its length is increased.


To solve this probelm, go to
theme-base.css file in your "files" folder.

.mceGridField input.siebui-input-popup {
        max-width: 119px;
    }

Here   max-width: 119px is given as our input filed. If you need more than this width, you can alter this.




7 comments :

  1. Hi, We recently upgraded to 8.1.1.10 + QF from a 8.1.1.9 and we're experiencing some error with the date format (DD/MM/YYYY), whenever an applet uses that format it throws this error:

    [2]The value '17-Dec-2012' cannot be converted to a date time value.(SBL-DAT-00359)

    But when remove the formatting, that brings it back to MM/DD/YYYY format, everything works fine.

    Have you encountered this before?

    ReplyDelete
    Replies
    1. If you need DD/MM/YYYY format, you just display Date like this in UI. But Siebel expecting MM/DD/YYYY format. So tkae care of conversion, before write record.

      Delete
    2. Thanks Prasanth, actually the display format was just set in the applet control, so it's just on the UI level.

      One behavior I also notice is that when you write the date instead of using the calendar icon of the field, it still throws an error similar to above, but eventually writes it in the DB. I was looking at the applet.js and listapplet.js as it has some date formatting going on there, but so far tweaking it didn't help.

      Appreciate your inputs!

      Delete
    3. What i understand is your data is saved in DB, but UI throws some error. So you need to suppress this error. Can you please give me your error in that alert.

      Delete
  2. here's the sample of the error message:

    [1]Wrong field values or value types detected in field Issue Date. Please re-enter your field values. If you need additional assistance, please refer to the documentation.(SBL-UIF-00299)[2]The value '30-Jun-2013' cannot be converted to a date time value.(SBL-DAT-00359)

    ReplyDelete
  3. Wrong field values or value types detected in field Date of Birth. Please re-enter your field values. If you need additional assistance, please refer to the documentation. my birthdate is MAY 23 1988

    ReplyDelete
  4. Wrong field values or value types detected in field Date of Birth. Please re-enter your field values. If you need additional assistance, please refer to the documentation.MY BIRTHDATE MAY 23 1988

    ReplyDelete