I am implementing a multiselect autocomplete textbox (similar to one that Stackoverflow
uses for tags
input), using fcbkComplete
. For implementation, I need to transfer JSON objects to a Jquery function from JSF. (There's a need to specify JSON url as parameter to fcbkComplete
).
$("select0").fcbkcomplete({
json_url: "fetched.txt"
});
I am using JSF 2.0 with Primefaces 3.0M3. I would appreciate if someone can show me a direction as to how I can specify a JSON url to a js method in a JSF based application.
Thanks