Skip to main content

<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

Popular posts from this blog

How to set Bind Variable Values at runtime ?

In this post I'm sharing a couple of approaches for programmatically setting bind variables values at run time. This post is an attempt to explain 'When to use what ?'[ In case if you are familiar with 'Bind Variables' in ADF BC, please refer Section 5.10, Working with Bind Variables in Fusion Developer's Guide ]

1. Set the Bind Variable value using RowSet::setNamedWhereClauseParam(...)

You can use use the setNamedWhereClauseParam(...) method on the ViewObject interface (which extends oracle.jbo.RowSet) to set the value for bind variables. Please note this sets the value on default RowSet. In other words, this doesn't have any effect on the secondary RowSets that you/system generates.
ViewObject vo = am.findViewObject("EmployeesView1"); vo.setNamedWhereClauseParam("bindVarDeptId", new Number(10)); vo.executeQuery();
2. Set the Bind Variable value using ViewObject's VariableValueManager::setVariableValue(...)

VariableValueManager Ma…