public class PreviewNodeIFrame extends BrixGenericWebMarkupContainer<BrixNode> {
private static final String PREVIEW_PARAM = Brix.NS_PREFIX + "preview";
public static boolean isPreview() {
BrixPageParameters params = BrixPageParameters.getCurrent();
if (params != null) {
<BUG>if (params.getQueryParam(PREVIEW_PARAM).toBoolean(false)) {
return true;</BUG>
}
}
return false;

public class PreviewNodeIFrame extends BrixGenericWebMarkupContainer<BrixNode> {
private static final String PREVIEW_PARAM = Brix.NS_PREFIX + "preview";
public static boolean isPreview() {
BrixPageParameters params = BrixPageParameters.getCurrent();
if (params != null) {
if (params.get(PREVIEW_PARAM).toBoolean(false)) {
return true;
}
}
return false;
