EXTJS between different pages-value problem (the data without the background, obtained through the page)

2010-11-01  来源:本站原创  分类:Web  人气:145 

; Implement a feature in a page A click of a button】 【jump to another page (this page is public because there is a page, usually a separate page, such as the attachment of a js in the cxgl.js) into the attachment inside 1.png when Click OK】 【will point out a page, select the products on this page to see after the breakdown of the history 【】, the assets will be A page in the code, fill dddde;

The main code snippet:

var win = new Ext.Window ({

id: "win",

title: "window1",

modal: true,

width: 300,

height: 200,

/ / The package to be achieved in a iframe in page, and change the setting iframe id

/ / This process can refer to http://topic.csdn.net/u/20100811/10/243cb967-065c-4ee3-9ace-6713ad5d5c77.html

html: "<iframe src='../view/cxgl.html' height='100%' width='100%'>"

});

A page by win.show (); transferred out of this page

At this point in the page using the following function sets the value of B

/ / Set formpanle which complment component id 1234

parent.document.getElementById ('1234 '). value = "dddde";

/ / Close the page B

parent.Ext.getCmp ('win'). close ();

相关文章
  • EXTJS between different pages-value problem (the data without the background, obtained through the page) 2010-11-01

    ; Implement a feature in a page A click of a button] [jump to another page (this page is public because there is a page, usually a separate page, such as the attachment of a js in the cxgl.js) into the attachment inside 1.png when Click OK] [will poi

  • ExtJs Grid display a large amount of data efficiency 2010-09-15

    ExtJs Grid display a large amount of data efficiency June 3, 2009 Wednesday 12:00 One grid, need to take regular ajax data, about 500 lines. Now with ajax response function which is probably similar to the following method to update store.each (funct

  • Use jquery's ajax method, post the data from the client to the server segment. How to deal with the problem of data serialization 2010-05-30

    <! DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Transitional / / EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> </ titl

  • Extjs page using ExtJs RowNumberer in GripPanel the problem of increasing self- 2010-11-08

    ExtJs Grid paging number if you use ExtJs RowNumberer for that, by default, each page is from a starting number, which is often not in our habits. This implements the serial number automatically increases. Implementation steps are as follows: 1, defi

  • Solution FireFox Sync 1.6 can not use the old version after the upgrade the problem of data 2010-12-24

    Yesterday, a small book reinstall the system, the system installed, installed after the FF install FireFox Sync, set up an account on the life and death than the previous data synchronization. So began the world to Google. That hard effort, the origi

  • The guide is entangled problem ora-12524 data address is occupied 2011-03-16

    Today from sqlserver2005 database into oracle 10g database, began to report jvm heap memory is not enough to modify the maximum memory error, or after. Reported that the network connection is interrupted, you can only lead more than 4,000 pieces of d

  • java in the switch statement can handle the problem of data types 2010-04-11

    Can only handle int, byte, short, char, (in fact can only deal with int, the other three is promotion to int type) can not handle string

  • Mandatory for each combobox to obtain data from the background 2010-06-22

    combobox load data after the first, do not go down to get the data back, we can check every time before, set combo.lastQuery = null (which would lead to expand the drop-down item next time, store the event to trigger reload .) Code: var combo = new E

  • PHPnew aid station (simple style theme management system) 2010-12-17

    Concise style theme management system CMS Features: 1: Unlimited categories. 2: The three characteristics of the theme display. 3: ubb safe storage, adding features editor. 4: full-featured management and expansion of the background 5: All stations i

  • displaytag paging method of the database and export data deal with the problem 2010-04-06

    displaytag Database Paging method and deal with the problem of data derived Articles Category: Java Programming Recently with the use of springside struts2 + spring2.5 + hibernate3 a project, in order not to reinvent the wheel (in fact, lazy, and the

  • EXTjs pages of conditions to check 2010-10-06

    var store = new Ext.data.JsonStore({ url : "supplier_queryListUp", root : "rows", totalProperty:"totalProperty",// The total number of articles fields: [{ name: 'id' },{ name: 'supplier' },{ name: 'linkmanName' },{ name: 'lin

  • Mysql data restore problem (minor problem plagued me for a long time) 2010-02-25

    Before a project database is Mysql, but because the home did not know how, my T400 is a system crash, and is not so easy data recovery SqlServer, Mysql, after all, but were also left script. Sql files, psychological no hurry, and today installed Mysq

  • java code for the return JSON or XML data (extJs) 2010-06-10

    package com.hrm.util; import java.util.ArrayList; import java.util.List; import net.sf.json.JSONObject; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstream.io.xml.DomDriver; /** * Title: Ext JS Auxiliary classes * Description: Th

  • ExtJs of Ext.data.Store 2010-12-17

    ExtJs of Ext.data.Store Because the last used Ext.data.Store, feel very important, it reprinted an article http://blog.csdn.net/davidxj/archive/2009/04/23/4103647.aspx The basic usage Ext.data.Store Before use, the first instance to create a Ext.data

  • In the master page and child to pass data between pages 2011-06-01

    In the master page and child to pass data between pages The introduction of data MyMasterPage.master <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MyMasterPage.master.cs" Inherits="MyMasterPage" %>

  • jquery load data timeout - WebSphere run page problem solving 2010-06-05

    Huan run under tomcat with jquery But in the time-out error websphere continually reported. Tested and found to have access to data in the background, and packaged into a json data, jQuery unsuccessful access to data jdk1.4, websphere6.0, jquery 1.3.

  • Pages 14 to accelerate the optimization of the rules 2009-03-13

    Rule 1. To reduce the number of HTTP requests 80% of the end-user response time spent on front-end process, but most of their time is spent on the various page elements, such as images, style sheets, scripts, and Flash, etc. of the download. To reduc

  • Using Extjs in IE "Access Denied" 2010-03-10

    Using Extjs on IE "Access Denied" problem: IE security level is too high Tools - internet Options - Security - Custom Level - Other - access to the data source through the field is set to be used on it

  • 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.

  • Massive Data Processing Summary 2010-04-25

    I actually work in the honor of access to vast amounts of data processing issues, processes is an arduous and complicated task. Reasons to Under several aspects: 1, data overload, data and anything possible. If there are 10 data, then the big deal on