Inserting pages problem

Hi,
I am using sections and I ran into a problem inserting pages. When I insert pages it adds the pages to the right side of the binding. Can anyone help with this problem.
Thanks!

You get more control of where the page is inserted if you go to: Layout>Pages>Insert Pages.
Ariel

Similar Messages

  • Problems with JSF&Tiles (displaying twice one inserted page in tiles)

    I'm using Tiles framework withih Dynamic Web Project in Websphere (WSAD 5.1.1), the project is based on JSF.
    - included tiles.jar in WEB-INF/lib directory
    - in web.xml defined servlet action as: <servlet>
              <servlet-name>action</servlet-name>
              <display-name>TilesServlet</display-name>
              <servlet-class>org.apache.struts.tiles.TilesServlet</servlet-class>
              <init-param>
                   <param-name>definitions-parser-validate</param-name>
                   <param-value>false</param-value>
              </init-param>
              <load-on-startup>2</load-on-startup>
         </servlet> - also to Faces Servlet set value "load on startup" on 1
    - added struts-tiles.tld to WEB-INF folder
    - then I created index.jsp: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML>
    <HEAD>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
    <%@ page
    language="java"
    contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"
    %>
    <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <META name="GENERATOR" content="IBM WebSphere Studio">
    <META http-equiv="Content-Style-Type" content="text/css">
    <LINK href="theme/Master.css" rel="stylesheet"
         type="text/css">
    <TITLE>index.jsp</TITLE>
    <%-- jsf:codeBehind language="java" location="/JavaSource/codebehind/index.java" --%><%-- /jsf:codeBehind --%>
    </HEAD>
    <f:use_faces>
         <BODY>
         <TABLE border="1">
              <TBODY>
                   <TR>
                        <TD>
                             <tiles:insert page="/menu.jsp" flush="false"/>
                        </TD>
                        <TD>
                             <tiles:insert page="/content.jsp" flush="false"/>
                        </TD>
                   </TR>
              </TBODY>
         </TABLE>
         </BODY>
    </f:use_faces>
    </HTML> - menu.jsp and content.jsp inserted in index.jsp are not the same, and here is code for menu.jsp: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx"%>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <HTML>
    <HEAD>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ page
    language="java"
    contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"
    %>
    <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <META name="GENERATOR" content="IBM WebSphere Studio">
    <META http-equiv="Content-Style-Type" content="text/css">
    <LINK href="theme/Master.css" rel="stylesheet"
         type="text/css">
    <TITLE>menu.jsp</TITLE>
    <SCRIPT type="text/JavaScript" language="JavaScript"
         src=".ibmjsfres/hxclient.js"></SCRIPT>
    <LINK rel="stylesheet" type="text/css"
         href=".ibmjsfres/css/stylesheet.css" title="Style">
    <%-- jsf:codeBehind language="java" location="/JavaSource/codebehind/menu.java" --%><%-- /jsf:codeBehind --%>
    </HEAD>
    <f:use_faces>
         <BODY><hx:script_collector>
         <h:form formName="form1" id="form1"><P><hx:panel_actionbar
                        id="actionbar1"><hx:panel_actionbar nestedTitleText="Sub-Panel Label" id="actionbar2"><hx:command_buttonex label="Command Label" id="button1" action="go_page01"></hx:command_buttonex><hx:command_buttonex label="Command Label" id="button2"></hx:command_buttonex></hx:panel_actionbar><hx:panel_actionbar nestedTitleText="Sub-Panel Label" id="actionbar3"><hx:command_buttonex label="Command Label" id="button3"></hx:command_buttonex><hx:command_buttonex label="Command Label" id="button4"></hx:command_buttonex></hx:panel_actionbar></hx:panel_actionbar></P></h:form>
         </hx:script_collector></BODY>
    </f:use_faces>
    </HTML>The problem is when I run application on server and go to index.jsp the resulting page is containing two times menu.jsp, instead once menu.jsp and once content.jsp.
    Also when you click on buttons in "second" menu.jsp it's like it was clicked on the "first and the original one". When you click navigation rules do apply.
    Can anyone help on this?
    Message was edited by:
    DeYo

    I haven't solved problem yet but so far I realised this:
    - the problem is that both menu.jsp and content.jsp have forms, with tags: <h:form formName="form1" id="form1">.
    I've tried renaming form and id, but it didn't worked, alo tried changing scope of managed beans for the two inserted jsp pages - still nothing.
    - also if the content.jsp is not containing form but other JSF components like Image or Hyperlink, that components are not being shown/rendered.

  • Insert and then show the result and refresh page problem

    hi all,
    I collect the form value and put them into db, and then display this student 's inform out from db including the one we just submit, first I do it on this way
      insertpayment(UserId, FeeType, DuteDate, OfficerReason, OtherReason, CompleteDate,
                            InterviewDate, ApprovalDate,PaymentYear);
                   studentRecords= getFound(UserId);
                     userSession.setAttribute("studentRecords", studentRecords);
                     RequestDispatcher disp;
                   // disp = getServletContext().getRequestDispatcher("/WEB-INF/jsp/   studentRecords= getFound(UserId);");
                     disp = getServletContext().getRequestDispatcher("/showPayment");
                    disp.forward(req, res); then whenever I refresh my showRecords.jsp" I call the insert function. THAT IS HORRIABLE.
    I try to move the studentRecords= getFound(UserId); to my showPayment servlet and then forward the result to showRecords.jsp, but I alwarys get error
    PWC4011: Unable to set request character encoding to UTF-8 from context /report, because request parameters have already been read, or ServletRequest.getReader() has already been called
    How should I handle this kind of problem??

    Karan, thank you for the link, i read a few articles, I only get the sample part part use res.sendRedirect("/myfolder/showPayment"); in my insert servlet and use forward to display the page
    userSession.setAttribute("studentRecords", studentRecords);
                  RequestDispatcher disp;
                  disp = getServletContext().getRequestDispatcher("/WEB-INF/jsp/secure/admin/showRecords.jsp");
                   disp.forward(req, res);   
    this solute the refresh page problem, but bring the new problem I can't use the following way to disable the back button. not the perter solution
    maybe I did not understand PRC more advice!!
    response.setHeader("Cache-Control","no-cache"); //Forces caches to obtain a new copy of the page from the origin server
    response.setHeader("Cache-Control","no-store"); //Directs caches not to store the page under any circumstance
    response.setDateHeader("Expires", 0); //Causes the proxy cache to see the page as "stale"
    response.setHeader("Pragma","no-cache"); //HTTP 1.0 backward compatibility

  • Insert pages from a single document multiple times

    I'm trying to create a simple program that I can use to display PDF files that I can use to play at the piano. I perform often, and need to create "play lists" from which I can pull all, or part of, a PDF file containing music and display it.
    I have it all working, except for one problem. I may need to "repeat" a section of a piece. I'm building up the play list by calling AcroPDDoc.InsertPages for each item in the play list. If a PDF file appears multiple times in the play list, when I call InsertPages, the call fails.
    In this code snippet, pdDoc is the main doc to which I'm adding pages. playList is a generic List of my own PlayList objects, and I need to iterate through all the items in the playList except the first one, which is already loaded.
    This code works great unless the fileName I specify has already been opened. The call to AcroPDDoc.Open succeeds just fine, but the call to pdDoc.InsertPages fails if the file has already had pages from it inserted. All other documents work fine. The documentation, of course, doesn't mention this.
            int insertPage = pdDoc.GetNumPages() - 1;
            for (int i = 1; i < playList.Count; i++)
              var newDoc = new AcroPDDoc();
              var item = playList(i);
              int startPage = 0;
              int endPage = 0;
              if (newDoc.Open(item.fileName))
                startPage = Math.Max(0, item.startPage);
                endPage = Math.Max(0, item.endPage);
                var totalPages = newDoc.GetNumPages;
                if (item.endPage < 0 || item.endPage > totalPages)
                  endPage = totalPages - 1;
                int numPages = (endPage - startPage) + 1;
                if (pdDoc.InsertPages(insertPage, newDoc, startPage, numPages, 0))
                  insertPage += numPages;
    So, the questions:
    1.) Is it possible to load pages from a single document multiple times?
    2.) Is there a better way to do this? (That is, loop through a list of file names, starting and ending page numbers, and add the documents to an existing document.)
    Any help appreciated! Thanks -- Ken

    Hi Ken,
    >The documentation, of course, doesn't mention this.
    The documentation does not state explicitly that you can't insert pages again from a PDDoc you open again and never close.
    But it mentions that you get references only from an already opened PDDoc.
    "...Opens the specified document. If the document is already open, it returns a reference to the already opened PDDoc. You must call PDDocClose() once for every successful open..."
    It doesn't state that you can't insert pages from a referenced PDDoc but it seems so.
    I would close the PDDoc within your for-loop after inserting pages and release newDoc.
    Regards
    Norbert

  • I have Adobe Pro 9 and I can't insert pages into a PDF created by Adobe Pro 8

    I've looked at the other discussions about not being able to insert pages into a PDF, and tried all the suggestions, but to no avail. I think the problem is that the original PDF was created in Adobe 8, and I have Adobe 9. When I open the PDF in Adobe Pro 9, the security screen says that editing is not allowed, and the screen is greyed out so that I can't change the settings. When I open the same PDF in Adobe Pro 8, the security screen says "No Security". 
    I also checked the "Documents" screen in Edit -> Preferences, and changing the "View Documents in PDF/A" to Never doesn't help.
    Does anyone have any suggestions?

    That would be a question for Adobe support. Firefox does advise users when their Acrobat plugin is out of date, but the actual update is done by Adobe.

  • Making a PDF with LiveCycle then being able to edit pages, insert pages, delete pages, attach files to document, be readable in Adobe Reader etc.

    We have been working for some time with LiveCycle to creat a documents and have experienced a host of problems with the end product.
    1.  Images inserted into the LiveCycle PDF document often come up as "broken links" after editing the document and resaving it.
    2.  Documents will not display in Acrobat reader unless a digital signature is applied to them and the document is re-saved.
    3.  After making the document, we are unable to use Adobe Pro to insert pages, delete pages, or insert files into the document as attachments.
    The end state was to use the simplicity of LiveCycle to create a document and do most of the hard work, and then save it as a PDF document that could be easily edited with Adobe Pro.  It has proven difficult, to say the least, to figure out how to make this work.
    Thanks in advance for any assistance.

    1- Thank you
    2- It only seems rational that if I make a form with LiveCycle that I should be able to view it with Adobe Reader or Adobe Pro.
    Making a form with LiveCycle to be distrubuted to personnel internally that have Adobe Reader and Adobe Pro and cannot open it without it having a digital signature field in it that has just recently been signed just doesn't make sense.  Nor does it seem to make sense to have to purchase 200 additional licenses just for LiveCycle so that people can open a PDF that was made with LiveCycle.  If I make it in LiveCycle and only people with LiveCycle can open it, what is the purpose of making it to begin with?
    3- This also totally sucks.  In a standard Adobe Doc I can at least attach documents to it?
    So, what, exactly then, is the purpose of LiveCycle if the only benefit it seems to provide is ease of creation, but the end product has way less functionality?
    And how do I go about contacting an Adobe rep on the phone in regards to this without getting "there is no support for this product, go to Adobe.com"
    We have millions of dollars of Adobe software and can't get support other than hunting and pecking in these forums?  Really?

  • Unable to Insert  Pages

    I have Adobe Acrobat 8 Standard v 8.1.2
    I am using Windows XP
    Using my older version of Adobe I was able to insert pages with no problem. With my recent upgrade I am no longer able to do this. For example: I make a purchase. I convert the email confirmation of the order to PDF. Then I convert the PayPal confirmation to PDF. I want to file the two together for a complete receipt. Both are converted using my existing Adobe software.
    When I attempt to *Insert Pages*, instead of the page, I get a box with a message, as follows:
    "Multiple files are bound together in this PDF Package. Adobe recommends using Adobe Reader or Adobe Acrobat version 8 or later to work with documents contained within a PDF Package. By updating to the latest version, you'll enjoy the following benefits: (blah blah blah). Dont have the latest version of Adobe Reader? Click here to download the latest version of Adobe Reader If you already have Adobe Reader 8, click a file in this PDF Package to view it."
    There is no PDF package. It does not combine the two files. I clicked on Help .. Check for Updates .. and it tells me that I do not need any updates.
    Can you help me with this problem? Thanks so much. :-)

    I've found the best way to insert pages in a PDF is to show the "Pages" pane on each PDF you have open and drag the page from one to the other via the pane window.
    Have you tried that instead of via the menu?

  • Lion Preview can't delete or insert pages to a PDF document

    I have the following problem: I open a PDF file in preview. I delete some pages as I used to in snow leopard. Then I save it. The document's page count changes to the correct number in the window title bar. However, if I open the saved version after closing the current window I see that nothing is saved at all! The same thing happens when I try to insert pages to a PDF document. Looks like everything is fine, but when I close and reopen the document no changes are saved. The weird thing is file is modified, i.e. preview saves something but not my changes. It just re-saves the original document.

    NUMACER's answer worked for me as well guys ! Didn't need to save a version, it just keeps it like that. I tried saving a version which saved on the same file instead of creating a new one (i know that since I saw the "Last modified" thing being updated at the same time) !
    Thanks Numacer

  • Cannot insert page numbers in Word for Mac 2008

    When I select "insert page number" from the insert menu, nothing appears. I am in email communication with Microsoft support to try to understand why this function isn't working correctly, but so far have no solution, so I wonder if anyone on this list has an idea about what could be happening. I never had this problem with Word 2004, and installed Word 2008 a few weeks ago.
    Whitney

    The funny thing is that it is ONLY your user account. So I would advise perhaps, after all to reinstall office:
    1) quit all office apps
    2) remove items (put on desktop but do NOT yet trash!):
    a) startupdisk (NOT homefolder!)/library/application support/MICROSOFT (add a "TOP" to Microsoft, by renaming it, so you know it came from the top level start up disk; then move iten "MICROSOFT TOP" to trash - but do NOT empty your trash!)
    b) homefolder(this is your actual login account or folder)/library/application support/MICROSOFT (put this second microsoft folder onto desktop, rename to "MICROSOFT SECOND", then move to trash)
    c) then go to homefolder/library/preferences/ where you find a THIRD microsoft folder (you can move that straight to trash)
    d) stay in preferences and further up, you'll find around 10 or so "plist" items, all starting with "com.microsoft...." (put them all in trash)
    FINALLY!: remove microsoft from your applications folder itself (put into trash)
    Do NOT empty your trash can, so your old MS items are still in there.
    Reinstall office.
    That is the safest way I can think of you doing it.
    Let me know how you get on.

  • Pivot Table, "Insert Page Break After Each Item" Setting Only Works for the First Item Change

    I have a flattened pivot table generated from Powerpivot and I would like to insert a page break for each change in the row item.
    When I use the pivot table Field Settings>Insert Page Break After Each Item, Excel inserts the first page break then returns to normal pagination for the rest of the output.
    Is there another setting required to maintain the page breaks after the item change?
    Thanks.

    We are experiencing the same problem. Did you ever find a solution?

  • Where's "Insert Pages" in iWork's Pages 2013?

    In Pages 2009, we were able to see all of the different styles of pages by clicking on the "Pages" icon with that "+" sign at the top of the document or we could go to Insert > Pages to see the array of page style options to choose from. Has the location changed? Or do we no longer get a set of pre-styled templates beyond two pages anymore?

    Pages 5 has abandoned the multi-section template model that allowed you to do this in Pages 4.3.  It is a major change in document format, and is causing problems for many - especially those used to using the features it enabled (such as being able to 'insert pages' within a document).
    In Pages 5 it seems a document is simply a single text stream - imagine something in TextEdit.  So if you want to add pages within a document, really all you can do is put in some page-breaks within the text.  If you want to move a block of pages from one part of the document to another, you have to select the text within the edit window and cut or copy the text, pasting it back in where you want it to appear.
    It is not clear how, for example, you would copy a block of pages from one document to another - presumably you have to copy the text from within the first document, and place cursor within second document before pasting.  This gets the text across, but less clear what happens to the page format of the source document - I suspect (but have not tried) that it gets lost during the pasting - and the text ends up being formatted using the section format settings of the receiving document.

  • Can't delete or insert pages, help?

    I have made some corrections to a Word document that I previously made into a pdf document.
    I saved the Word document to a new pdf with a new file name.
    However, this time Adobe will not allow me to delete pages nor to insert pages nor to alter the text in any manner.
    Those options are all greyed out.
    I do not have the original word document on any kind of required permissions.
    For some reason, the pdf has missing text at the top of 3 pages in succession. I'm trying to delete those 3 pages and replace them with a page one at a time.  I had to do this once before to the earlier version, but that time I was allowed to add and delete.
    Please tell me how to fix this annoying problem.
    Many thanks.

    You inadvertently created a PDF/A document.  It's probably selected in your PDFMaker Joboptions settings. Now in Acrobat 9.x it is the default to view in "PDF/A" mode which does not allow editing.
    To workaround the editing issue in Acrobat:
    1.  Go to Edit>Preferences>Documents>PDF/A View Mode
    2.  Select "Never" from the pop-up menu.
    3.  Click the OK button
    Now you should be able to do what you need to do.

  • Adobe Acrobat 8 - Inserting pages

    I have Adobe Acrobat 8 Professional and for some
    reason when I insert a page it does not insert that particular page where it is suppose to.  For example, I went to page 13 and inserted
    page 14 after page 13 and it actually inserted as page 4.  Any ideas
    as how I can fix this?
    Thanks
    Sheila

    I am having a similar problem.  When I highlight the pages I want, in the correct order and enter the pages as a group under a single cover page, the pages reverse the order on the insertion.  Example:  Tables - Insert tables 1 through 8 after the Tables page.  The inserted pages start with table 8 and end with table 1 - in the reverse order.  I can, obviously, inset them one at a time, but it should be faster to insert them as a group.
    Since the tables are named table 1, table 2, etc. and that is how I select them, they should go in the right order.  This seems to be a recent problem which I have not had in the past with inserting pages into a document.

  • X pro crashes when inserting pages

    Running windows XP, up to date. Acrobat X pro, no updates available. I have inserted pages and combined files for years without issues. Today, it locks up and crashes once I select the file(s); it doesn't even ask where to insert the pages. I am at a loss as to what I can do besides uninstalling and reinstalling the program.

    I have encountered the same problem. and uninstalling and reinstalling did not do any help. my operation system is Windows 8.

  • TOC. Insert page. TOC contents is on page 1. Upon export it is last page ??

    Hi again,
    I am using a set of tutorials that outline how to create my ePub TOC.
    I used this method successfully for my last ebook.
    This time, I am subdividing my TOC.
    The TOC links are NOT Chronologically based by the chapter sequence
    but based upon a Subject.
    A fictional TOC example follows.
    Locations
        Alaska
        Hawaii
        California
        Maine
    Time periods
        1700s
        1800s
        1900s
        2000s
    PROBLEM.
    I needed to add or rather insert a page at the very beginning of my document (page 2) so that I could physically type in the TOC Contents as above.
    Layout > pages > insert pages > insert after page 2.
    When I export this....
    The TOC Contents is the very last page of the ePub.
    But in my inDesign Document it is on page 1.
    QUESTION 1.
    Can someone explain this please  ?
    Thanks again.
    I have the Indesign 800+ page PDF but there is not anything on TOC.
    Thanks again.

    It probably has something to do with how your text boxes are connected in InDesign. You need to put the table of contents in the "flow" of the book.

Maybe you are looking for

  • My Ipod Touch 4 is not charging.

    Today I needed to charge my IPod Touch 4th generation. I went to go plug it in with the same USB cable and the same outlet adapter i always use in the same power outlet I always use, and never have had a problem with. However when I plugged the Ipod

  • Linking text boxes in Pages v5.5.1

    My old Pages, '09, was able to link text in text boxes. I just upgraded to Yosemite, and then to Pages v 5.5.1, and now, when opening my old newsletters, the text boxes unlink, and I can not find a way to re-link them. I need to have text boxes linke

  • How to bind Dimension data to SDK Component

    Hi Guys, I am trying to create a Cascading box component with the help of SDK development using eclipse. I don't know how can I get the dimension data to my component. when I am using data binding property type as "resultCellList" then I am able to b

  • Why cannot execute DB operation at client side with dynamic proxy?

    I want to execute a DB operation at client side with dynamic proxy. that is bypass EJBs to execute DB operation. And there is a data source in weblogic server, and I get an EJB instance using dynamic proxy, get connection using this instance, then in

  • Sound not matching recording Captivate 7

    I just completed my first recording with a SME (subject matter expert) and am running into some major issues. The recording does not match the sound. I had the SME record the audio as they were simulating the software. All of the audio is playing but