@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.
Node p = Y.one(parent.getDOMNode());
p.append("<p>Write some tags, comma separated: </p>" );
Node input1 = p.appendChild("<input type=\"text\"></input>");
input1.plug(Y.GalleryPlugin().TokenInput(), TokenInputPluginConfig.create().removeButton(true));
final TokenInputPlugin tiPlugin = input1.getPlugin("tokenInput").cast();
Y.newButton(ButtonConfig.create().label("Accept").render(parent).on("click", new EventCallback<EventFacade>() {