Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Overflow leader

Avatar

Level 2


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.

2 Replies

Avatar

Level 2

Any help with this issue?

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

Thanks in advance,

Agustín.

Avatar

Level 5

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