Node input2 = p.appendChild("<input type=\"text\"></input>");
String[] tags = {"apple", "banana", "cherry", "date", "fig", "grapefruit", "jujube",
"kumquat", "lemon", "mango", "nectarine", "orange", "pineapple",
"raspberry", "strawberry", "tangerine", "watermelon"};
input2.
plug(Y.GalleryPlugin().TokenInput(), TokenInputPluginConfig.create().
delimiter(".")).
plug(Y.GalleryPlugin().AutoComplete(), AutoCompleteConfig.create().
resultFilters("charMatch").resultHighlighter("charMatch").source(tags));
final TokenInputPlugin tiPlugin2 = input2.getPlugin("tokenInput").cast();
Y.newButton(ButtonConfig.create().label("Set defaults").render(parent).on("click", new EventCallback<EventFacade>() {