⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 window.tag

📁 基于Jscript实现在类库,集成了现流行的ajax,重载select组件库
💻 TAG
📖 第 1 页 / 共 3 页
字号:
	type="java.lang.String"
	required="false"
	description="
( Ext.Window this )Fires after the window has been visually activated via setActive.
" %>

<%@ attribute
	name="onAdd"
	type="java.lang.Integer"
	required="false"
	description="
( Ext.Container this, Ext.Component component, Number index )Fires after any Ext.Component is added or inserted into the container.
" %>

<%@ attribute
	name="onAfterlayout"
	type="java.lang.String"
	required="false"
	description="
( Ext.Container this, ContainerLayout layout )Fires when the components in this container are arranged by the associated layout manager.
" %>

<%@ attribute
	name="onBeforeadd"
	type="java.lang.Integer"
	required="false"
	description="
( Ext.Container this, Ext.Component component, Number index )Fires before any Ext.Component is added or inserted into the container.A handler can return false to cancel the add.
" %>

<%@ attribute
	name="onBeforeclose"
	type="java.lang.String"
	required="false"
	description="
( Ext.Panel p )Fires before the Panel is closed.Note that Panels do not directly support being closed, but somePanel subclasses do (like Ext.Window).This event only applies to such subclasses.A handler can return false to cancel the close.
" %>

<%@ attribute
	name="onBeforecollapse"
	type="java.lang.Boolean"
	required="false"
	description="
( Ext.Panel p, Boolean animate )Fires before the Panel is collapsed.A handler can return false to cancel the collapse.
" %>

<%@ attribute
	name="onBeforedestroy"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires before the component is destroyed. Return false to stop the destroy.
" %>

<%@ attribute
	name="onBeforeexpand"
	type="java.lang.Boolean"
	required="false"
	description="
( Ext.Panel p, Boolean animate )Fires before the Panel is expanded.A handler can return false to cancel the expand.
" %>

<%@ attribute
	name="onBeforehide"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires before the component is hidden. Return false to stop the hide.
" %>

<%@ attribute
	name="onBeforeremove"
	type="java.lang.String"
	required="false"
	description="
( Ext.Container this, Ext.Component component )Fires before any Ext.Component is removed from the container.A handler can returnfalse to cancel the remove.
" %>

<%@ attribute
	name="onBeforerender"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires before the component is rendered. Return false to stop the render.
" %>

<%@ attribute
	name="onBeforeshow"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires before the component is shown. Return false to stop the show.
" %>

<%@ attribute
	name="onBeforestaterestore"
	type="java.lang.Object"
	required="false"
	description="
( Ext.Component this, Object state )Fires before the state of the component is restored. Return false to stop the restore.
" %>

<%@ attribute
	name="onBeforestatesave"
	type="java.lang.Object"
	required="false"
	description="
( Ext.Component this, Object state )Fires before the state of the component is saved to the configured state provider. Return false to stop the save.
" %>

<%@ attribute
	name="onBodyresize"
	type="java.lang.Integer"
	required="false"
	description="
( Ext.Panel p, Number width, Number height )Fires after the Panel has been resized.
" %>

<%@ attribute
	name="onClose"
	type="java.lang.String"
	required="false"
	description="
( Ext.Panel p )Fires after the Panel is closed.Note that Panels do not directly support being closed, but somePanel subclasses do (like Ext.Window).
" %>

<%@ attribute
	name="onCollapse"
	type="java.lang.String"
	required="false"
	description="
( Ext.Panel p )Fires after the Panel has been collapsed.
" %>

<%@ attribute
	name="onDeactivate"
	type="java.lang.String"
	required="false"
	description="
( Ext.Window this )Fires after the window has been visually deactivated via setActive.
" %>

<%@ attribute
	name="onDestroy"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires after the component is destroyed.
" %>

<%@ attribute
	name="onDisable"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires after the component is disabled.
" %>

<%@ attribute
	name="onEnable"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires after the component is enabled.
" %>

<%@ attribute
	name="onExpand"
	type="java.lang.String"
	required="false"
	description="
( Ext.Panel p )Fires after the Panel has been expanded.
" %>

<%@ attribute
	name="onHide"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires after the component is hidden.
" %>

<%@ attribute
	name="onMaximize"
	type="java.lang.String"
	required="false"
	description="
( Ext.Window this )Fires after the window has been maximized.
" %>

<%@ attribute
	name="onMinimize"
	type="java.lang.String"
	required="false"
	description="
( Ext.Window this )Fires after the window has been minimized.
" %>

<%@ attribute
	name="onMove"
	type="java.lang.Integer"
	required="false"
	description="
( Ext.Component this, Number x, Number y )Fires after the component is moved.
" %>

<%@ attribute
	name="onRemove"
	type="java.lang.String"
	required="false"
	description="
( Ext.Container this, Ext.Component component )Fires after any Ext.Component is removed from the container.
" %>

<%@ attribute
	name="onRender"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires after the component is rendered.
" %>

<%@ attribute
	name="onResize"
	type="java.lang.Integer"
	required="false"
	description="
( Ext.Window this, Number width, Number height )Fires after the window has been resized.
" %>

<%@ attribute
	name="onRestore"
	type="java.lang.String"
	required="false"
	description="
( Ext.Window this )Fires after the window has been restored to its original size after being maximized.
" %>

<%@ attribute
	name="onShow"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires after the component is shown.
" %>

<%@ attribute
	name="onStaterestore"
	type="java.lang.Object"
	required="false"
	description="
( Ext.Component this, Object state )Fires after the state of the component is restored.
" %>

<%@ attribute
	name="onStatesave"
	type="java.lang.Object"
	required="false"
	description="
( Ext.Component this, Object state )Fires after the state of the component is saved to the configured state provider.
" %>

<%@ attribute
	name="onTitlechange"
	type="java.lang.String"
	required="false"
	description="
( Ext.Panel p, String The )Fires after the Panel title has been set or changed.
" %>

<%-- Events _____________________________END --%>


<%-- Tag Body  _____________________________START --%>
<%@ include file="inc/taglibs.jsp" %>
<%@ tag 
	import="org.apache.commons.beanutils.BeanUtils"
	dynamic-attributes="dynamicAttributes"
	description="A specialized panel intended for use as an application window. Windows are floated and draggable by default, and also provide specific behavior like the ability to maximize and restore (with an event for minimizing, since the minimize behavior is application-specific). Windows can also be linked to a Ext.WindowGroup or managed by the Ext.WindowManager to provide grouping, activation, to front/back and other application-specific behavior." %>
	
	<c:if test="${empty(id)}">
		<c:set var="id"><extutil:getTagId tag="<%= this %>" /></c:set>
	</c:if>
	
	<extutil:processTagAttributes 
		configVar="configMap" 
		eventsVar="eventsMap" 
		javaScript="autoLoad,keys,tools,manager"
		include="*" 
		tagJspContext="<%= jspContext %>"
		dynamicAttributes="${dynamicAttributes}" />
	
	<%-- Process JSP body --%>
	<jsp:doBody var="jspBody" scope="page" />	
		
		<div class="x-hide-display" id="${id}El">${jspBody}</div>
		
		<c:set var="item">
			    new Ext.Window({
			  		<c:forEach items="${configMap}" var="config">
			  			${config.key}:${config.value},
			  		</c:forEach>
			  		<c:if test="<%= BeanUtils.getProperty(this,"items")!=null %>">
				        items:[
							<% 
								String items = BeanUtils.getProperty(this,"items");
								jspContext.getOut().write(items.substring(0,items.length()-1));
							 %>
				        ],
			  		</c:if>
			  		<c:if test="<%= BeanUtils.getProperty(this,"tbar")!=null %>">
				        tbar:[
							<% 
								String tbar = BeanUtils.getProperty(this,"tbar");
								jspContext.getOut().write(tbar.substring(0,tbar.length()-1));
							 %>
				        ],
			  		</c:if>
			  		<c:if test="<%= BeanUtils.getProperty(this,"bbar")!=null %>">
				        bbar:[
							<% 
								String bbar = BeanUtils.getProperty(this,"bbar");
								jspContext.getOut().write(bbar.substring(0,bbar.length()-1));
							 %>
				        ],
			  		</c:if>
			  		<c:if test="<%= BeanUtils.getProperty(this,"buttons")!=null %>">
				        buttons:[
							<% 
								String buttons = BeanUtils.getProperty(this,"buttons");
								jspContext.getOut().write(buttons.substring(0,buttons.length()-1));
							 %>
				        ],
			  		</c:if>
			  		<c:if test="<%= BeanUtils.getProperty(this,"tools")!=null %>">
				        tools:[
							<% 
								String tools = BeanUtils.getProperty(this,"tools");
								jspContext.getOut().write(tools.substring(0,tools.length()-1));
							 %>
				        ],
			  		</c:if>
			  		listeners:{
				  		<c:forEach items="${eventsMap}" var="event" varStatus="status">
				  			<c:if test="${fn:indexOf(event.value,'function(){')==-1}">
					  			${event.key}:function(){${event.value}}			  			
				  			</c:if>
			  				<c:if test="${fn:indexOf(event.value,'function(){')>-1}">
					  			${event.key}:${event.value}
				  			</c:if>
				  			${status.last?'':','}
				  		</c:forEach>
			  		},
					contentEl:'${id}El'
			    })
		</c:set>
	
	<c:set var="parentClass"><extutil:getParentTagClass tag="<%= this%>"/></c:set>
	<c:if test="${parentClass=='viewport_tag' || parentClass=='body_tag'}">
		<extutil:setExtCommons>${id} = ${item};</extutil:setExtCommons>
	</c:if>
	
	<c:if test="${parentClass!='viewport_tag' && parentClass!='body_tag'}">
		<extutil:setParentProperties tag="<%=this%>" items="${item},"/>
	</c:if>
	 
		
<%-- Tag Body  _____________________________END --%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -