• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Issue with hx:inputHelperDatePicker

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I haven't used WAS5.1 and its JSF component. but check if the corresponding js file or script functions are being loaded.
 
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic