Jetspeed 2
  1. Jetspeed 2
  2. JS2-696

Creating actionURLs on the desktop with javascript: tags in them fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.1.2
    • Component/s: Desktop
    • Labels:
      None

      Description

      Creating actionURLs on the desktop with javascript: tags in them fails
      Need to provide the ability to obtain a portlet-url for the insertion into javascrpt
      the current implementation always assumes an "HREF" context

        Activity

        Hide
        Steve Milek added a comment -

        Removed the whole javascript: mess and made createActionURL and createRenderURL return normal URLs. The desktop javascript code is then responsibile for locating these URLs in the content and making adjustments so that associated requests are ajax requests managed by the desktop. The big improvement is about what happens when the desktop javascript code fails to find one of these URLs. If any of these URLs is requested outside of the desktop javascript code, the request will function propertly as a page-level navigation (i.e. if URL is not requested by desktop via ajax it will work properly as a page-level navigation).

        Show
        Steve Milek added a comment - Removed the whole javascript: mess and made createActionURL and createRenderURL return normal URLs. The desktop javascript code is then responsibile for locating these URLs in the content and making adjustments so that associated requests are ajax requests managed by the desktop. The big improvement is about what happens when the desktop javascript code fails to find one of these URLs. If any of these URLs is requested outside of the desktop javascript code, the request will function propertly as a page-level navigation (i.e. if URL is not requested by desktop via ajax it will work properly as a page-level navigation).

          People

          • Assignee:
            Steve Milek
            Reporter:
            David Sean Taylor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development