Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1526

Window remains locked with commandLink with target-attribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.1.3
    • 1.1.3
    • General
    • None
    • Server: Windows XP, Java 1.5.0_07, Tomcat 5.5.12, MyFaces 1.1.3
      Client: Windows XP, IE 6

    Description

      I'm my application I use a t:datatable to render a table of links.
      The commandLinks have a target-attribute to open a the next page in a new window.

      This works fine, except that after the user has links on a link and thereafter closes the opened window, the parent window is still locked.
      Clicking on any other link results in an alter stating: "Window has been locked"

      The code of my page looks like:

      <t:dataTable
      id="messageList"
      value="#

      {messageSearchBean.foundMessages}

      " var="message" >
      <t:column >
      <h:commandLink
      action="#

      {messageSearchBean.select}

      "
      immediate="true"
      value="#

      {message.subject}

      "
      target="readMessageWindow">
      <t:updateActionListener property="#

      {messageDisplayBean.message}

      " value="#

      {message}

      " />
      </h:commandLink>
      </t:column>
      </t:dataTable>

      I assume the locking of the window has been build in to prevent double submits, which it does quite nicely, but is an annoyance for my use case.
      I think the locking of the window should not be done when a commandLink has a target attribute or the newly opened window should 'unlock' it's parent onLoad.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mcbeelen Marco Beelen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: