wood burning stoves*
The moose likes JSF and the fly likes JQuery & JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JQuery & JSF" Watch "JQuery & JSF" New topic

JQuery & JSF

Jyothi Thummalapenta

Joined: Apr 17, 2012
Posts: 11

Can anyone please let me know a good website to learn JQuery and JSF clearly.

Thanks in Advance

A Rene

Joined: Jul 17, 2013
Posts: 4
May I know your scope of work because jquery is embedded in jsf. May be I feel unless there is an individual purpose of jquery you need to learn it. Correct me if Im wrong.
rgds Street
Jyothi Thummalapenta

Joined: Apr 17, 2012
Posts: 11
Hi Rene,

Thankyou for the reply.

I am new to both JQuery and JSF. As part of my project i need JQuery and apart from that i wanted to learn JSF. That is the reason i asked for both JQuery and JSF.

Could you please suggest me some books or online websites to learn both of them.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15957

If you know basic jQuery, you can make it work with JSF, although some JSF extension tagsets (such as RichFaces) also include jQuery support tags.

There are only a few "gotchas":

1. Don't use the "$" notation when mixing jQuery and JSF. The "$" is interpreted by the EL processor to mean JSP-style value substitution. Use the "jQuery." form, instead.

2. JSF has something called a naming container that causes the actual HTML IDs of the raw output to be more complex than the simple IDs that you code in JSF View Definition Language. jQuery, like all JavaScript, needs the HTML ID values, not the JSF ID values. When in doubt, "View Page Source" in your browser.

3. The jQuery that's bundled in with some of the JSF extension tagsets may be very antiquated. You will have to either code down to their level or take steps to make sure that the proper version of jQuery for the features you need is being pulled in (and doesn't collide).

Customer surveys are for companies who didn't pay proper attention to begin with.
Jyothi Thummalapenta

Joined: Apr 17, 2012
Posts: 11
Thanks a lot Tim
wood burning stoves
subject: JQuery & JSF
Similar Threads
JSF vs JQuery
jsf , jquery
Bumper Sticker item requests
WA #1.....word association
Using JQuery JSF components together