Tuesday, July 27, 2010

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>
Example:
<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.

7 comments:

jeevan said...

Is there a way to hide the view menu on the ?

Jobinesh said...

Jeeven
You can use featuresOff="viewMenu"
e.g:
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 11.1.1.2.0. The detach option is gone, but the View menu is still available.

Regards,

CM.

Jobinesh said...

Chris,
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.

CM.

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.