Forums Register Login

Suggestionbox in JSF

+Pie Number of slices to send: Send
Hi,

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

Thanks,
Uj
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1362 times.
Similar Threads
jsf panelGrid
confirm of h:commandLink
Suggest good book for JSF
Spring+ hibernate or JSF+EJB3
Good Books to learn basics of JSF
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:50:32.