2 Replies Latest reply on Jan 14, 2016 8:31 AM by Mark Lindberg

    Overflow leader

    AgustinFC Level 1


      Hi,

       

      I am trying to use the Overflow leader as described in following guide:

      LiveCycle ES2 * Adobe LiveCycle Designer ES2

       

      My problem is that the header to be repeated is dynamic. I mean, my scenario should be something like this:

       

      Page1:

                Header1

      Content1

       

      Page2:

                Header2

      Content2 (overflow)

      Page3:

                Header2

      Content2 (cont)

       

       

       

      I am not able to populate the Headers. I tried with referenced object, using javascript, but it fails.

       

      Any help with this issue?

       

      Thanks in advance,

      Kind regards,

      Agustín.

        • 1. Re: Overflow leader
          AgustinFC Level 1

          Any help with this issue?

          Is there any way to get the same dinamyc header when content overflows?

           

          Thanks in advance,

          Agustín.

          • 2. Re: Overflow leader
            Mark Lindberg Level 2

            Agustin,

            I have had success using a 'regular' subform as the Overflow Leader.

            In the initialize event, I set the subform as hidden.

            This subform is defined at the same level in the hierarchy as the flowing main subform.

            In the Layout:Ready event, I test the xfa.layout.page(this) property, and if > 1 - set presence as visible.

             

            Reference the subform as the Overflow Leader in the Pagination Properties of your flowing subform.

             

            I use global bindings on the fields within the overflow leader so that the data is in sync with the XML payload being merged with the template.

             

            Initialize:

            this.presence = "hidden";

             

            Layout:Ready:

            if ( xfa.layout.page(this) > 1 )

                this.presence = "visible";

            else

                this.presence = "hidden";

             

             

            Hope this helps

            Mark