How to set multiple Last page placement in a page set

Problem statement
Form with the 4 subforms named A to D. A turns B on or off, D is only visible when printing.
When viewing the form interactively
I need the following order (number in brackets indicates columns):
When printing the form I need the following order:
A (2)
C (2)
A (2)
C (2)
A(2)
B(1)
C(2)
A(2)
C(2)
D(1)
I can do this just fine with some fancy scripting.
However, the problem is that on the last page must appear a box in the lower right hand corner.
This must appear in the same place no matter which is the last page.
As you see above, sometimes the subform C is the last page and sometimes D.
Of course I have two master pages, MasterTWoColumn and MasterOneColumn and they are applied to the appropriate subforms.
I can create another master page and name it MasterTwoColumn-Last and set the pagination so that the placement is Last page (in Page Set).
On this last master page I put my box and adjust the content areas to allow for it. This works perfectly when viewing and printing subforms A to C.
However, when I need to have subform D as the last page displayed, I really need another Last Master page so that I can adjust the content area to show the box on the last page (which only has one column).
But how to turn off the MasterTwoColumn-Last master page and turn on the MasterOneColumn-Last ?
Something to do with Page Sets perhaps???

This looks very helpful, thanks Niall.  This seems like the right track for me to solve my problem.
However it does not quite work when the page layout is two columns.
I actually need to detect when the last subform C is being displayed in the left hand column, then add sufficient space to force it to show in the right hand column (following your suggestion of a spacer subform that has its size set dynamically).
Since the form is flowed, I understand that I have to use xfa.layout.x(this) , instead of this.x. This is ok if I can just get an actual number......
In my tests, I have been unable to discover what is the layout.x value of the spacer form. When using the
     console.println("x = " + xfa.layout.x(this));
it always shows me a value of zero (0).
   I have tried lots of other printlns to show the x value up the tree (this.parent.x, this.parent.parent.x, etc) and it always gives me a zero.
My spacer form is the following relationship to the form object.
     form.printSubForm.footerSubForm.spacerSubform.
console.println("x = " + xfa.layout.x(this));
console.println("parent.x frm 0 = " + xfa.layout.x(this.parent, "pt", 0));
console.println("parent.x frm 1= " + xfa.layout.x(this.parent, "pt", 1));
console.println("parent.parent.x frm 0 = " + xfa.layout.x(this.parent.parent, "pt", 0));
console.println("parent.parent.x frm 1 = " + xfa.layout.x(this.parent.parent, "pt", 1));
console.println("parent.parent.parent.x frm 0 = " + xfa.layout.x(this.parent.parent.parent, "pt", 0));
console.println("parent.parent.parent.x frm 1 = " + xfa.layout.x(this.parent.parent.parent, "pt", 1));
Anything else I could try?

Similar Messages

  • How to embed multiples HTML5 videos onto simple web page?

    How to insert multiples HTML5 videos onto single web page?

    I recommend Pickle Player -- one player can support playlists of MP4 or M4V video files.
    http://www.pickleplayer.com/
    Nancy O.

  • How to load multiple HTML5 canvas on the same page (the proper method)

    Hi,
    I've been struggling to load multiple canvas animations on the same page. At the beggining I thought that exporting the movies with different namespaces and reloading the libraries in a sequential flow might work, but it doesn't. It always loads just the last animation loaded. More info here: Coding challenge: what am I doing wrong?
    Here is a sample of what I'm doing:
    1st: Publish two flash movies with custom namespaces for "lib" set in the "publish settings": "libFirst" and "libSecond".
    2nd: Edit the canvas tags in the HTML page. One called "firstCanvas" and the other one called "secondCanvas"
    3rd: Edit the javascript like this:
            <script>
                // change the default namespace for the CreateJS libraries:
                var createjsFirst = createjsFirst||{};
                var createjs = createjsFirst;
            </script>
            <script src="//code.createjs.com/easeljs-0.7.1.min.js"></script>
            <script src="//code.createjs.com/tweenjs-0.5.1.min.js"></script>
            <script src="//code.createjs.com/movieclip-0.7.1.min.js"></script>
            <script src="{{assets}}/js/first.js"></script>
            <script>
                function initFirstAnimation() {
                    var canvas, stage, exportRoot;
                    canvas = document.getElementById("firstCanvas");
                    exportRoot = new libFirst.first();
                    stage = new createjsFirst.Stage(canvas);
                    stage.addChild(exportRoot);
                    stage.update();
                    createjsFirst.Ticker.setFPS(libFirst.properties.fps);
                    createjsFirst.Ticker.addEventListener("tick", stage);
            </script>
            <script>
                // change the default namespace for the CreateJS libraries:
                var createjsSecond = createjsSecond||{};
                var createjs = createjsSecond;
            </script>
            <script src="//code.createjs.com/easeljs-0.7.1.min.js"></script>
            <script src="//code.createjs.com/tweenjs-0.5.1.min.js"></script>
            <script src="//code.createjs.com/movieclip-0.7.1.min.js"></script>
            <script src="{{assets}}/js/second.js"></script>
            <script>
                function initSecondAnimation() {
                    var canvas, stage, exportRoot;
                    canvas = document.getElementById("secondCanvas");
                    exportRoot = new libSecond.second();
                    stage = new createjsSecond.Stage(canvas);
                    stage.addChild(exportRoot);
                    stage.update();
                    createjsSecond.Ticker.setFPS(libSecond.properties.fps);
                    createjsSecond.Ticker.addEventListener("tick", stage);
            </script>
    <body onload="initFirstAnimation(); initSecondAnimation();">
    Could someone please reply with the best practice on how to do this? If possible, without the need to reload all the libraries...
    If I only need to show one flash movie at a time, would it be more efficient to cut & paste the canvas tag using jQuery in the DOM and reloading a different lib on it?
    Many thanks!
    #flash #reborn

    I was able to fix it. At the end, it was easier than I thought. Just have to publish using a different "lib" namespace for each movie, load all the scripts at the end of the <body> and then add the following to the onload or ready events:
    $(document).ready(function () {
            var canvas, stage, exportRoot;
            // First movie
            canvas = document.getElementById("firstCanvas");
            exportRoot = new libFirst.first();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libFirst.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);
            // Second movie
            canvas = document.getElementById("secondCanvas");
            exportRoot = new libSecond.second();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libSecond.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);
            // Third movie
            canvas = dument.getElementById("thirdCanvas");
            exportRoot = new libThird.third();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libThird.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);

  • How to add multiple child dialog in a singel page of dialog in ms crm2013

    Hi All,
    How to add multiple child dialogs in a page in dialog in online MS CRM 2013. I am able to add dialogs one at the end of the page. I am not able to add single / multiple dialogs in between the page.
    As per my requirement there is multiple conditions , based on the outcome of condition respective child dialogs need to be linked in a page. Any solution ?
    Thanks
    Shankar.B

    Hi,
           As far as I know this is not possible with OOTB Dialoge in the current version. However there are 3rd party tools like TK Dialogs which provide this feature. Here is the link for the tool and few comparison as to when
    to use OOTB v/s TK Dialog.
    http://www.teamknowledge.co.uk/microsoft-crm.php
    http://garethtuckercrm.com/2012/07/11/tk-dialogs-vs-microsoft-crm-dialogs/
    Hope this helps.
     Minal Dahiya
    blog : http://minaldahiya.blogspot.com.au/
    If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

  • How do I set the default Object Placement in new pages?

    I often drag and drop images to pages, but the default is that these images do not move with the text.
    How do I change the default for this setting? This always worked with the old pages 09...
    I've tried a lot of different approaches including creating a new template or applying a new style to the objects. But it seems that the style does not affect the object placement settings at all. And the template didn't work either.
    Has anybody already figured out how to do this?
    Many thanks in advance!
    xifle

    Hello xifle, I have the same issue with pages. Indeed, it is time consuming to have to format the placement of each image I insert so that text wraps around it. Sometimes, I would need the image to float so that I can position it more effectively. Finally, wouldn't it be nice to have screen shots inserted into a pages doc scale down to a pred-determined size. We are surely hundreds of users needing this same feature. Great streamlining, but an overall weak version of Pages at the moment. Regards, Emmanuel in Switzerland

  • How to add multiple bean id in a jsp page

    i need to add two bean id in a single jsp page can anyone suggest me how can i do that?
    <jsp:useBeanid="newmember" class = "com.assignment.member" scope ="request"/>now if i want to add another bean id in the same jsp page is that possible? how can i do that? please help

    <jsp:useBeanid="newmember" class = "com.assignment.member" scope ="request"/>
    <jsp:useBeanid="newmember2" class = "com.assignment.member2" scope ="request"/>
    <jsp:useBeanid="newmember3" class = "com.assignment.membe3r" scope ="request"/>
    upto N bean

  • How to return to the same PLACE on a page after you link to another page

    If you are on a long page that contains links, if you click on the link, go to the new page, read, then return to the first page, you are dropped at the top of the page, not where you left from as FF3.* did. It matters because some pages I use have hundreds of links and I have to hunt to find where I was so that I continue my process.

    It took me a while to find out. This issue has nothing to do with Firefox 8, I think. It is the way Google handles the page with your search results.
    In the top right corner of your Google home page click the settings button and change the search settings "Google Instant predictions" to OFF. Then hit SAVE and you will be able to go back to same scroll position of your Google search results page. Hope that helps !!!

  • How to resolve Multiple Authorization request in loading the page with frame

    When I try to access a webpage showing multiple -tags with images from a directory that is .htaccess protected. My browser is flooded with authorization requests.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; MS-RTC LM 8)

    When I try to access a webpage showing multiple -tags with images from a directory that is .htaccess protected. My browser is flooded with authorization requests.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; MS-RTC LM 8)

  • How to print multiple identical-copies in one single page?

    Hi all,
    I need to print several copies of the same image in one single page. I've tried the following:
    - selecting the layout 4-pages in one.
    - printing 4 copies.
    However, this produce 4 physical pages, with the miniaturized image.
    No way to get 4 copies of the same image in the same page.
    Very thanks in advance,
    Jonatan

    jonatanc, welcome to Apple Discussions.
    Is the "image" you wish to print a picture image like a .jpg?
    I do this many times when I want to print 4 images on letter size photo paper. I use Photoshop Elements, but you could probably use most any graphic application.
    I do a Select All & Copy of the image. Then open a new file with a letter size. I then paste the image on the page 4 times & move the image towards the 4 corners of the page. Then print.
     Cheers, Tom

  • How to set multiple home pages, the option is gone (replaced my hard drive and had to reinstall firefox) This version seems to only offer tabs, not pages?

    My old version of Firefox had the option for me to set multiple home pages. My hard drive recently failed and had to be replaced, so I had to install the newest version of Firefox. The only option I see when I go to tools, options, general is to set the one home page. (and maybe tabs) I would like to open several of the same pages every time I open my Firefox. Does anyone know how to get this back, or which version had this feature so I can downgrade to that particular version?
    Also, I was wondering if there is a way to get the bookmarks I had on the old version back. I think they are lost forever, but if anyone knows, I would be thankful. I do still have the old hard drive, but the way it failed was actually when you tried to open any browser, the hard drive would go and blue screen, this is why the old hard drive had to be replaced. Thanks. :)

    So you mean you want to open new windows with the same page when you open Firefox?
    [[How to set the home page#w_set-more-than-one-website-as-your-home-page|Set more than one website as your home page]] should help if you want to open multiple pages when you open Firefox.
    As for recovering your bookmarks, you can try to plug that hard drive into a working computer, and then read [[Recovering important data from an old profile]] to copy your bookmarks from it. However, if it is failing you may not be able to do that.

  • When importing images in Pages, how do I set the default object placement to "stay on page" and "no text wrap"?

    when importing images in Pages, how do I set the default object placement to "stay on page" and "no text wrap"?

    Then use a Layout template.
    I am a designer and I use Word Processing templates with layout breaks and all the other tools available because Layout templates are just WP templates with a lot of options removed.
    Pages is not Indesign, but then Indesign is not Pages, …and Pages 5 is not Pages '09.
    Unless your flyers are for the Web, why are you using Pages at all?
    I am curious, what does your post have to do with the O.P.'s question? …and why are you posting it here?
    Peter

  • How to print multiple footers for each page in RTF template xml report.

    Hi,
    How to print multiple footers for each page in RTF template xml report.
    i am able to print ( two sets ) ...
    up to last page ( one template ) and for last page ( another template).
    i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
    Thanks in advance.
    Regards,
    KAP.

    You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
    Just have for-each@section logic.
    It would be difficult for me to guess what you have done without looking at your RTF or describing here.

  • How to create a last page

    Hello all.
    I am creating an adobe print form where the signature area should be shown at the bottom of the last page only.
    I am using Adobe LiveCycle Designer 8.1.
    Here are the steps I did so far:
    1. The master page contain the logo at the top of it. (Outside of the content area)
    2. The master page contain the page number at the bottom. (Outside of the content area)
    That way, the logo and the page number are shown on each pages.
    3. The design View, contain several subforms where the information is displayed.
    Now I need to know how I can create a Subform containing the signature box that will be displayed only at the bottom of the last page.
    If possible, I would like to avoid to reduce the content area to plug the signature box.
    So, if there is only one page, the signature box will be displayed at the bottom of the page before the page number and after the data from the design vew.
    If there is more than one page, the signature box will be displayed only at the bottom of the last page.
    I am new in the Adobe Form, so if possible, extensive explaination would be highly appreciated.
    Regards
    dstj

    Hello everyone.
    For everybody benefit, I do have a solution. I am not saying that it is the right solution but it did work for me.
    So, here it is:
    1. I had to create another master page (page 2)
    2. I had to copy the information of the master page (page 1) that I want to have copied on the second page. ( Logo, page numbet etc.)
    3. I created a subform containing the information that needs to be displayed on the last page only
    4. I selected the new master page (page 2), when to the object tab, pagination subtab and select the "last page (in page set)" option at the placement field.
    5. I selected the Master Page from the hiererchy tab, into the object tab, I selected the page set tab and in the printing field, I selected "Print on Front Side Only".
    I hope that can help somebody else.
    Regards
    dstj

  • How to put multiple photos on 1 A4 page

    Hi
    Can someone tell me how to put multiple photos on 1 A4 page,
    many thanks

    Try this:
    File >> New
    Set your width and height dimensions of A4 in mm.
    Set resolution e.g. 72 for web use/email or 240-300 for printing.
    Set background color to white (or whatever you prefer) and click OK
    Now get your first image
    File >> Place Embedded
    Select your first image and click place
    Drag to position and scale with the corner handles whilst holding down Shift.
    Click the check-mark to commit.
    Repeat for each of your other images.

  • How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??

    How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??
    == This happened ==
    Every time Firefox opened

    Firefox can have multiple home pages if you wish. Each home page that will open when starting Firefox is separated by the "|" character.
    See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    To have new tabs open a specific web site, add one of the following extensions:
    http://sogame.awardspace.com/newtaburl/
    https://addons.mozilla.org/en-US/firefox/addon/777

Maybe you are looking for