Details
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="#
" var="message" >
<t:column >
<h:commandLink
action="#
"
immediate="true"
value="#
"
target="readMessageWindow">
<t:updateActionListener property="#
" 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.