Hello,

In my application I have a use case where user search for message,
matching certain criteria.
The application shows a list of messages using a datatable, in which one
column has a commandLink with a target set.
This is done, so that if a user clicks on the link the selected message
gets displayed in an newly opened browser window.
This works fine, except that after the user has read the message and
closes the popupWindow, and selects another message to read an alert
appears stating:
"Window has been locked"

The code of my page looks like:
        

<t:dataTable 
        id="messageList"
        value="#{messageSearchBean.foundMessages}" var="message" >

        <t:column >
                <f:facet name="header">
                        <h:outputText value="${bundle.lblSubject}"/>   
                </f:facet>
                <h:commandLink 
                        action="#{messageSearchBean.select}" 
                        immediate="true"
                        value="#{message.subject}"
                        target="readMessageWindow">
                        <t:updateActionListener
property="#{messageEditBean.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.

Did anybody encounter this same behaviour? Is this behaviour conform
JSR-spec of is it MyFaces specific and if the latter: Is there a
work-araound available?

Any suggestions how how I could unlocked my window are greatly
appreciated.

With kind regards,
        Marco


------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD
and in Japan, as Banyu - direct contact information for affiliates is 
available at http://www.merck.com/contact/contacts.html) that may be 
confidential, proprietary copyrighted and/or legally privileged. It is 
intended solely for the use of the individual or entity named on this 
message. If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then 
delete it from your system.

------------------------------------------------------------------------------

Reply via email to