Caching swf per page with document.write

To solve "click to activate this object", i use
document.write to put flash files.. But this prevents caching. I
have "the same" swf files for many items on the page, and browser
loads that swf, "item" times. And this triggers my Denial of
Service protection and prevents user from using the site for 10
secs. Well.. What i need is, using a method that prevents "click to
activate this object" but that won't flicker the flash files when
page is loading ( like outerHTML method ), and that allows caches.
At least, fetching the swf once for a page. Any ideas?

create needed structure like first case
what is difference ?
you have report for one invoice
A Invoice: 12345in first and second case
There are variable numbers of sub areas in a business unit and variable numbers of orders per sub area.do you need some formatting?
I need to create a max number of rows per page in the detail area but there are variable numbers of detail groups and lines.what is logic for getting max number of rows?
can you post more info with sample xml structure and sample output plz?

Similar Messages

  • IDCS2 - Print/save seperate pdf files per page (with custom filenames)

    Hi everyone,
    I'm having this issue here. I've created a new document after data merging, this document has 50 pages, every page contains an amount, a code and an image. Now i need to have 50 seperate pdf files, so 1 pdf per page, from this with a file name that goes like this: "ammount_code.pdf"
    Is this possible, if yes, can you explain like I was a 3-year-old kid please? :-)
    Thanks in advance!!

    I don't think there is any nice, automatic way to do this out of the box. It might be scriptable, though, since you could probably pull the amount code for each page that way, but you'd need to ask over in the scripting forum for the fastest response.
    In the meantime, someone asked a similar question last week, and I pointed him to a paid plugin, and you can also export the document to PDF, then use Acrobat Pro to extract the pages to separate files, but at that point I think you'd need to manually rename them to get your codes as the filenames.
    Peter

  • Importing MS Word into PDF adds extra page with document info

    I am still evaluating Acrobat Pro, including Life Cycle Designer to create Forms, currently testing converting existing forms made in MS Word to PDF. There is someting that I do not know how to resolve is when I import files from MS Word, an extra page with details info about the document is copied as well. It contains info such as number of pages, author, date of creation etc....20 lines of info.
    This becomes akward when inserting the document into an existing pdf...or just create a new form from the Word document....adds the extra page ..
    Is there a setup somewhere that I could modify to not have the extra info? or how do I delete it? I try to select the text but cannot (within life cycle)
    Thank you

    If you are importing into Designer, you should ask in that forum. If in Acrobat, then you might try printing the WORD document to a PDF first and importing the PDF. However, with Acrobat you will not get the form fields that you are preserving with Designer.

  • Limit records per page with Report Builder?

    Is there a way with the report builder to limit the number of
    records per
    page? Thanks.
    ...Brad

    I guessing here but there must be a bit of php code that you can edit that limits the number of records to be displayed instead of the default value of 10.

  • Using a swf splash page with muse

    Hi,
    I have a site that was done in Joomla and the start page is index.php, I created a swf that plays and animation and offers an "enter" button that tkaes you to the index.php. So when you go the the site the index.html plays the swf and then you click enter to get to the site... worked great.
    I wanted to get away from joomla with all my sites so I redid this in muse and guess what, I can't figure out how to get the splash page to work. Any ideas?
    The site is szemszem.com .... the original splash page is szemszem.com/index_old.html
    Thanks
    Mike

    Hi Mike
    I believe you have fixed the issue ??
    Thanks,
    Sanjit

  • Monthly  search &  how to display 15 records per page with next & back btn

    hi
    i m trying to find records using select statement.
    i want to get record pagewise. its a simple code. i m sending
    plz if anybody have any solution or suggestion try to solve it out
    one more thing i have a field in my database as a date.
    i want a monthly search. what will be query.
    i'll be thankful 4 any help
    regards
    <html>
    <head>
    <title>search</title>
    </head>
    <body>
    <body bgcolor="#B0C4DE">
    <%@ page language="java" import="java.sql.*"%>
    <form>
    <table width="45%">
    <%
        String param = request.getParameter("Str");
        if(param == null)
           param="";
    %>
            <td width="128"><font color="#800080"><h3>Enter Date</h3></font</td>
              <td width="150">
              <input type="TEXT" name="Str" size="15" />
              <form action="menu01.jsp" method="post" name="ser_chk1.jsp"></td>
              <td>
            <BUTTON name="post" type="submit"><img src="m162.gif" width="25" height="25" border="" alt="Search Now" /></BUTTON></td>    
    </form>      
    </tr>
    </table>
    </form>
    <%  
      if(!param.equals("")) {
       Connection con = null;
       ResultSet rs = null;
       PreparedStatement pstmt = null;
      try
          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
          con = DriverManager.getConnection("jdbc:odbc:database");
          String sql = "SELECT * FROM data, data1  WHERE gate_pass=gate_pass1 AND ser_no=ser_no1 AND nat_ure=nat_ure1 AND ven_dor=ven_dor1 AND sou_rce=desi_g1 AND desi_g=sou_rce1 AND d_o_s LIKE ?";
          pstmt = con.prepareStatement(sql);
          pstmt.setString(1, param);
          rs = pstmt.executeQuery();  
    %>
    <table border="" width="1200">
    <tr>
            <th><font color="#800080">Serial No</font></th> 
            <th><font color="#800080">Nature</font></th>
            <th><font color="#800080">Description</font></th>
            <th><font color="#800080">Problem</font></th>       
            <th><font color="#800080">Vendor</font></th>
            <th><font color="#800080">Employee No</font></th>
            <th><font color="#800080">Employee Name</font></th>
            <th><font color="#800080">GatePass</font></th>
            <th><font color="#800080">Return Status</font></th>
            <th><font color="#800080">Source</font></th>
            <th><font color="#800080">Desigation</font></th>
            <th><font color="#800080">Source Out</font></th>
            <th><font color="#800080">In Desi</font></th>
            <th><font color="#800080">Vendor In</font></th>
            <th><font color="#800080">Vendor Out</font></th>
            <th><font color="#800080">Back Desi</font></th>
            <th><font color="#800080">Employee No</font></th>
            <th><font color="#800080">Employee Name</font></th>
            <th><font color="#800080">Remark</font></th>      
    </tr>
    <%
           while(rs.next()) {
          String serno = rs.getString("ser_no");
          String nature = rs.getString("nat_ure");
          String description = rs.getString("desc_i");
          String problem = rs.getString("prob_lem");
          String vendor = rs.getString("ven_dor");
          String empno = rs.getString("emp_no");
          String empname = rs.getString("emp_name"); 
          String gatepass = rs.getString("gate_pass");
          String retsts = rs.getString("ret_sts");
          String source = rs.getString("sou_rce");
          String desi = rs.getString("desi_g");
          String dos = rs.getString("d_o_s");
          String did = rs.getString("d_i_d");
          String vrd = rs.getString("v_r_d");
          String rfv = rs.getString("r_f_v");
          String dtd = rs.getString("d_t_d");
          String empno1 = rs.getString("emp_no1");
          String empname1 = rs.getString("emp_name1");
          String remark = rs.getString("re_mark1");
    %>
    <tr>
        <td><%= serno %></td>
        <td><%= nature %></td>
        <td><%= description %></td>
        <td><%= problem %></td>
        <td><%= vendor %></td>
        <td><%= empno %></td>
        <td><%= empname %></td>
        <td><%= gatepass %></td>
        <td><%= retsts %></td>
        <td><%= source %></td>
        <td><%= desi %></td>
        <td><%= dos %></td>
        <td><%= did %></td>
        <td><%= vrd %></td>
        <td><%= rfv %></td>
        <td><%= dtd %></td>
        <td><%= empno1 %></td>
        <td><%= empname1 %></td>
        <td><%= remark %></td>
    </tr>
    <%
        finally {
                  if (rs != null) rs.close();
                  if(pstmt != null) pstmt.close();
                  if (con != null) con.close();
    %>
    </table>
    </body>
    </html>

    Hi Shi_san
    for monthly search you can use the below query..
    String qry="Select * from tablename where datefield is between '"+value1+"'" and '"+value2+"' ;for Value1 and Value2 you need to put two fields in your form....and user has to enter value like mm/dd/yyyy .....if you don't want to do that then put one option for user which month he wants to see the data...if user select month March then select value1=03/01/2006 and value2=03/31/2006...something like that...
    now for Next and Back button you must be having uniqueID in your table,,,
    First Time display this query.....
    String disprec="Select Top 15 *  from table1 order by uniqueID DESC ";now you need to retrieve last record's value from this page and pass it into you link of Next Button....
    If you click next button then display below query....
    String disprec="Select Top 15 *  from table1 where uniqueID<val1 order by uniqueID DESC ";c if it works...
    Vishu

  • Since downloading the 2013 Keynote upgrade, the slide image size on handouts with 3 slides per page option is very small. Is there a way to make the slide size larger while still keeping 3 slides per page   lines?

    With the new Keynote upgrade (version 6.1), the slide image size on handouts is very small, which makes it difficult to read slide content when compiling lecture notes for students. Is there a way to make the slide size larger while still keeping to a format of 3 slides per page with lines?

    A number of posts have reported the same issue, two workarounds:
    1
    check the paper handling options or equivalent in your print dialogue box and set to scale to fit

    in the Keynote option, in the dropdown menu in the Print section, select Individual Slides
    then choose Layout, and set the number of pages, when printed you will have multiple pages on a single sheet.

  • How to Control with Maximum Record per Page

    Hi Every one
    how can I control with maximum record per page with parameter sending from Form
    ex.
    if I set parameter with value=15 the report will run 15 rows per page ?
    Can anyone help me Please ASAP ?
    Thankx

    PLay around with SRW.SETMAXROW , from memory that should do the trick.
    Cheers.
    N.

  • Ckeck Writer(XML), more than 1 check per page

    Is it possible to print more than one check per page using check writer (XML)?. Preview looks fine (3 checks per page) but the output of the process that actually prints ( Payroll File Reporter ) keeps sending 1 check per page.
    Thanks in advance,
    Jose

    To do a multiple records per page merge you use only one set of placeholders, in the upper left position. ID will duplicate everything as many times as will fit according to the spacing you set up in the merge options.

  • Pages 'Word' documents can no longer be opened in LibreOffice

    I used to be able to open documents created and  saved as 'Word' documents in Pages with LibreOffice Writer.
    This is no longer possible.
    I can still open documents created with Microsoft office and saved with the .doc extension in LibreOffice Writer.
    Is Pages now saving the documents in a non stanard 'Word' format?
    I have the latest version on the Word App on my iPad and I am using LibreOffice Writer Version 3.6.2.2 (Build ID: 360m1(Build:2))

    No, there was no time-limiting on that feature, it should still be there. It sounds like you're having a problem with Word files no longer being associated with Pages as the default. I'm guessing that dragging a Word file onto the Pages icon on your Dock would open it... is that correct? If so, select a Word file and choose File -> Get Info. In the Open With section, change the selection to Pages and click the Change All button. (Note that this is assuming that the Word files have the appropriate .doc or .docx extension.)

  • Caching problem of javascript with servlet

    Hi guys
    There is a problem of caching with the our project. This project contains two servlets first is getAdServlet and second is richMediaServlet. getadservlet is called thru <script src=""> following is the code:
    <script LANGUAGE="JAVASCRIPT" src="http://192.168.1.6:8080/advert_java/servlet/GetAdServlet?region=1&zone=1&type=nossi&cachevar=yes">
    </script>
    getadservlet returns the javascript statments. These javascript statments are able to create an <iframe>. Now cotents of the iframe are supplied by the second servlet ie richMediaServlet. This servlet is called like
    iframeURL = fullHttpDir+"/servlet/RichMediaServlet?";
    iframeURL += "bannerCode="+ RNBanner;
    iframeURL += "&cachebust="+ cachebust + refresh+"&getAd=y";
    iframeURL += "&hheight="+hheight+"&wwidth="+wwidth;
    out.println("document.write(\"<iframe src='" + iframeURL + "' height=" + hheight +" width="+ wwidth + " SCROLLING=no FRAMEBORDER=0 MARGINWIDTH=2 MARGINHEIGHT=2 onfocus='window.focus(); return iframeFocus()'>\");");
    out.println("document.write(\"</iframe>\");");
    This richmediaServlet returns HTML into <iframe>. when richmediaservlet is called, a parameter 'bannerCode' is passed. then richmediaServlet fatches the banner from the database and displays the banner into the <iframe>.
    Now the problem is when i run the html file containing the script tag mentioned above, and supply different bannerCodes from getAdServlet to richMediaServlet then first banner is cached and displayed every time.
    i have also used the following code to prevent the caching of both the setvlets
         long currentTime = System.currentTimeMillis();
         response.setHeader("Cache-Control", "no-cache, must-revalidate");
         response.setHeader("Pragma", "no-cache");
         response.setDateHeader("Last-modified", currentTime);
         response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");
    and following in the iframe's head tag before the iframe tag in the getAdServlet.
    out.println("document.write('<head>');");
    out.println("document.write('<meta http-equiv=\"Cache-Control\" content=\"no-cache,must-revalidate\">');");
    out.println("document.write('<meta http-equiv=\"Pragma\" content=\"no-cache\">');");
    out.println("document.write('<meta http-equiv=\"Last-modified\" content=\""+ currentTime + "\">');");
    out.println("document.write('<meta http-equiv=\"expires\" content=\"Sat, 6 May 1995 12:00:00 GMT\">');");
    out.println("document.write('</head>');");
    this problem does not arises when i call the getAdServlet from a testServlet and run the testServlet thru get request.
    pl tell me what's wrong i m doing.

    First, post your code in tags if you want people to read your code...

  • "Layout" option in iPhoto 09 - multiple photos per page

    I am trying to printing several different photos on a single page. While I can achieve this by selecting a smaller image size and letting iPhoto arrange them automatically I would like to adjust the layout. When I selected "Layout" (under "customize") earlier I was offered layouts for One, Two, Three etc. images per page but now I can't find how to get iPhoto to offer more than One image per page. Am I doing something wrong? With several pictured selected, how do I customize the layout?
    Thanks
    Duncan

    Thanks - That is what I figured but the strange thing is that when I clicked on "Layout" 20 minutes before I posted this question it offered me page layout options for "One", "Two" "Three" and "Four" images per page with different configurations for each......but now I can't get those options - frustrating! And thinking about it, why would it say "One" under layout if there were no other options available?
    Has anyone else experienced this? Do other iPhoto 09 users get multiple images per page options under "Layout"?
    Thanks
    Duncan

  • Printing 6 slides per page in Portrait orientation?!

    Hello,
    I have iWork '08. In the past I always printed 6 keynote slides per page, with the page oriented in portrait orientation. However, now it refuses to do that. Even when I have changed the orientation to portrait in the page setup (under 'File'), it refuses to use that orientation when I print. In the print settings I use individual slides, and then in layout I tell it to print 6 slides on a page. At 1, 4, 9 and 16 slides per page, it does use portrait orientation. At 2 and 6 slides per page it suddenly uses landscape orientation. I have checked and checked again, but the page orientation cannot be changed within the print menu. Only in the page setup under file, which doesn't help at all.
    Why does it do this and how do I get rid of it?! I want to print 6 slides on a portrait oriented page!
    Thank you.

    Hi Azoolkool, I figured it out, so here goes: Under Keynote open your file, make sure your View is set up as Navigator view; this way you can see the mini-sidebar on your left side. On the individual slides highlight the slides you want printed by holding down the shift button and click on for example 7-12.
    Now click on File>Print, go to pages and enter in section From: 7 to: 12, Right under this area u should see Keynote drop down bar and on the bottom left area it states: PRINT with some options there, just check off "Individual Slides". To the right of the print section it should state OPTIONS; to keep your slides in color remove the check on "Don't print slide background or object fill". Do check "Add borders around slide" and "Use page Margin".
    Under the FROM and TO page area where you put 7 and 12 in - there is a drop down bar that defaults to Keynote, click on this and go to PAGE ATTRIBUTES to change your page orientation to portrait or landscape. Once done proceed to next step and click on PDF on the lower left hand side and enter into "OPEN PDF IN PREVIEW". It should default to the 7th page as full screen along with the sidebar appearing.
    Now click on File in the preview menu bar and then PRINT - Now uncheck the AUTO RATE and now check the "SCALE TO FIT" - "FILL ENTIRE PAPER". Then below that where it says images per page , change it from 1 to 6 and notice the print preview with six slides on one page. Now hit PRINT on the lower right hand side...
    Hope this helps, I had to learn the hard way today "Trial and Error" as the manual does not state this clearly. Also I'm sure there is a better way but no one has responded yet. Let me know if it works.
    Regards

  • How to print multiple sheets per page?

    Please advise how, if it is possible, to print multiple sheets per page with Acrobat 7.0 Pro.<br /><br />I have a PDF that's about 24" x 60". I'd like to make a "poor man's poster" by printing on several pages and taping them together -- sort of like Microsoft's "Fit to <x pages> tall by <y pages> wide" feature. Can this be done with Acrobat 7.0 Pro?<br /><br />Thanks.<br /><br />-Kurt

    That is typically a function of the print driver for Acrobat. One way to do it is to print to a new PDF and select the printer properties and select multi-up. Bill

  • 1099 Two forms per page

    We are looking for a PDF template solution where we can print two 1099 forms per page. I can see there is an Enhancement Request BUG 7604141 but we need a fix sooner than that may become available.

    Our organization is having this issue with the new Adobe forms that were released. The 1099 smartforms print 2 forms per page but the 1099 adobe forms are only printing 1 form per the OSS  note that was just released - Note: 1949022. Is there somewhere in config that we can select to print 2 per page?
    We are using IDWTCERT_US_1099MISC which will print just 1 form per page ( we also had to make some adjustments because the top gets cut off...)
    form IDWTCERT_US_1099MISC1 will print 2 forms per page but it is not a new vendor that prints on the form it is a copy of the first on the page
    The 1099 Interest adobe form prints 2 per page with IDWTCERT_US_1099INT - this is curious too because the smartform prints 3 forms per page
    Has anyone else experienced this issue? Do you know how to resolve it?I am considering putting in a problem report.
    Thank you

Maybe you are looking for