Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JQuery & JSF

 
Jyothi Thummalapenta
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

Thanks in Advance


Regards
Jo
 
A Rene
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Regards
Jo
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Jyothi Thummalapenta
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Tim
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic