Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Button in repeat layout on refresh section has incorrect DOM ID

SA-11095

Summary



Checkboxes in repeating layout are meant to have incremental ID to make it distinct for actions applied on each row. However, when user applies an onClick > refresh this section, the ID does not recognize that it is in repeat layout. The ID that is given in the refresh is no longer distinct. This affects the triggering of CSS styling. User's screen design uses CSS3 hover and focus styles. After a button's onClick then refresh section, the CSS styling is only applied to the first element.
This was resolved in Pega 7.1.6 with HFix-10425. User requires an equivalent hotfix to be ported for Pega 7.1.8.


Error Messages



Not Applicable

Steps to Reproduce



There is no specific use case to reproduce this issue.

Root Cause



The root cause of this problem is a defect in Pegasystems’ code/rules. The checkboxes and the respective label for ID attributes are not unique. When refresh section occurs, the dynamic repeat index from parent section is not passed to inner section. Inner section is not aware that the parent section is a repeat layout, so the index is not carried forward when generating the control's markup. 

Resolution



This issue is resolved after installing HFix-22475 and following the below steps:
  •  Open pzGenerateCheckBox function, navigate to java tab and perform a generate function. 
  •  Resave the sections where Check boxes are configured. 
  •  Log out and Log in again.

Published June 26, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

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