[
https://issues.apache.org/jira/browse/TRINIDAD-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785944#action_12785944
]
Markus Krätzig commented on TRINIDAD-1171:
------------------------------------------
I guess the reason for the blocking is the following:
Taking off _doPprStartBlocking from the current thread via
a0._pprTimeoutFunc=a0.setTimeout("_doPprStartBlocking(window);",1);
in function _pprStartBlocking leads in function _submitPartialChange to the
situation
where
_pprStartBlocking(window);
var a3=submitForm(a0,a1,a2,true);
_pprStopBlocking(window);
is not called in the order expected, instead, startBlocking is called after
stopBlocking due
to the timeout. The only way to release the blocking is then via
_pprConsumeClick, for which the user
must click outside the body area.
The simplest way to fix this is to revert TRINIDAD-952. If the timeout should
be kept in, then
the threads must somehow be synchronized. But as far as I know there's not much
provided by
javascript to do this.
I think fixing this issue should be prioritized, because it renders TRINIDAD
pretty useless on all IE versions.
> A failing client-side validator while using PPR causes a page hang with
> hourglass in IE when clicking in a empty spot on the page
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: TRINIDAD-1171
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1171
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Affects Versions: 1.0.7-core, 1.0.8-core, 1.0.9-core
> Environment: Windows IE6 and IE7
> Reporter: Mark van den Boomen
> Attachments: Trinidad-1.0.8_revert_TRINIDAD-952,
> TrinidadJira1171Validation.war
>
>
> Code to reproduce:
> <tr:form id="testValidationForm">
> <tr:inputDate value="#{test.myDate}" id="myDate"
> partialTriggers="validate">
> <tr:convertDateTime pattern="dd-MM-yyyy" />
> </tr:inputDate>
> <tr:commandButton text="Validate" partialSubmit="true" id="validate" />
> </tr:form>
> Steps to reproduce:
> 1. fill in something in the date field so the (date) validation will fail
> (eg. "hello")
> 2. press "Validate"
> 3. Now click on a spot on the page (but within the body area)
> Now the hourglass shows in IE. The only way to get rid of it is to click
> outside the body of the page of on the toolbar of IE.
> I traced the problem back to bug TRINIDAD-952 whose fix is causing the
> problem, after reverting the change everything works ok in 1.0.8 .
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.