Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
License Agreement. Rich Faces - Natural Ajax for Java Server Faces (JSF) Copyright (C) 2007 Exadel, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
package org.richfaces.component;
import  javax.faces.application.ResourceDependencies;
import  javax.faces.application.ResourceDependency;
import  javax.faces.component.UIComponentBase;

The <a4j:log> component generates JavaScript that opens a debug window, logging application information such as requests, responses, and DOM changes.

Nick Belaevski
@ResourceDependencies(value = { @ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
        @ResourceDependency(library = "org.richfaces", name = "log.js"),
        @ResourceDependency(library = "org.richfaces", name = "log.ecss") })
@JsfComponent(tag = @Tag(name = "log", type = .), renderer = @JsfRenderer(type = "org.richfaces.AjaxLogRenderer"))
public abstract class AbstractAjaxLog extends UIComponentBase {
    public static final String COMPONENT_TYPE = "org.richfaces.AjaxLog";
    public static final String COMPONENT_FAMILY = "org.richfaces.AjaxLog";

CSS style(s) to be applied when this component is rendered.
    public abstract String getStyle();

Sets the logging level, can be one of "ERROR", "FATAL", "INFO", "WARN", "ALL"
    public abstract String getLevel();

Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
    public abstract String getStyleClass();

Determines how the log appears on the page, can be one of: "inline", "popup". When set to "popup", the popup window is opened by pressing the key combination Ctrl + Shift + L
    public abstract LogMode getMode();
    // public abstract String getHotkey();
    // public abstract void setHotkey(String newvalue);
    // public abstract String getName();
    // public abstract void setName(String newvalue);
    // public abstract String getWidth();
    // public abstract void setWidth(String newvalue);
    // public abstract String getHeight();
    // public abstract void setHeight(String newvalue);
    // public abstract String getLevel();
    // public abstract void setLevel(String newvalue);
    // public abstract boolean isPopup();
    // public abstract void setPopup(boolean popup);
New to GrepCode? Check out our FAQ X