Hello everybody,
this is my first post to this list, wanting to state a change request for
myFaces 1.2.5. (Tomahawk 1.1.8) which I would happily include by myself.
In every h:form a JavaScript function "clearFormHiddenParms_" (+FormName) is
generated, that clears the JSF form parameters. Unfortunately, on some browsers
the DOM does not include elements with style "display:none" set, thus causing
an exception in clearFormHiddenParms.
My suggestion would be to include a check of f, simply changing the function to:
function clearFormHiddenParams_pathNav(currFormName)
{
var f = document.forms['pathNav'];
if(f.elements) {
f.elements['pathNav:_idcl'].value='';
f.elements['pathNav:_link_hidden_'].value='';
f.elements['PATH_NAV_INDEX'].value='';
f.target='';
}
}
I believe it is rendered in the HtmlRendererUtils'
renderClearHiddenCommandFormParamsFunction. But, as I'm not a experience coder
in Apache Standards I want to ask you first what you would change (or I could
change immediately cause I need it now ;)) to stay in line.
regards and thanks a lot for your feedback,
jan