<?xml version="1.0" encoding="UTF-8"?>
<f:root 
	xmlns:f="http://jsf.exadel.com/template" 
	xmlns:c=" http://java.sun.com/jsf/core" 
	xmlns:ui=" http://jsf.exadel.com/ui"
	xmlns:vcp=" http://jsf.exadel.com/vcp"
	xmlns:u=" http://jsf.exadel.com/vcp"
	xmlns:x=" http://jsf.exadel.com/vcp"
	class="org.ajax4jsf.renderkit.html.LogRenderer"
	baseclass="org.ajax4jsf.renderkit.AjaxComponentRendererBase"
	component="org.ajax4jsf.component.UIAjaxLog" 
	xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0" >
	<jsp:directive.page import="javax.faces.context.FacesContext,javax.faces.component.UIComponent"/>
	<f:clientid var="clientId"/>
	<jsp:scriptlet> if(component.isPopup()){</jsp:scriptlet>
	<script 
		id="#{clientId}"
		type="text/javascript"
		>
		LOG.registerPopup('#{component.hotkey}','#{component.name}',#{component.width},#{component.height},LOG.#{component.level});
	</script>
	<jsp:scriptlet>} else {</jsp:scriptlet>
		<div id="logConsole"
		x:style='width:#{component.width};height:#{component.height};overflow:auto;#{component.attributes["style"]}'
		x:passThruWithExclusions="value,name,id,style"
		>
	<script type="text/javascript">
		LOG.LEVEL = LOG.#{component.level};
	</script>
		</div>
	<jsp:scriptlet> } </jsp:scriptlet>
</f:root>