For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
It is possible to include a step for a test case which is executed only once for all the implementations?
I haven't figured out how to do it using declarative Open Region DAs, or the documented API. From hints here and here I've got a solution using the underlying widget methods. Modify the card link icon HTML Expression to use a data attribute instead of an id:
data
id
<a href="#" class="t-open-popup" data-empno="#EMPNO#"> <span class="fa fa-user" aria-hidden="true"></span> </a>
This provides JavaScript with a simpler, more direct way to access the unique card key value. Change the DA Execute JavaScript Code:
var empno = this.triggeringElement.dataset.empno, o = { autoOpen: true, parentElement: "[data-empno=" + empno + "]", callout: true, relativePosition: "after" }; $('#showDetails').popup(o);
See demo on page 586 of your app.