Skip to main content

Support Article

Refresh Section Layout Group(TAB) focus moves to first tab

SA-31739

Summary



User has created a section with multiple Tabs, using Layout group (Default/Tab).

In the same section, user configured a button with 'Refreash-This Section' action against the Click event.

During runtime, when user is active in any tab other than the first tab and clicked Refresh button, after refresh action complete, tab switches back to first tab. 
Current State before refresh does not  get maintained.

The same scenario is happening for Submit failure also. If user is in third tab and the tab contains fields with Server-side validation. 

After submitting the Form, if the validation gets failed, tab 1 gets opened to user instead of last active tab before Submit Action( third tab). 

Error Messages



Not Applicable


Steps to Reproduce

  1. Create a Section A with Layout Group(Type : TAB/Default).
  2. Add Two Dynamic Layout with-in the Layout Group to create two Tabs and add some input controls in both the tabs.
  3. Create another Section B with a Button and Drag this Section in the above Section.
  4. In the on-Click event of the Button, configure two actions:
    1.  Refresh this Section 
    2.  Refresh other Section(Section A)
  5. Run the use-case, click TAB2 and provide some input on any available input control onto the Tab, click the button to Refresh.
  6. After refresh, observe that automatically tab switches to first TAB. Last state maintain is not happening.


Root Cause



Not honoring the client activated tab when refresh the section event triggered. 

Resolution



Apply HFix-30741 to resolve this issue. 
 
Suggest Edit

Published January 10, 2017 - Updated October 8, 2020

Did you find this content helpful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us