data.setScope(search.getScope());
} else if ((search != null) && (search.getScope() == null)) {
data.setScope(CmsGallerySearchScope.everything);
}
StringBuffer sb = new StringBuffer();
<BUG>sb.append(ClientMessages.get().export(getRequest()));
sb.append(CmsGalleryDataBean.DICT_NAME).append("='");
sb.append(serializeForJavascript(I_CmsGalleryService.class.getMethod(</BUG>
"getInitialSettings",
GalleryMode.class,

data.setScope(search.getScope());
} else if ((search != null) && (search.getScope() == null)) {
data.setScope(CmsGallerySearchScope.everything);
}
StringBuffer sb = new StringBuffer();
sb.append(ClientMessages.get().export(getRequest()));
sb.append(exportDictionary(CmsGalleryDataBean.DICT_NAME, I_CmsGalleryService.class.getMethod(
"getInitialSettings",
GalleryMode.class,
