Tapestry
  1. Tapestry
  2. TAPESTRY-811

Palette javascript not compatible with ajax requests

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.1
    • Component/s: Contrib
    • Labels:
      None
    • Environment:
      ajax request/response

      Description

      The scoping of variables used by the Palette scripts prevents their resolution when the scope changes because of ajax interactions. A fix would be to specify a clear scope on a couple of the key variables via the use of document.<variable name> = instead of <variable name> = .

        Activity

        Hide
        Jesse Kuhnert added a comment -

        Refactored PaletteFunctions.js to attach functions to core tapestry object using tapestry.palette.<functionName> type semantics. Also deprecated and provided backwards compatible versions of the old functions in case anyone is using them.

        Show
        Jesse Kuhnert added a comment - Refactored PaletteFunctions.js to attach functions to core tapestry object using tapestry.palette.<functionName> type semantics. Also deprecated and provided backwards compatible versions of the old functions in case anyone is using them.

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Jesse Kuhnert
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development