This content has been marked as final.
Show 1 reply
-
1. Re: Richfaces popup panel open without an ID
michpetrov Jun 28, 2013 4:38 AM (in response to anu0412)Hi,
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>