GeeCON Prague 2014*
The moose likes JSF and the fly likes How to create Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "How to create "Help Tree" using JSF" Watch "How to create "Help Tree" using JSF" New topic
Author

How to create "Help Tree" using JSF

Matt Hardy
Greenhorn

Joined: Nov 03, 2011
Posts: 18
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

Joined: Nov 03, 2011
Posts: 18
bump
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16103
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Matt Hardy
Greenhorn

Joined: Nov 03, 2011
Posts: 18
Thank you Mr.Tim
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create "Help Tree" using JSF