mode = Type.SELECT_XML.getCmMode();
}
// on window resize, part of the page get redrawn. This means we have to
// attach to codemirror again
// this is also called on first load
rawResponseOutput.addResizedHandler(new ResizedHandler() {
@Override
public void onResized(ResizedEvent event) {
Scheduler.get().scheduleDeferred(new Command() {
public void execute() {
JsMethods.initializeQueryResponseCodemirror(rawResponseOutput.getInputId(), mode);