Extjs3 integrated application (to be continued ...)

2010-05-11  来源:本站原创  分类:Web  人气:221 

Recently, wants to interface. Ah depressing.

Extjs3.1 + spring3 + ibatis3 + struts2, too many things.

Some cases to write your own to share with you.

Extjs interface structure

<%@ page contentType="text/html; charset=UTF-8" errorPage="../errorpage.jsp"%>
<%@include file="../../inc/expiresinc.jsp"%>

<html>
<head>
<title> Template page  </title>
<script type="text/javascript">
extjs  Code when you want to set.  infodiv
</script>
</head>
<body><div"width:100%;height:100%;"></div></body>
</html>

var panel_permissiondiv = new Ext.Panel ((
renderTo: 'permissiondiv',

...

));

Import Extjs code that those who do not write.

Extjs a simple interface, so the:

<%@ page contentType="text/html; charset=UTF-8" errorPage="../errorpage.jsp"%>
<%@include file="../../inc/expiresinc.jsp"%>

<html>
<head>
<title> Template page  </title>
<script type="text/javascript">
var panel_permissiondiv = new Ext.Panel({
        renderTo : 'infodiv',
        width : Ext.get("infodiv").getWidth(),
        height : Ext.get("infodiv").getHeight(),
        border : false,
        layout : 'border',
        tbar : ['->', {
                text : 'TEXT',
                iconCls : 'icon-add',
                xtype : 'easyButton',
                tooltip : 'TEXT'
        }, '-', {
                text : 'TEXT',
                iconCls : 'icon-add',
                xtype : 'easyButton',
                tooltip : 'TEXT'
        }],
        items : [from_permission, grid_permission]
});
</script>
</head>
<body><div"width:100%;height:100%;"></div></body>
</html>

The above "items: [from_permission, grid_permission]", is a load of other non-interface elements. Later wrote.

Continued ...

相关文章
  • Extjs3 integrated application (to be continued ...) 2010-05-11

    Recently, wants to interface. Ah depressing. Extjs3.1 + spring3 + ibatis3 + struts2, too many things. Some cases to write your own to share with you. Extjs interface structure <%@ page contentType="text/html; charset=UTF-8" errorPage="..

  • Extjs3 integrated application (to be continued 2 ...) 2010-05-11

    Recently, wants to interface. Ah depressing. Extjs3.1 + spring3 + ibatis3 + struts2, too many things. Some cases to write your own to share with you. Extjs interface structure Js code <% @ Page contentType = "text / html; charset = UTF-8" err

  • J2ME study notes: TextBox and List integrated application, getSelectedIndex () and display.setCurrent (tb) usage 2010-12-10

    Had previously explained the TextBox and List of applications, then they will now have a comprehensive program of two functions is to select the appropriate option to list the current screen will be able to switch to the corresponding TextBox basic t

  • When is the application of modern SOA into the best time? 2010-07-13

    In many service-oriented architecture initiatives behind, application modernization, interoperability and integration are key factors. The inclusion of such content, you can reduce the total cost. However, SOA is not suitable for all organizations, i

  • To share a design and development of their enterprise application development framework 2010-03-29

    Integrated application of the SSh architecture, optimizing the development of basic libraries, simplifying application development, you can download a good analysis of the next. Base The framework commonly used to solve common enterprise development

  • Spring2.5 + IBatis + JPA + Compass Application Note 2010-03-29

    The new year, began to review some of the old knowledge: Spring 2.5 + Ibatis + JPA + Compass Integrated Application Lib file to use as follows: <classpathentry kind="lib" path="src/commons-dbcp.jar"/> <classpathentry kind=&quo

  • The Web application framework based on the business SimpleFramework 2009-12-20

    Simpleframework is based on Intercepting-Filter mode and MVC2 pattern (we call it: post-processing mode, After-Processing Pattern), based on the "application of the component, component or application (Application are components, component can be a a

  • Summary of learning and application experience Ext 2010-06-30

    First, understand that Html DOM, Ext Element and Component To learn and apply good Ext framework, need to understand the Html DOM, Ext Element and Component three differences. Ext is a Web-based rich client framework, which is entirely based on stand

  • UC interface, application development, the official sample correction (UTF8 two-way communication) 2010-12-19

    Article Source: http://blog.yation.com/webpro/uc_api_debug/ A few days ago sent a UTF8 version of the UC interface, integrated application development kit ( Click here to access ), the package does not modify the official code, just get the official

  • Swing-based application design 2011-08-31

    source: http://www.wsncs.zjut.edu.cn/java2010/Artical.asp?ID=122 Experiment Seven: Swing-based application design Updated: August 23, 2009 Experiment Seven: Swing-based application design An experimental purposes 1, familiar with the basic Swing comp

  • Understanding and control congestion 2010-04-02

    Congestion is to reach a certain part of the communication network in an excessive number of packets, so no time to deal with the part of the network, resulting in this part of the whole phenomenon of network performance degradation, serious and even

  • Data Mining Algorithms and Applications [change] 2010-04-14

    Book report research frontier Data Mining Algorithms and Applications Directory Chapter 5 Data Warehouse ... 1.1 Introduction ... 5 Data Warehouse Architecture 1.2 ... 6 1.3 Data warehouse planning, design and development ... 7 1.3.1 Scoping ... 7 1.

  • 100 Classic C algorithm 2010-07-31

    Original: 100 electronic version of the classic C Algorithm: 100 classic electronic version of the code C algorithms are indented, see more convenient. C language based learning from the beginning, here is the classical algorithm 100 Title: Classical

  • C-100 classical algorithm 2010-08-27

    Language learning based on classical algorithm 100 C language based learning from the beginning, here is the 100-1C classical algorithm based on language learning from the beginning, here is the classical algorithm 100 Title: Classical problem: a pai

  • AIX 6.1 new features of the RAS, virtualization, storage and file systems, network enhancement, parameter adjustment (reprint) 2010-12-02

    AIX 6.1 new features of the RAS AIX 6.1 in the high-availability, etc. Add the following features: 1, RAS component framework • RTEC (Run-Time Error Checking) to the system hardware and software fault detection • CT (Component Tracing) system for tra

  • java study information kept pushing 2009-05-11

    JAVA Study Data (hematemesis recommend) A. Title: "Thinking in Java" 2e English version of Hou Jie / Wang Jianxing -Translation URL: http://jjhou.csdn.net/thinking-in-java-20010919.pdf B. Title: JBuilder5 English Help file URL: http://www.code-l

  • J2EE Technical 2010-03-29

    A few days ago, was asked: Do you what the most proficient in j2ee technologies. I think j2ee so much a concept. I understand this to understand that a little bit. J2ee do not know what the specific boundaries. Today, search a bit. Found a man in 200

  • Zhang Xiaoxiang J2SE strengthen the self-Notes (25-40) 2010-03-22

    25, the application of reflective array: Array utility class used to complete the reflection on the operation of an array Array // Call the following method public static void main(String[] args) { String[] a4 = new String[]{"a","b",&q

  • Extjs API official introduction and examples of Ext JS 3.1 RC 2010-03-20

    extjs 3.1 API Ext JS 3.1 RC download examples Extjs Introduction (Reprinted) Official Website: http://www.extjs.com/ API: http://www.extjs.com/deploy/dev/docs/ Chinese API: http://www.jshuwei.org.cn/Ext3/docs/ extjs 3.1 API examples download Annex in

  • openapi Introduction 2010-04-14

    Why openapi? Now the Internet is full of information one after another island and a large number of fragmented data, the user would like to know some information must be running around on different websites. Such as movies, first go to movie theaters