Wizard step only loads first of two page includes

  • 1
  • Problem
  • Updated 2 years ago
  • Acknowledged
Two page includes on a wizard step. Both are set to lazy-load. Only the first one is loaded, no matter what order they are in.

Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,220 Points 5k badge 2x thumb
Matt~

Unfortunately, I am unable to replicate your issue. Can you try creating a new wizard and put only those 2 page includes on step 1 with nothing else on the other steps and see what happens? 

Thanks!
Karen
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Karen,

the problem is not step1, the problem is includes on later steps that are set to lazy load.

Here's the XML of the main page to reproduce the issue:
<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="false" showheader="false">    <models/>
    <components>
        <wizard deferstepcontentsrendering="true" buttonslocation="top" uniqueid="WIZARDID">
            <steps>
                <step stepid="step1" steplabel="Step 1">
                    <components>
                        <richtext multiple="false" uniqueid="sk-30RFdI-93">
                            <contents>&lt;p&gt;Nothing to see here.&lt;/p&gt;
</contents>
                        </richtext>
                    </components>
                    <actions>
                        <action uniqueid="sk-30R1ZO-63" type="navigate" stepid="step2" label="Next Step" icon="sk-icon-arrow-right" window="self"/>
                    </actions>
                </step>
                <step stepid="step2" steplabel="Step 2" loadlazypanels="true">
                    <components>
                        <includepanel type="skuid" uniqueid="sk-30RKtL-118" pagename="FirstPageInclude" module="" lazyload="true"/>
                        <includepanel type="skuid" uniqueid="sk-30RLXl-123" pagename="SecondPageInclude" module="" lazyload="true"/>
                    </components>
                    <actions>
                        <action uniqueid="sk-30R1ZO-64" type="navigate" stepid="step1" label="Previous Step" icon="sk-icon-arrow-left"/>
                        <action uniqueid="sk-30R1ZO-65" type="navigate" label="Next Step" icon="sk-icon-arrow-right"/>
                    </actions>
                </step>
            </steps>
        </wizard>
    </components>
    <resources>
        <labels/>
        <javascript/>
        <css/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
</skuidpage>

Here's the first page include:
<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true">    <models/>
    <components>
        <richtext multiple="false" uniqueid="sk-30R_P7-63">
            <contents>&lt;p&gt;First Page Include.&lt;/p&gt;
</contents>
        </richtext>
    </components>
    <resources>
        <labels/>
        <javascript/>
        <css/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
</skuidpage>

Here's the second page include:
<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true">    <models/>
    <components>
        <richtext multiple="false" uniqueid="sk-30S5xk-63">
            <contents>&lt;p&gt;Second Page Include.&lt;/p&gt;
</contents>
        </richtext>
    </components>
    <resources>
        <labels/>
        <javascript/>
        <css/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
</skuidpage>

None of the pages even have models... just the wizard and rich text components.
(Edited)
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,220 Points 5k badge 2x thumb
Matt~

Gotcha! Thanks for the clarification. I'm now able to reproduce it and will let the devs know so they can address it in a future release. 

Thanks!
Karen