Skip to main content

Tips on using <af:panelCollection>

A couple of tips on using <af:panelCollection>
1. Use space delimiter if you want to turn off multiple 'default features' for the <af:panelCollection>
<af:panelCollection id="pc1" featuresOff="detach freeze wrap" >

2. If you don't want the end user to hide specific columns using the 'View->Columns' option, set showRequired="true" for those columns. This setting will disable the columns in the 'View' menu.


jeevan said…
Is there a way to hide the view menu on the ?
Jobinesh said…
You can use featuresOff="viewMenu"
featuresOff="statusBar viewMenu formatMenu showAsTopMenuItem showAsTopToolbarItem detach"
Chris Muir said…
Hi Jobinesh

Can you confirm which version of JDev/ADF the featuresOff="viewMenu" became available please? We're using:

featuresOff="detach viewMenu"

...under JDev The detach option is gone, but the View menu is still available.


Jobinesh said…
Oh may bad... Sorry for my oversight, 'featuresOff=viewMenu' appears to be not included as part of PS2 - (may be, part of future release)
Chris Muir said…
No worries, thanks for the prompt update.

Anonymous said…
what about the action menu? Is there a way to hide the action menu?
Unknown said…
Hi Jobinesh ..Nice blog .... Can we turn Query by Example "filter" icon off yet ? Thanks.
Anonymous said…
featuresOff="wrapMenuItem showAsTopMenuItem"....Coooll

Hi Jobinesh,

Do we have any option for "show All and Manage Columns" to off the features on panelCollection through FeaturesOff property ..

Thanks & Regards,
Guravaiah Tata.

Popular posts from this blog

Happy New Year 2018 !

We can't go back and change the beginning, but we always can start where we are and change the ending. Believe in yourself and you will be unstoppable!

Wishing you and your family a very happy new year 2018 !!!

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…