IButton getResourcesButton = new IButton("command.GetResources");
getResourcesButton.setWidth(150);
getResourcesButton.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
GetResourcesRequest request = new GetResourcesRequest(
new String[] { "WEB-INF/security.xml" });
GwtCommand command = new GwtCommand("example.gwt.server.samples.GetSourceCommand");
command.setCommandRequest(request);
GwtCommandDispatcher.getInstance().execute(command, new CommandCallback() {