Ok, I did it. At least on Plone 4.3
The first part is to fully incorporate the jQuery ui effects in the package. There is a problem with the namespace and the missing file, which leads to .effects() is not a function .
First load the correct jQueryUI cd version into it and
jquery=/buildout_dir/parts/omelette/collective/js/jqueryui cp jquery.ui.effect.min.js $jquery/js/jquery.ui.effect.core.min.js
then cd to the $jquery directory and convert all effect packages to fix the namespace. For instance:
mv js/jquery.ui.effect-highlight.min.js js/jquery.ui.effect.highlight.min.js
Then replace all occurrences of effects with effect $jquery/config.py . When using vim
:1,$s/effects/effect/g
Secondly, to include a jQuery-based cd autocomplete widget in the src directory of your assembly and
git clone https://github.com/plone/plone.formwidget.autocomplete.git plone.formwidget.autocomplete git checkout jqueryui-autocomplete
then edit your versions.cfg . For me
plone.formwidget.autocomplete >= 2.0
works. Then edit your buildout.cfg and add the package under zcml and develop . I did buildout, but that might be enough to restart Zope. The final step, obviously, is to visit the portal installer and reinstall the product.
Update
As described in the comments, it was not fully functional. I also had to modify one .js file, namely autocomplete.js from the plone.formwidget.autocomplete package. Here is the result
http://pastebin.com/RPaLk80H
This all together allows RelationChoiceWidget and AutocompleteWidget to work together in one form. I like it.
I also posted a github bug report for the jQueryUI package.