public void test(final Node parent) {
YUI.YUI(YuiConfig.create().
gallery("gallery-2011.08.24-23-44")
).use(
new String[]{"gallery-node-tokeninput", "button", "autocomplete",
"autocomplete-filters", "autocomplete-highlighters"}, new YUICallback() {
@Override
public void ready(YuiContext Y_) {
//cast to YuiGalleryContext for using the yui gallery java api.
final YuiGalleryContext Y = Y_.cast();
//redefine parent loading the new Y sandbox.