[
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