ICEfaces
  1. ICEfaces
  2. ICE-2939

ice:outputLink opens a new window in IE instead of showing content in frame

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7Beta1, 1.7RC1
    • Fix Version/s: 1.7.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      any
    • Workaround Description:
      Hide
      Modify frame's location dynamically. In menu.jspx do:
      .....
      <a href="#" onclick="window.parent.frames['f1'].location = './contact.iface'">
         New Contact
      </a>
      .....
      Show
      Modify frame's location dynamically. In menu.jspx do: ..... <a href="#" onclick="window.parent.frames['f1'].location = './contact.iface'">    New Contact </a> .....

      Description

      the following use case can be reproduced by the attached demo application:

      1. Click the "New Contact" link in the left frame.
      2. The input page is displayed in the right frame.
      3. Fill in the first name and last name
      4. Then click the "Submit" button.
      5. The submitted data will be displayed in the right frame.
      6. Then click the "New Contact" link again. This time the input page is not displayed in the right frame. Instead it is displayed in a new window.

        Activity

        Hide
        Michael Thiem added a comment -

        tested on tomcat 5.5 and IE

        Show
        Michael Thiem added a comment - tested on tomcat 5.5 and IE
        Hide
        Michael Thiem added a comment -

        source code

        Show
        Michael Thiem added a comment - source code
        Hide
        Mircea Toma added a comment -

        A workaround would be to use Javascript to modify frame's location. It looks like if the frame was modified dynamically IE loses the reference to it.

        Show
        Mircea Toma added a comment - A workaround would be to use Javascript to modify frame's location. It looks like if the frame was modified dynamically IE loses the reference to it.
        Hide
        Mircea Toma added a comment -

        Define new variable when iterating over object properties to avoid overwriting the 'name ' variable which normally is bound to the window object.

        Show
        Mircea Toma added a comment - Define new variable when iterating over object properties to avoid overwriting the 'name ' variable which normally is bound to the window object.

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Thiem
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: