Hello Alf,

just added a fix for this.

Can you test it with the latest nightly build of 1.0.24-SNAPSHOT, please.

http://people.apache.org/builds/myfaces/nightly/

Regards

Bernd

On Thu, Sep 10, 2009 at 6:45 PM, Volker Weber <[email protected]> wrote:
> Hi Alf,
>
> I think this is the above bug, or a similar one.
>
> The IE submits a request on enter in the only one textfield and
> executes the onKeydown code which makes an ajax request.
>
> If there are more textfields the IE did not submit on enter and the
> only submit is from the onKeydown code.
>
> I checked a solution with return false in the eventHandler (also on
> keyup and keypress) but this did not solve this Problem.
>
>
> Maybe a tc:in somewhere out of sight ( in a layout cell with 0px ? )
> could solve this.
>
>
> Regards,
>    Volker
>
>
> 2009/9/10 Alf Felis <[email protected]>:
>> Hi Marcus,
>>
>> I'm not sure if this is the problem. Maybe I'm wrong, but I noticed that IE 
>> sends two requests to the server if I start paging... FF only sends one 
>> request. See below.
>>
>> The problem is not, that submitting the page doesn't post the parameter at 
>> all. Or I have misunderstood the IE bug description :)
>>
>> I think the second request "overwrites" the first one.
>> Because the second request has an empty value for parameter 
>> "_idJsp0::form-action" it seems to be a simple "reload" without changing the 
>> displayed row.
>>
>> First:  "_idJsp0::form-action: _idJsp0:_idJsp1:ToRow"
>> Second: "_idJsp0::form-action: "
>>
>> Hope that helps :)
>>
>> Regards
>>
>> Alf
>>
>>
>> The examples below show the requested URIs with the parameters set (if any).
>>
>> Here the example (IE go from row 1 to row 50):
>> ----------------------------------------------
>> URI: /Tobago/org/apache/myfaces/tobago/renderkit/html/standard/blank.html
>> URI: /Tobago/faces/TobagoTest.jsp
>> Parameters:
>> _idJsp0:_idJsp1::scrollPosition:
>> _idJsp0::form-action: _idJsp0:_idJsp1:ToRow
>> _idJsp0:_idJsp1::widths: ,381,
>> jsf_tree: 1
>> _idJsp0::context-path: /Tobago
>> _idJsp0::action-position: 33px,286px,25px,14px
>> jsf_viewid: /TobagoTest.jsp
>> _idJsp0:_idJsp1::selected: ,
>> affectedAjaxComponent: _idJsp0:_idJsp1
>> _idJsp0:_idJsp1:ToRow::value: 50
>> _:
>> URI: /Tobago/faces/TobagoTest.jsp
>> Parameters:
>> _idJsp0:_idJsp1::scrollPosition:
>> _idJsp0::form-action:
>> _idJsp0:_idJsp1::widths: ,381,
>> _idJsp0::context-path: /Tobago
>> jsf_tree: 1
>> _idJsp0::action-position: 33px,286px,25px,14px
>> jsf_viewid: /TobagoTest.jsp
>> _idJsp0:_idJsp1::selected: ,
>> _idJsp0:_idJsp1:ToRow::value: 50
>> _idJsp0::form-clientDimension: 1074;893
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/scarborough/msie/style/style.css
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/speyside/standard/style/style.css
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/speyside/msie/style/style.css
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/tobago-sheet.css
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/scarborough/msie/style/tobago-sheet.css
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/speyside/standard/style/tobago-sheet.css
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/speyside/msie/style/tobago-sheet.css
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/prototype.js
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/standard/msie/script/tobago.js
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/theme-config.js
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/theme-config.js
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/speyside/standard/script/theme-config.js
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tobago-sheet.js
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/sheetFirstDisabled.gif
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/sheetPrevDisabled.gif
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/sheetNext.gif
>> URI: 
>> /Tobago/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/sheetLast.gif
>>
>> *********************************************************
>> The same with FF:
>> -----------------
>>
>> URI: /Tobago/faces/TobagoTest.jsp
>> Parameters:
>> _idJsp0:_idJsp1::scrollPosition:
>> _idJsp0::form-action: _idJsp0:_idJsp1:ToRow
>> _idJsp0:_idJsp1::widths: ,379,
>> jsf_tree: 9
>> _idJsp0::context-path: /Tobago
>> _idJsp0::action-position: 0px,0px,0px,0px
>> jsf_viewid: /TobagoTest.jsp
>> _idJsp0:_idJsp1::selected: ,
>> affectedAjaxComponent: _idJsp0:_idJsp1
>> _idJsp0:_idJsp1:ToRow::value: 50
>> _:
>>
>>
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: "Marcus Kröger" <[email protected]>
>>> Gesendet: 10.09.09 12:00:29
>>> An: MyFaces Discussion <[email protected]>
>>> Betreff: Re: [Tobago] Error using paging (tc:sheet) in IE
>>
>> Hi Alf,
>>>
>>> This is a known bug/feature within IE, look herehttps://connect.
>>> microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=389736
>>>
>>> So, as soon as you have more than one input fields on your page, the
>>> problem should disappear.
>>>
>>> regards
>>> Marcus
>>>
>>> regards
>>> Marcus
>>>
>>
>> --
>> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
>> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
>>
>
>
>
> --
> inexso - information exchange solutions GmbH
> Bismarckstraße 13      | 26122 Oldenburg
> Tel.: +49 441 4082 356 |
> FAX:  +49 441 4082 355 | www.inexso.de
>

Reply via email to