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

        Michael Thiem created issue -
        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
        Michael Thiem made changes -
        Field Original Value New Value
        Attachment Test_Framesets.war [ 10903 ]
        Hide
        Michael Thiem added a comment -

        source code

        Show
        Michael Thiem added a comment - source code
        Michael Thiem made changes -
        Attachment Test_Framesets.zip [ 10904 ]
        Ken Fyten made changes -
        Fix Version/s 1.7.1 [ 10122 ]
        Assignee Priority P2
        Assignee Adnan Durrani [ adnan.durrani ]
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Ken Fyten made changes -
        Assignee Adnan Durrani [ adnan.durrani ] Mircea Toma [ mircea.toma ]
        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.
        Mircea Toma made changes -
        Workaround Description Modify frame's location dynamically. In menu.jspx do:
        .....
        <a href="#" onclick="window.parent.frames['f1'].location = './contact.iface'">
           New Contact
        </a>
        .....
        Michael Thiem made changes -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16541 Tue Apr 29 12:17:50 MDT 2008 mircea.toma Define new variable when iterating over object properties.
        ICE-2939
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/command.js
        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.
        Mircea Toma made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16609 Thu May 08 15:31:07 MDT 2008 mircea.toma Backport fixes for ICE-2939
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/command.js
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Assignee Mircea Toma [ mircea.toma ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: