`
文章列表
var ctxMenu = new Ext.menu.Menu({...}) //重写createEl 方法 ctxMenu.createEl = this.menuCreateEl; //改变class名 menuCreateEl: function(){ return new Ext.Layer({             cls: "x-treemenu",             shadow:this.shadow,             constrain: false,             parentEl: this.parentEl || doc ...
//XML数据   <?xml version="1.0" encoding="UTF-8" ?> - <baseData> - <record>   <dataid>4</dataid>   <dataName>hello1</dataName>   </record> - <record>   <dataid>7</dataid>   <dataName>aa</dataName>   & ...
//监听DataGridEvent.ITEM_EDIT_END事件 baseDataGrid.addEventListener(DataGridEvent.ITEM_EDIT_END, editBaseData); private function editBaseData(e: DataGridEvent): void{ if(e.reason == DataGridEventReason.CANCELLED){ return; } e.preventDefault(); //dataid为XML中的数据 var editid: String = b ...
//tree的XML内容 var company:XML = <list>     <department title="Finance" code="200">         <employee name="John H" />         <employee name="Sam K" />     </department>     <department title="Engineering&q ...

oracle 树型

    博客分类:
  • sql
select * from (Select distinct name,categoryId,parentid,sort_order From shop_category  START WITH parentid IS NULL   Connect by parentid = prior categoryId order by sort_order) Start with  parentid IS NULL    Connect by parentid = prior categoryId
ServletContext sc =ServletActionContext.getServletContext();
因项目需要,要将hibernate 的mapping分组配置,查看相关资料后实验成功: xml 代码 <!-- 此处为数据总线相关hbm文件映射 -->       <property name="mappingResources">           <list>               <value>                   com/enation/framework/groupware/User.hbm.xml                </ ...
首先了解 Ext.Tree.Node.attributes的用法: 定义如下数据(其中有自定义类型type): js 代码 [{"text":"a","id":"1","cls":"folder","type":"4"},{"text":"b","id":"2","cls":"folder","t ...
Global site tag (gtag.js) - Google Analytics