Showing posts with label disclose default show detail item on refresh. Show all posts
Showing posts with label disclose default show detail item on refresh. Show all posts

Monday, October 20, 2014

Disclosing a show detail item in Panel Tab by default ADF



  • use the red colored properties to open the default show detail item in a panel tab



<af:panelTabbed id="pt4" styleClass="pageTab AFStretchWidth"
inlineStyle="height:530.0px;" contentDelivery="lazyUncached">

        <af:showDetailItem text="Tab 1" id="sdi13" disclosed="true"
                            persist="disclosed"
                           inlineStyle="height:500.0px;"
                           styleClass="AFStretchWidth">
                                :
                                :
                                :
      <af:showDetailItem/>
       <af:showDetailItem text="Tab 2"
id="sdi12" styleClass="AFStretchWidth"
  disclosed="false" persist="disclosed">
:
                                :
                                :
      <af:showDetailItem/>
<af:panelTabbed/>


  • Web.xml

    replace  this 

<context-param>
    <param-name>org.apache.myfaces.trinidad.CHANGE_PERSISTENCE</param-name>
    <param-value>oracle.adf.view.page.editor.change.ComposerChangeManager</param-value>
  </context-param>

With this one.

<context-param>
    <param-name>org.apache.myfaces.trinidad.CHANGE_PERSISTENCE</param-name>
    <param-value>oracle.adf.view.rich.change.FilteredPersistenceChangeManager</param-value>
  </context-param>