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>

1 comment:

Anonymous said...

What version are you using? My version of 12c doesn't have two out of the three properties you mentioned.