You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Werner Punz (JIRA)" <de...@myfaces.apache.org> on 2006/10/06 19:20:20 UTC
[jira] Created: (TOMAHAWK-729) Submit fails in dialog
Submit fails in dialog
-----------------------
Key: TOMAHAWK-729
URL: http://issues.apache.org/jira/browse/TOMAHAWK-729
Project: MyFaces Tomahawk
Issue Type: Bug
Reporter: Werner Punz
Assigned To: Werner Punz
Several users resported in the mailinglist that the submit button fails within a dialog, the indication seems to be that due to heavy dom shifting on the javascript side the submit is not assigned to a form properly anymore
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-729) Submit fails in dialog
Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-729?page=comments#action_12440781 ]
Werner Punz commented on TOMAHAWK-729:
--------------------------------------
The bug does not seem to be related to the dialog itself following codepart fails:
function oamSubmitForm(formName, linkId, target, params)
{
var clearFn = 'clearFormHiddenParams_'+formName.replace(/-/g, '\$:').replace(/:/g,'_');
if(eval('window.'+clearFn)!=undefined)
{
eval('window.'+clearFn+'(formName)');
}
if(window.getScrolling!=undefined)
{
//this one here fails
document.forms[formName].elements['autoScroll'].value=getScrolling();
}
the reason is the missing autoscroll in the given form...
the code seems to be fishy anyway, given the fact that no autoscroll is set in the form
either push in a document.getElementById, or simply enforce a set autoscroll in the form renderer!
> Submit fails in dialog
> ----------------------
>
> Key: TOMAHAWK-729
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-729
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Reporter: Werner Punz
> Assigned To: Werner Punz
>
> Several users resported in the mailinglist that the submit button fails within a dialog, the indication seems to be that due to heavy dom shifting on the javascript side the submit is not assigned to a form properly anymore
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (TOMAHAWK-729) Submit fails in dialog
Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-729?page=all ]
Werner Punz resolved TOMAHAWK-729.
----------------------------------
Resolution: Fixed
The dialog problem is fixed to the degree that you now can embed a form into the dialog
you cannot embed the dialog into a form, this is not possible at all due to IE6 bugs in its rendering engine!
I would say this bug is resolved now!
> Submit fails in dialog
> ----------------------
>
> Key: TOMAHAWK-729
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-729
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Reporter: Werner Punz
> Assigned To: Thomas Spiegl
>
> Several users resported in the mailinglist that the submit button fails within a dialog, the indication seems to be that due to heavy dom shifting on the javascript side the submit is not assigned to a form properly anymore
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira