aspose file tools*
The moose likes JSF and the fly likes Suggestionbox in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Suggestionbox in JSF" Watch "Suggestionbox in JSF" New topic
Author

Suggestionbox in JSF

ujwwala tem
Ranch Hand

Joined: Feb 10, 2010
Posts: 83
Hi,

I want to add link at bottom in suggestion box autocomplete in jsf,how can I do that,

Thanks,
Uj
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

There is no "suggestionbox in JSF". Suggestion Box controls are not part of the core JSF implementation, so to obtain one you'll need to augment the core JSF with a third-party extension. The exact configuration and capabilities of that suggestionbox will therefore depend on which extension you use.

However, most suggestionbox controls are built on or at least made to look like raw HTML SELECT controls, which do not have the ability to make OPTION elements be byperlinks. It wouldn't make sense, anyway, since the GUI interaction of a hyperlink would interfere with the GUI action of selection off a dropdown list and vice versa.


Customer surveys are for companies who didn't pay proper attention to begin with.
ujwwala tem
Ranch Hand

Joined: Feb 10, 2010
Posts: 83
Hello,

Thanks for the reply,I didn't understand technically what is to be done,linke in google search box we have autocomplete feature so I implemeted that in JSF with javascript and all ,now I want onle link to be displayed in the container itself at the bottom where all suggestion names are coming,

Thanks,
Uj
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

If I understood that correctly, what you probably should do is define a "div" at the location where you want the URL to display and use JavaScript to insert text into that div based on the user's interaction with the auto-complete control.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Suggestionbox in JSF