<af:popup> inside <af:table>

Recently, I noticed a couple of issues reported saying that popup dialog is not getting displayed when used inside a table. There are some points you may need to take care while using <af:popup> inside <af:table>

  • Please keep the definition of <af:popup> outside of the <af:table> .This would ensure table refresh( in other words DOM replacement for table during PPR) doesn't cause any harm to your popup component
  • Please don't leave the table rows in an inconsistent state while you iterate through the table rows from the managed bean. Please see this post for more details.

Comments

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of my employer.