You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jürgen Kofler (JIRA)" <de...@myfaces.apache.org> on 2009/02/16 10:38:59 UTC

[jira] Created: (TRINIDAD-1395) Trinidad does not work with T-Online Browser

Trinidad does not work with T-Online Browser
--------------------------------------------

                 Key: TRINIDAD-1395
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1395
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.2.10-core
            Reporter: Jürgen Kofler
            Priority: Minor


T-Online is a german ISP that ships its own web browser. Despite this browser is based on IE 7 it does not work with Trinidad:

submitForm() in Core.js and sendFormPost() and _doRequestThroughIframe() in RequestQueue.js fail because window.external.AutoCompleteSaveForm() is not definied within this browser. That might have to do with their own autocomplete implementation. Anyway, a possible fix that works for us is to surround the function call by a try-catch: 

if(_agent.isIE && window.external) {
  try {
    window.external.AutoCompleteSaveForm(a0);
  } catch(e) {}
}

T-Online Browser: http://service.t-online.de/c/12/70/32/96/12703296.html  






-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TRINIDAD-1395) Trinidad does not work with T-Online Browser

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf resolved TRINIDAD-1395.
------------------------------------------

       Resolution: Fixed
    Fix Version/s:  1.2.12-core
         Assignee: Matthias Weßendorf

> Trinidad does not work with T-Online Browser
> --------------------------------------------
>
>                 Key: TRINIDAD-1395
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1395
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.10-core
>            Reporter: Jürgen Kofler
>            Assignee: Matthias Weßendorf
>            Priority: Minor
>             Fix For:  1.2.12-core
>
>
> T-Online is a german ISP that ships its own web browser. Despite this browser is based on IE 7 it does not work with Trinidad:
> submitForm() in Core.js and sendFormPost() and _doRequestThroughIframe() in RequestQueue.js fail because window.external.AutoCompleteSaveForm() is not definied within this browser. That might have to do with their own autocomplete implementation. Anyway, a possible fix that works for us is to surround the function call by a try-catch: 
> if(_agent.isIE && window.external) {
>   try {
>     window.external.AutoCompleteSaveForm(a0);
>   } catch(e) {}
> }
> T-Online Browser: http://service.t-online.de/c/12/70/32/96/12703296.html  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1395) Trinidad does not work with T-Online Browser

Posted by "Bernhard Seebass (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723025#action_12723025 ] 

Bernhard Seebass commented on TRINIDAD-1395:
--------------------------------------------

I tried the bug fix in one of our applications. However, we still get an the error on execution of window.external.AutoCompleteSaveForm().

Therefore I added a try/catch in _autoCompleteForm which fixed our problem. Would you mind adding this to the 1.2.12-core source too make sure it will never ever fail due to some buggy IE7 installation?


 function _autoCompleteForm(form)
 {
   var theExternal = window.external;
 
   if (theExternal && (typeof theExternal.AutoCompleteSaveForm != "undefined"))
   {
	 try{
		 theExternal.AutoCompleteSaveForm(form);
	 } catch (e) {
		 // ignore, probably some obscure buggy IE7 installation
	 }
   }
 }


> Trinidad does not work with T-Online Browser
> --------------------------------------------
>
>                 Key: TRINIDAD-1395
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1395
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.10-core
>            Reporter: Jürgen Kofler
>            Assignee: Matthias Weßendorf
>            Priority: Minor
>             Fix For:  1.2.12-core
>
>
> T-Online is a german ISP that ships its own web browser. Despite this browser is based on IE 7 it does not work with Trinidad:
> submitForm() in Core.js and sendFormPost() and _doRequestThroughIframe() in RequestQueue.js fail because window.external.AutoCompleteSaveForm() is not definied within this browser. That might have to do with their own autocomplete implementation. Anyway, a possible fix that works for us is to surround the function call by a try-catch: 
> if(_agent.isIE && window.external) {
>   try {
>     window.external.AutoCompleteSaveForm(a0);
>   } catch(e) {}
> }
> T-Online Browser: http://service.t-online.de/c/12/70/32/96/12703296.html  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.