Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Where to include java script file in JHS

584423Dec 7 2007 — edited Dec 11 2007
Hi All,

Please help me solving this below issue.

I have to implement format mask for phone. So wat I did is, wrote an JS file and placed it under webcontent/javascript/masks.js and also in my jspx generated by JHS, in the head i wrote <afh:script src="location of script file"/>
In the phone no. field i placed onFocus, where i load my managed bean Formatmask from the session scope to call the script..

Same code our team did in ADF, its working where as the same in JHS is not. Can any one pls help me out to solve the issue.

Thx in advance
VinothGan-IFLEX
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 8 2008
Added on Dec 7 2007
2 comments
1,552 views