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

How to create "Help Tree" using JSF

 
Matt Hardy
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could somebody please tell me how to create a Help Tree using. I am using JSF 1.2 version. I tried using jquery but could not integrate jquery into jsf page..

Thanks..
 
Matt Hardy
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
bump
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't bump. It doesn't help. If someone knows the answer, we have enough people listening that you'll get an answer, but since we're all volunteers, we check in when we can. We're not sitting around waiting to answer questions all day. http://www.coderanch.com/how-to/java/PatienceIsAVirtue

JSF doesn't come with a tree GUI control because core JSF is mapped to plain HTML and there's no basic HTML tree control. However, some of the third-party extension tagsets do provide a tree control.

As far as jQuery goes, jQuery works quite well in a JSF environment. In fact, some of the third-party packages use jQuery internally.

There are 2 things, however, that you have to be aware of when using jQuery in JSF.

1. Element IDs at the jQuery level (raw HTML) are not the same as their JSF source-code IDs. For example the inputText control with an ID of "firstName" in a JSF form named "form1" will have an HTML (jQuery) ID of "form1:firstName".

2. The "$" character has an alternative meaning to the JSF EL processor. So instead of using the common jQuery "$" form, you have to use the "jQuery." form of expression in order to avoid conflicts and confusion.
 
Matt Hardy
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Mr.Tim
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic