This content has been marked as final. Show 1 reply
it is possible, but why wouldn't use an id? You still need to identify the popupPanel by something, especially if you have more of them.
You can use jQuery's selectors, but if you have multiple popups on one page you'll get in trouble:
<rich:popupPanel header="Panel"> <!-- content --> </rich:popupPanel> <a4j:commandButton execute="@this"> <rich:componentControl operation="show" selector="div:has(.rf-pp-cntr)" event="click"/> </a4j:commandButton>