3 Replies Latest reply: Mar 4, 2014 6:07 PM by Daniel Merchán RSS

    Edit two facets in Composer (Edit Mode)

    erbastida

      I have one page in WebCenter Portal 11.1.1.8 and i want to edit 2 facets when I call the Edit Mode with Ctrl+Shift+E

      one of them is the regular Content facet and i Want to see at the same time Content2 facet

       

      is that possible?

       

      Regards

       

      Erick

        • 1. Re: Edit two facets in Composer (Edit Mode)
          Daniel Merchán

          Hi.

           

          Yes. Using Composer tag pe:layoutCustomizable

           

          Use

          <af:pageTemplate value="#{bindings.pageTemplateBinding.templateModel}" id="pt1">
                    <f:facet name="content">
                      <pe:pageCustomizable id="hm_pgc1">
                        <cust:panelCustomizable id="hm_pnc1" layout="scroll">
                          <pe:layoutCustomizable id="layoutCustomizable1">
                            <cust:panelCustomizable id="panelCustomizable1"/>
                            <f:facet name="contentA">
                              <cust:panelCustomizable id="panelCustomizable2"/>
                            </f:facet>
                            <f:facet name="contentB">
                              <cust:panelCustomizable id="panelCustomizable3"/>
                            </f:facet>
                          </pe:layoutCustomizable>
                        </cust:panelCustomizable>
                        <f:facet name="editor">
                          <pe:pageEditorPanel id="pep1"/>
                        </f:facet>
                      </pe:pageCustomizable>
                    </f:facet>
                  </af:pageTemplate>
          

           

          It should be inside of f:facet name="content" and pe:pageCustomizable

           

          I hope it helps.

          Regards

          • 2. Re: Edit two facets in Composer (Edit Mode)
            erbastida

            Hi Daniel,

             

            thanks for the reply, what i am trying to do is edit in the composer two facets from the template

            for example: my Template has the following facets:

             

            <f:facet name="header">

            <f:facet name="title">

            <f:facet name="breadcrumbs">

            <f:facet name="content">

            <f:facet name="footer">

             

            when i go to Edit mode in a new page i want to be able to edit content facet, title facet  and let be part of the static template the other facets

             

            any idea?

             

            Regards

             

            Erick

            • 3. Re: Edit two facets in Composer (Edit Mode)
              Daniel Merchán

              Hi.

               

              You can build Templates customizables, but just can be edited from the Administration Console when clicking Edit option from the menu.


              How to build a Template customizable?.

              You can use <cust:panelCustomizable> in your templates. Put one inside of each facet of the Template.

              Also you can use <cust:showDetailFrame> in your templates.

              Never add <pe:pageCustomizable> in the pageTemplate, just the two above tags are supported.


              What happen when entering Composer with CTRL+SHIFT+E or Editing the page?.

              You just will customize and see the <pe:pageCustomizable> child customizable components of the page. Not the page template.

               

              How can I edit also the Page Template using the same way as CTRL+SHIFT+E?.

              If you want edit the Page Template also using Oracle Composer when using the combination keys in a WebCenter Page then you have to do a custom implementation following next ideas:

              • Extend Oracle Composer in order to add a new button call "Edit Template" or "Edit Current Page" depending of which one are you editing.
              • The button have to send you to the same way as Edit Page or Edit Template buttons works in Administration Console (try to copy the WebCenter behaviour).

              I hope this informations helps.

               

              Reference:

                   http://www.oracle.com/technetwork/middleware/webcenter/portal/learnmore/pagetemplates-1438595.pdf  Take a look into Editable Templates

                  

              Regards.