<?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/util"
	    xmlns:x="http://jsf.exadel.com/mock"
	    baseclass="org.richfaces.renderkit.DialogWindowRenderer"
	    class="org.richfaces.renderkit.DialogWindowButtonTemplate"
        component="org.richfaces.component.UIDialogWindowButton">
        				
	<f:clientid var="clientId"/>
<span id="#{clientId}">
	<button href="#" id="#{this:getLinkID(context,component)}"
			style="#{component.attributes['style']}"
			class="#{component.attributes['styleClass']}"
			oncomplete="#{component.attributes['oncomplete']}"
			onclick="#{this:getOnClick(context,component)}"
	>
		<f:call name="utils.encodePassThruWithExclusions">
			<f:parameter value="onclick"/>
		</f:call>
		#{component.attributes['value']}<vcp:body/>
	</button>
	<script type="text/javascript">#{this:getDialogBox(context,component)}</script>
</span>
</f:root>