File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes rich:hotKey  worked when using jQuery? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "rich:hotKey  worked when using jQuery?" Watch "rich:hotKey  worked when using jQuery?" New topic
Author

rich:hotKey worked when using jQuery?

Eswar Nec
Ranch Hand

Joined: May 02, 2010
Posts: 105
Hi,

i have used rich:hotKey for h:inputText in my jsp page.

And also i wrote jQuery for get the textBox value.

When i use jquery, that time rich:kotKey not worked



if i am not include the jquery, then that time i hit the enter button from text box, then automatically called testButton() script.

If i include the Jquery, then rich:hotkey not work.

I am also Used , var $J = jQuery.noConflict(); . But this time also not work jQuery.

I hope help me about this.

Thanks for your effort.


Wake up! Don't let your smile be snatched away by anybody!
Regards, Eswar
Almar Schouten
Greenhorn

Joined: Sep 02, 2010
Posts: 1
Hey Eswara,

Richfaces uses it's own version of jQuery (which is automatically included in your page if you use a richfaces component that depends on it).

If you want to make sure that jQuery is loaded, use a4j:loadScript to load the richfaces version:
<a4j:loadScript src="resource:///org/richfaces/renderkit/html/scripts/jquery/jquery.js" />
 
Don't get me started about those stupid light bulbs.
 
subject: rich:hotKey worked when using jQuery?
 
Similar Threads
Onload script does not work in subview page
How to display popup in JSF
Field display problem
How to stop page refresh when hit enter button from rich:inputNumberSpinner field?
rich:hotKey not worked when using jQuery?