Atitit. bigconfirmtips control large data volume prompt confirm control principle and summary O9

Source: Internet
Author: User

Atitit. bigconfirmtips control large data volume prompt confirm control principle and summary O9

 

1. Major technologies involved 1

2. Main process 1

3. Call the new confirmo9t (); 1

4. Set the backtracing event C. backhandle = "window. opener. confirmsubmitbackeventhandle"; 2

5. Set the detailed table display template C. tmplt = "/publish/lookoverdetail_templt.jsp"; 3

 

1. Main technologies involved

 

Cross-page data transfer

Cross-page transfer of JavaScript code

Server table control ..

 

2. Main Process

Pubx. checkoverwrite... (no detailed data session class K)

If (over)

Showconfirmwin ()

 

------ Confirmwin ------

Some MSG: View Details (Link)

BTN: Confirm BTN: Cancel

 

 

Author: old wow's paw attilax iron, email: [email protected]

Reprinted please indicate Source: http://blog.csdn.net/attilax

 

3. Call method new confirmo9t ();

 

VaR MP = DWR. util. getformvalues (formid );

Pubx. checkoverwrite (MP, function (data ){

If (Data = true) // start boot confirm page

{

VaR c = new confirmo9t ();

C. backhandle = "window. opener. confirmsubmitbackeventhandle ";

C. setconfmbackevt (

Function () {$ ("# publishform"). Submit ();}

);

C. tmplt = "/publish/lookoverdetail_templt.jsp ";

// Alert ("befshow ");

C. Show ();

Return;

}

// Backevent ();

});

}

 

/*

O9t for confirm page confirm BTN click

*/

Function confirmsubmitbackeventhandle ()

{

$ ("# Publishform"). Submit ();

}

 

 

4. Set the backtracing event C. backhandle = "window. opener. confirmsubmitbackeventhandle" after confirmation ";

 

C. tmplt = "/publish/lookoverdetail_templt.jsp ";

// Alert ("befshow ");

C. Show ();

 

 

5. Set the detailed table display template C. tmplt = "/publish/lookoverdetail_templt.jsp ";

 

 

Atitit. bigconfirmtips control large data volume prompt confirm control principle and summary O9

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.