clearFormHiddenParams is not defined
Hi,
i use VWP and bundled tomcat of N.B., i got this error in the javascript console
Error: clearFormHiddenParams is not defined
i have this jars in the lib rep of tomcat
1 025 797 ant.jar
49 861 appbase.jar
111 388 commons-el.jar
404 939 jasper-compiler.jar
77 034 jasper-runtime.jar
358 850 jsf-api.jar
784 913 jsf-impl.jar
51 136 jsp-api.jar
20 972 jstl.jar
495 944 mysql-connector-java-5.0.4-bin.jar
228 711 mysql.jar
153 623 naming-factory-dbcp.jar
36 829 naming-factory.jar
47 606 naming-resources.jar
1 540 457 ojdbc14.jar
277 808 org-netbeans-modules-schema2beans.jar
182 850 org-netbeans-modules-web-httpmonitor.jar
98 461 servlet-api.jar
513 526 standard.jar
Walid
[819 byte] By [
walid.ka] at [2007-11-26 13:31:22]

# 2
A javascript error is being reported by your browser. To investigate the problem the first place to look would be at the html source. From there you could have a look at the various .js files that the ThemeServlet emits. Ultimately you may find that the problem is browser specific.
Another way to look at this problem might be to use something like FireFox and the Venkman debugger. Trying to isolate it down to the component level would be useful if you're going to file an issue.
# 3
Thanks for your replay,solved by using button of basic section, in the first case i use button of standrd section in reset mode, this generate a call of clearFormHiddenParams function in the onclick, and this function is not found in the .js
# 4
As a workaround try using the button component off the Basic palette. As I recall (and expect to be corrected!) the Standard section of the palette is for compatability with JSC 1. I guess they could have left it out of VWP alltogether. If that's the case don't expect the VWP developers to spend much time fixing the problem.
See the reply from Jetsons on this thread: http://forum.java.sun.com/thread.jspa?forumID=881&threadID=5062928
An alternative workaround might be to try and obtain the .js from a JSC 1 app and place it in your app.
Message was edited by:
yossarian -- added link to better info on earlier thread.