Hi All,
I am facing a javascript error due to JSF.Actually in my code I included a file in another file before starting a form tag of the file.
Now the problem is that whenever
JSF page renders it creates a function called
clear_formName() in the page and on every components which has some action or javascript function called on it, it also calls this function along with it.
But in my case it is not creating this function while rendering and still calling it while I click on the button due to which I am getting Javascript error and button not able to perform further action.But it is still creating this fuction with name like
clear_linkDummyFoorm which is other than one used in my form.In the included file there is no form in it.
Due to this button is not of use and cannot execute action because of javascript error which says
clear_frmPrint not defined.
Please help me it is urgent as I have to release it for
testing and suddenly I got stuck with this error.