IBM Support

IY95037: UNABLE TO SWITCH BETWEEN THIN/THICK CLIENT IN CUSTOM CANVASES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Short description
    ESR: RAD GUI - Unable to switch between thin/thick client  in
    custom
    canvases - additional browser window opens when selecting Viewer
    Preferences toolbar button.
    .
    
    
    
    
    
    On the Customer's  Applications Dashboard tab, I changed the
    custom URL for
    the Service Viewer for BSM viewpoint from:
    /sla/av/ServeViewerApplet?CanvasTemplate=Infrastructure&ServiceT
    ypeID=1&
    ServiceInstanceID=136&treeTemplate=Infrastructure
    
    to:
    /sla/rad/standalone_serviceviewer.jsp?ServiceInstanceID=136
    
    I then got a screen that had no canvas and just the blank.html
    file that
    loaded. A code change needs to be made for this to work.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All RAD 3.0 Users.                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: If one adds an iframe viewpoint to a    *
    *                      custom page and changes the URL to      *
    *                      show the service viewer using a         *
    *                      custom URL such as: /sla/av/            *
    *                      ServeViewerApplet?                      *
    *                      CanvasTemplate=BSM&ServiceTypeID=1      *
    *                      &ServiceInstanceID=136&                 *
    *                      treeTemplate=BSM                        *
    *                      To view the service viewer with a       *
    *                      default starting ServiceInstanceID      *
    *                      and a default custom canvas. If one     *
    *                      tries to switch to either thin or       *
    *                      full client, a new window pops up       *
    *                      with either thin or thick client        *
    *                      being displayed instead of seeing the   *
    *                      switch within the current iframe.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The ServeViewerApplet is looking for the parent window to load
    the thick or thin client. Since the iframe is loading a custom
    URL and not an actual service viewer, it defaults to opening a
    new window. If using the standalone_serviceviewer.jsp and
    providing the ServiceInstanceID to show the starting instance,
    the code doesn't look at the current window for the
    parameters. It looks at top.window.location which doesn't work
    because the iframe is within another container which is
    considered the top window. The location of that window will
    not contain the parameter ServiceInstanceID, the current
    iframe's location has the parameter. Also, there was no way to
    specify the CanvasTemplate. It would always load the
    Relationships canvas template as the default.
    

Problem conclusion

  • Will change standalone_serviceviewer.jsp. The function
    loadDefaultCanvas
    idx1 will be looking for location.href instead of
    top.location.href
    Adding a var canvasTemp to hold the parameter for the Canvas
    template specified by the user
    Going to check for the CanvasTemp parameter being set by the
    user
    If the ServiceInstanceID is set, the condition will check for
    the CanvasTemplate being set as well
    If the CanvasTemplate is set, set the global var canvTemp
    If not, just call the updateServiceView function (either way
    the updateServiceView function will be called)
    A change in the showInstanceGraphicalView function will be
    made as well to incorporate the changes of setting the
    CanvasTemplate parameter in the URL.
    Added a condition to check whether the var canvTemp is set
    if so, set the location of the frame to the custom URL to
    include the CanvasTemplate parameter
    Also, set the appletLocation var to the new custom URL that
    includes the CanvasTemplate parameter.
    
    The fix for this APAR is included in the following maintenance
    package:
      |Interim fix| 3.0.0.1-TIV-RAD-IF0001
    

Temporary fix

Comments

APAR Information

  • APAR number

    IY95037

  • Reported component name

    NC/RAD SERVER

  • Reported component ID

    5724O6200

  • Reported release

    300

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-02-16

  • Closed date

    2007-05-31

  • Last modified date

    2010-08-31

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    NC/RAD SERVER

  • Fixed component ID

    5724O6200

Applicable component levels

  • R200 PSN

       UP

  • R300 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCP7JS","label":"Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"300","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
31 August 2010