Announcement

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

    ListGrid booleanTrueImage not evaluating the same when upgrading SmartClient

    Am upgrading from 7.0rc2 (built 2009-05-30) to v10.0p_2015-09-03/LGPL Deployment (built 2015-09-03) without making any code changes. ListGrid.create attributes include:
    canEdit: false,
    selectionType: "single",
    alternateRecordStyles: true,
    booleanFalseImage: null,
    booleanTrueImage: "[APP]img/check.png".
    True case is not resolving to the custom image as before:
    For v7, when false, resolves to: <img src="http://[baseURL]/isomorphic/skins/TreeFrog/images/blank.gif"; when true: ><img src="http://[baseURL+appPath]/img/check.png" (using DOM Inspector)
    For v10, when false, resolves to: background-image:url(&quot;http://&#91;baseURL]/isomorphic/skins/Tr...nk.gif&quot;); true resolves to: background-image: url(&quot;http://[baseURL+appPath]/img/check_Disabled.png&quot;)
    Problem seems to be "_Disabled" appended to image reference. How do I correct this?

    #2
    check_Disabled is a valid state meaning that the checkbox appears disabled because the user cannot change it.

    Comment


      #3
      So there's been a change to the functionality where the name of a custom image is modified to insert "_Disabled" in the filename? This seems like a bug, possibly due to the filename "check" being a reserved name. Please clarify. I can workaround this by copying/renaming the image, but that seems like a kludge.

      Comment


        #4
        Where exactly are you seeing this? We need to see runnable sample code where this is happening with a stock skin (no application-specific modifications).

        Comment


          #5
          I resolved this by creating a copy of check.png as check_Disabled.png since it is an expected filename.

          Comment

          Working...
          X