Hello, I am using the inputHelperDatePicker component in my application deployed to WAS 5.1. I get a hava script error which says hX_1 is undefined and the calender icon does not show up. On research, I found that the hx_1 is the java script reference to the calender object.I don't know how to fix this error. Help on this will be greatly appreciated.
Sushma Sharma
Ranch Hand
Joined: Jun 02, 2005
Posts: 139
posted
0
I haven't used WAS5.1 and its JSF component. but check if the corresponding js file or script functions are being loaded.
Abiodun Adisa
Ranch Hand
Joined: Jan 17, 2002
Posts: 495
posted
0
Originally posted by vaithee sub: Hello, I am using the inputHelperDatePicker component in my application deployed to WAS 5.1. I get a hava script error which says hX_1 is undefined and the calender icon does not show up. On research, I found that the hx_1 is the java script reference to the calender object.I don't know how to fix this error. Help on this will be greatly appreciated.
Have you checked that all the necessary Libraries are included in your deployment jar. I don't think WAS5.1 has all the necessary JARS to run JSF and you would have to include it in your Jar file
vaithee sub
Greenhorn
Joined: Mar 12, 2004
Posts: 20
posted
0
I figured out what the problem is. The problem was that JSReouruce Servlet has a url .ibmjsfres/* and siteminder did not allow that. The issue was fixed once we added this as an exception. Just to give you a backfround, the classes in ibm-faces.jar converts the tag to html tag lib and java script. So the html source code looks like this <script type="text/JavaScript" language="JavaScript" src="/edcrslftpa/.ibmjsfres/hxclient_v1.js"></script> <script type="text/JavaScript" language="JavaScript"> So the url ="/edcrslftpa/.ibmjsfres/hxclient_v1.js should be accessable and permitted inorder to display the calender.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.