Adding Pages Templates

Using Pages 1.0.2. Just downloaded new Pages templates from KeynotePro but can't figure out how to load them.
I created a Templates folder in the Pages>iWorkfolder, but still I don't see the new templates.

Hello DarqDiva,
go to the folder "<YourHD>/Users/<YourAccount>/Library/Application Support/iWork/Pages/Templates/My Templates" and save the templates there or create a new folder beside the "My Template" folder and save them inside. It is important that you don't save the templates in the folder "Templates", because Pages will not see them there. They have to be saved inside of a folder inside of "Templates".
This folder name will be displayed in the bottom half of the left list column in the template choosing window.

Similar Messages

  • Adding Pages template from iTunes

    I just downloaded the "Templates for Pages" though the APP store.
    I have a MAC OS X Version 10.7.4..I downloaded this app successfully and now I have no idea where it is or how I can access it for use.
    Any thoughts on where to activtae this 24.99 $ purchase

    Those template packages you buy from the Mac App Store are actually standalone applications. You will find them in your Applications folder & you should find an icon in Launchpad. In Launchpad, the most recent applications installed are usually on the last "page." Find the application & launch it to use the templates.

  • Adding Saved Searches task flow to a Page Template

    I am trying to add the Spaces "Saved Searches" task flow to my custom page template. I have tried a few different approaches and none seem to be working.
    First, I tried simply dragging and dropping the task flow from JDeveloper's Resource Palette into my template. JDeveloper created added the following to my template source code:
    +<af:region value="#{bindings.allsavedsearches1.regionModel}" id="pt_r1"/>+
    After uploading the changes to Spaces, there seemed to be no change to the rendered template.
    Second, I tried to simply add the task flow to a page in my test space via composer. However, as soon as I click the "Add" button next to the Saved Searches task flow, the page goes blank (white screen of death) and the following message shows up in the spaces error logs:
    javax.servlet.ServletException: com.sun.el.parser.ParseException: Encountered "\'" at line 1, column 65.
    Finally, I looked at how the out of the box templates implement the saved searches functionality. It appears that the saved searches use a custom folder in the Default Navigation Model. I looked at the source in the Default Navigation Model and found the following node:
    +<customFolder factoryClass="oracle.webcenter.search.view.rc.SearchServiceContextFactory" id="savedSearchesFolder" visible="true">+
    +<attributes resourceBundle="oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle">+
    +<attribute attributeId="Description" isKey="true" resourceBundle="oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle" value="NAV_APPLICATIONS_CUST_FOLDER_SEARCHES.DESCRIPTION"/>+
    +<attribute attributeId="IconURI" value="/adf/webcenter/foldersavedsearches_qualifier.png"/>+
    +<attribute attributeId="Title" isKey="true" resourceBundle="oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle" value="NAV_APPLICATIONS_CUST_FOLDER_SEARCHES.TITLE"/>+
    +<attribute attributeId="WEBCENTER_SERVICE_ID" value="oracle.webcenter.search"/>+
    +</attributes>+
    +</customFolder>+
    I copied the entire node and put it in my navigation model. Upon rendering the template, I can see the new node in the navigation but when I click on it, nothing happens.
    Can someone please tell me if I am on the right track with any of these three approaches? Or where to look to diagnose the issues I am running into?
    Thanks,
    Joe

    UPDATE: I updated the "activation" property in the page def for the allsavedsearches task flow to be "deferred". Now I am getting an ADF popup menu with two menu items: "My Searches" and "Other Members" but clicking on the items does not trigger anything...
    Any thoughts? What additional information would be helpful for analyzing this issue?

  • A method to create completely customized photo book page templates from scratch in Lightroom 5

    I was able to successfully create completely customized Lightroom 5 page templates (including altering the number of, positions, and sizes of pictures) by making edits to the templatePages.lua file(s) in the Lightroom directory tree.  I have never heard of the LUA file format before, but it is ASCII and looks somewhat like XML, so it was fairly easy to decipher.  Here is a high-level description of how I did it.  This applies to Lightroom 5 on Windows 7.  If this doesn't make any sense to you, then don't try it - you're likely in over your head.  Although my description is brief and lacking in detail, it should enable someone who is capable of handling this to figure it out with a little of careful trial and error.  Do this at your own risk - if you screw-up your installation, catalog, or computer, it's your own fault.  It all worked great for me.
    First, open the "<lightroom 5 install directory>\Templates\Layout Templates" folder.  Then navigate to the template set that contains the template you would like to use as a starting point for the new template.  For example, "12x12-blurb\clean12x12".  Make a back-up copy of the templatePages.lua file in case you mess something up and want to revert.
    There will be a bunch of .jpg files in this directory that each contain a preview image of the layout that carries the same name as the .jpg file.  Find the one that you would like to use as a starting point.  Take note of the name of the file, which is probably something similar to "page_26_preview.jpg".   Duplicate the file and rename it to something unique, such as "dummy_preview.jpg".  It's just temporary, so it doesn't matter what name you pick, provided it is a legal file name with no spaces.
    Next, open the templatePages.lua file in a text editor.  I suggest using one that can automatically recognize and format ULA (such as Notepad++, which is open source and free to use).  Then search the file for the unique portion of the file name you took note of earlier, such as "page_26".  It will point you to a section in the LUA file that describes that particular template.  Carefully copy that entire section, including a balanced number of brackets (starting with the two brackets and commas before "children" and ending with the one bracket and comma after the "title" line.  Paste the copied text into the end of the file on a new line immediately following the bracket and comma after the "title" field for the last page template section (right near the end of the file).  Change the "previewName" field to the name of the preview file copy that you created ("dummy_preview.jpg" for me) and the "name" field to the name of the new template you're creating ("dummy" for me, since it is just temporary).  Next change at least one of the hex characters in the "pageID" field such that the new template will have a unique page identifier.
    Now you can make edits to the photo and text fields included in the new section, using other templates in the template file as examples.  "x" and "y" fields are coordinates (in pixels) for the bottom-left corner of the picture or text field, "height" and "width" are the width of the field in pixels.  The fields should be mostly self-explanatory, but make sure that the "photoindex" fields are filled-in starting from 1 to N, where N is the number of pictures in the template, with no duplicates or gaps.  They do not need to be in order.  Treat the "textIndex" fields similarly for text fields.  If you want to add an additional picture or text field, simply copy the section describing a picture or text field from another template and paste it, carefully, into the new template that you are creating.
    Once you are done, save the file (you may get interference from Windows UAC, in which case save the file elsewhere and the move it back to the correct directory).  Then open Lightroom.  Create a new photobook, and choose the new template for one of the pages, remembering that the preview image will look like the JPG that you copied.  Voila!  If you didn't screw anything up, you should see a page based on your new template.  Then right-click the page and select "Save as custom page", which will cause a fresh preview file to be created for your new template and your template to be copied to the "custom pages" section of the template menu.  The new section you added to the "templatePages.lua" and the "dummy" preview file can now be deleted, since they are no longer needed.  I save them so that I may simply overwrite them the next time I need to create a customized template.
    Enjoy, and please share any clarifications, corrections, or enhancements to my process.

    peter at knowhowpro wrote:
    DHWachs wrote:
    This post was great!  Thank you so much.  But I am hoping you know one more thing related to this.  In the "transform" section of the definition (where the x/y coordinates are set along with height and width) there is an option called "angle".  I was hoping that changing this value would allow me to offset the angle of the picture.  However, if I put any value there other than 0 the template becomes unusable.
    Do you happen to know what this option does?
    I haven't looked into the files, so this is just a guess based on how some graphic applications work. It's common to think of rotating a shape as pivoting around a center point, but It's possible that the file sets a value for the rotation point not at the center. In some graphics applications, you can set a shape's pivot at any corner or in the middle of any side, of the rectangle that contains the whole shape.
    So, your value may be rotating the shape around a pivot that moves the shape into some area that upsets the behavior of other shapes. Just a thought.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    Peter's point is a good one.  I would also assume that the "angle" property allows you to rotate an image, but I haven't tried it myself.  One thing to investigate - are there any page templates included in LR that have image placeholders that are at an angle (I don't recall any, off-hand)?  If so, looking at the associated .lua file could provide insight into how an angled image placeholder should be described.

  • How to package a page template as a reusable component??

    Hello, i need to package a page template as a reusable component, this template has images and lot of parameters.
    Any suggest?

    carlson.steve wrote:
    So I have done as you suggested and created a new and separate application to hold not only my jsf template files but also my trinidad-config and trinidad-skins xml files, packaged it into an ADF library Jar and then added that jar to the libraries of my forward facing public app but still can't get the public app to see either the jsf template or trinidad skinning files... what am I doing wrong here?Hi,
    I suggest that you verify that both pagetemplate-metadata.xml and oracle.adf.common.services.ResourceService.sva service resources file are packaged in the META-INF directory of your Template Project ADF Library JAR.
    Cheers,
    Nick

  • How to set a page template for news detailed view?

    Is there a way to set a page template for the detailed view of the news module?
    I have a page template setup and added the {module_announcement,,,,,} to the page. When the news item is clicked it always opens the default template - is this how it is designed to work or is there a way I can specify it to use a different page template?
    Dave.

    Hey Dave, See the image below:

  • Creating a New ADF Page Template

    -- I posted this in the WebCenter forum but since it is primarily around ADF I thought I would post here also
    -- Extending WebCenter Spaces 11.1.1.3: Creating New Page Template w/Float Div
    Hi all,
    I am attempting to create a new group space page template for Spaces that has a floating div on the right side that will have content wrap around it. It should look similar in concept to the image in this link:
    http://css.maxdesign.com.au/floatutorial/tutorial0104.htm
    This seems like it should be simple enough but I need to allow dynamic content to be added each region with Oracle Composer. Currently when I am testing this and add content the two regions end up in distinct columns. This appears to be a result of the html elements that get wrapped around the content by the ADF tags. Has anyone successfully created a page template / page similar to this or have any ideas on how I might get it to work? Below is the current code I am using:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:pe="http://xmlns.oracle.com/adf/pageeditor"
              xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable"
              xmlns:trh="http://myfaces.apache.org/trinidad/html">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <pe:changeModeLink id="cml1"/>
            <pe:pageCustomizable id="pageCustomizable1">
            <af:panelStretchLayout id="psl1">         
                <f:facet name="center">
                  <af:panelGroupLayout layout="scroll"
                                       xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                                       id="pgl1">
                    <af:panelBox text="PanelBox1" id="pb1">
                      <f:facet name="toolbar"/>               
                      <trh:tableLayout id="tl1" width="100%">
                        <trh:rowLayout id="rl1">
                          <trh:cellFormat id="cf1" width="20%" valign="top">                       
                              <cust:panelCustomizable id="mainC"/>                         
                          </trh:cellFormat>
                          <trh:cellFormat id="cf2" width="80%" valign="top">
                            <!-- This is a div tag with style set to "float:right"; I had to describe this line as it didn't show up in the post -->                         
                                <cust:panelCustomizable id="mainC1"/>                       
                            </ div>               
                            <cust:panelCustomizable id="mainC2"/>                                                                
                          </trh:cellFormat>
                        </trh:rowLayout>
                      </trh:tableLayout>
                    </af:panelBox>
                  </af:panelGroupLayout>
                </f:facet>
              </af:panelStretchLayout>         
              <f:facet name="editor">
                <pe:pageEditorPanel id="pep1"/>
              </f:facet>
            </pe:pageCustomizable>  
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

    Hi ,
    I understand that you want to be able to select content type when creating a wiki page to a Wiki Page library. In browser ,you cannot add content types to a wiki page library .You need to edit the library in SharePoint Designer.
    Open the site in SharePoint Designer.
    Click on the library. Check ‘Allow management of content types’ in the Settings section.
    Then you can add content types to this page library.
    Then you can add content types in the Site Content Types gallery which inherit from the Wiki Content type.
    Add the newly added content type to the Wiki Page Library.
    In this way ,when you add a new page in the Wiki Page library ,you can choose a different content type .
    Edit the content type in Library Settings .Choose Advanced Settings for the content type .Here you can upload new page for the content type .
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • Stretch height in a page Template

    Hi.
    I have already searching about this issue but I didn't find any. This is my problem:
    I have defined a Page Template to reuse in my application. This template has a PanelStrechLayout to Stretch in widht & height, but It doesnt work.
    This is the code:
    <?xml version='1.0' encoding='UTF-8'?>
    <af:pageTemplateDef xmlns:af="http://xmlns.oracle.com/adf/faces/rich" var="attrs" definition="private"
                        xmlns:afc="http://xmlns.oracle.com/adf/faces/rich/component" xmlns:f="http://java.sun.com/jsf/core">
        <af:xmlContent>
            <afc:component>
                <afc:display-name>MyTemplate</afc:display-name>
                <afc:facet>
                    <afc:facet-name>content-app</afc:facet-name>
                </afc:facet>
            </afc:component>
        </af:xmlContent>
        <af:panelStretchLayout id="pt_psl1" inlineStyle="background-color:red;" styleClass="AFStretchWidth" >
            <f:facet name="center">
                <!--<af:outputText value="outputText1" id="pt_ot1"/>-->
                <af:facetRef facetName="content-app"/>
            </f:facet>
        </af:panelStretchLayout>
    </af:pageTemplateDef>
    How can I get this?
    Jdeveloper 12c.

    Hi,
    jsp includes should be added using the f:subview tag.
    However, since the template is meant to be the blueprint for other pages. Why do you use a page fragment and don't add the searchregion directly into it ? Somehow I don't see sense in what you are doing
    Frank

  • Adding pages to pages

    I used a template and modified it it's 2 pages. I can't add a third page. I found no documentation re adding a page so I assumed that if text flowed beyond the second page a third page would be added. I even pushed a picture into the non-existent third page and it disappeared. Any suggestions?
    PS. The original flyer called FLYER is flawed. I called Apple Support because when I tried to email my revised FLYER template, onlyvone page would be as an image even though I chose PDF. Other templates emailed OK. So adding pages may be flawed also n

    Yeah, I love how it's so much easier than the old OS9 days of having to put the fonts there yourself. More info for those looking at fonts, I've found that when given the option to download the Windows or the Macintosh font, downloading the Mac gives you a .sit file a lot of times. Instead, I download the Windows version (almost always a .zip file) and that works fine.
    Given the option between TTF and OTF, always go with the OTF one

  • Bug report:on application import: page template substitution strings double

    apex version: 4.2.0.00.27
    We encounter an issue when we import an application export. In all the page templates we see that the standard substitution strings in the HEADER and FOOTER area have been added for a second time.
    EXPORTED CODE:
    wwv_flow_api.create_template (
    p_id => 32176400365879390 + wwv_flow_api.g_id_offset
    ,p_flow_id => wwv_flow.g_flow_id
    ,p_theme_id => 20
    ,p_name => '_vo_One Level Tabs_Simple'
    ,p_is_popup => false
    ,p_header_template => '<html lang="&BROWSER_LANGUAGE." xmlns:htmldb="http://htmldb.oracle.com">'||unistr('\000a')||
    '<head>'||unistr('\000a')||
    '<title>#TITLE#</title>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_common2.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker-ext.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_show_hide_region.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_desktop_all.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_legacy.js"></script>'||unistr('\000a')||
    '<link rel="stylesheet" href="#IMAGE_PREFIX#app/pbh/css/pbh.css" type="text/css" />'||unistr('\000a')||
    '<!--[if IE]><link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_20/ie.css" type="text/css" /><![endif]-->'||unistr('\000a')||
    '#APEX_CSS#'||unistr('\000a')||
    '#TEMPLATE_CSS#'||unistr('\000a')||
    '#THEME_CSS#'||unistr('\000a')||
    '#PAGE_CSS#'||unistr('\000a')||
    '#TEMPLATE_JAVASCRIPT#'||unistr('\000a')||
    '#APPLICATION_JAVASCRIPT#'||unistr('\000a')||
    '#PAGE_JAVASCRIPT#'||unistr('\000a')||
    '#HEAD#'||unistr('\000a')||
    '</head>'||unistr('\000a')||
    '<body #ONLOAD#>#FORM_OPEN#'
    ,p_box =>
    '<div id="t20Tabs">#TAB_CELLS##NAVIGATION_BAR#</div>'||unistr('\000a')||
    '<table border="0" cellpadding="0" cellspacing="0" summary="" id="t20PageBody" width="100%">'||unistr('\000a')||
    '<td width="100%" valign="top" id="t20ContentBody">'||unistr('\000a')||
    '<div id="t20BreadCrumbsLeft">#REGION_POSITION_01#</div>'||unistr('\000a')||
    '<div id="t20Messages">#GLOBAL_NOTIFICATION##SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##REGION_POSITION_02#</div>'||unistr('\000a')||
    '<div id="t20ContentMiddle">#BOX_BODY##R'||
    'EGION_POSITION_03##REGION_POSITION_04##REGION_POSITION_05##REGION_POSITION_06#</div>'||unistr('\000a')||
    '</td>'||unistr('\000a')||
    '</tr>'||unistr('\000a')||
    '</table>'
    ,p_footer_template =>
    '<div class="smallfont">PBH Versie: #APP_VERSION#</div>'||unistr('\000a')||
    '#FORM_CLOSE# '||unistr('\000a')||
    '#DEVELOPER_TOOLBAR#'||unistr('\000a')||
    '#GENERATED_CSS#'||unistr('\000a')||
    '#GENERATED_JAVASCRIPT#'||unistr('\000a')||
    '</body>'||unistr('\000a')||
    '</html>'
    ,p_success_message => '<table summary="" border="0" cellpadding="0" cellspacing="0" id="t20Notification">'||unistr('\000a')||
    '<tr><td class="L"></td><td width="100%">#SUCCESS_MESSAGE#</td><td class="R"></td></tr>'||unistr('\000a')||
    '</table>'
    ,p_current_tab => '#TAB_LABEL#'
    ,p_non_current_tab => '#TAB_LABEL#'
    ,p_notification_message => '<table summary="" border="0" cellpadding="0" cellspacing="0" id="t20Notification">'||unistr('\000a')||
    '<tr><td class="L"></td><td width="100%">#MESSAGE#</td><td class="R"></td></tr>'||unistr('\000a')||
    '</table>'
    ,p_navigation_bar => '#BAR_BODY#'
    ,p_navbar_entry => '#TEXT#'
    ,p_region_table_cattributes => ' summary="" cellpadding="0" border="0" cellspacing="5" align="left"'
    ,p_breadcrumb_def_reg_pos => 'REGION_POSITION_01'
    ,p_theme_class_id => 1
    ,p_grid_type => 'TABLE'
    ,p_grid_always_use_max_columns => false
    ,p_grid_has_column_span => true
    ,p_grid_emit_empty_leading_cols => true
    ,p_grid_emit_empty_trail_cols => false
    ,p_has_edit_links => true
    ,p_translate_this_template => 'N'
    ,p_template_comment => ''
    RESULT IN APEX for the HEADER
    <html lang="&BROWSER_LANGUAGE." xmlns:htmldb="http://htmldb.oracle.com">
    <head>
    <title>#TITLE#</title>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_common2.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker-ext.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_show_hide_region.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_desktop_all.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_legacy.js"></script>
    <link rel="stylesheet" href="#IMAGE_PREFIX#app/pbh/css/pbh.css" type="text/css" />
    <!--[if IE]><link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_20/ie.css" type="text/css" /><![endif]-->
    #APEX_CSS#
    #TEMPLATE_CSS#
    #THEME_CSS#
    #PAGE_CSS#
    #TEMPLATE_JAVASCRIPT#
    #APPLICATION_JAVASCRIPT#
    #PAGE_JAVASCRIPT#
    *#APEXCSS#*_
    *#TEMPLATECSS#*_
    *#THEMECSS#*_
    *#PAGECSS#*_
    *#APEXJAVASCRIPT#*_
    *#TEMPLATEJAVASCRIPT#*_
    *#APPLICATIONJAVASCRIPT#*_
    #HEAD#
    </head>
    <body #ONLOAD#>#FORM_OPEN#
    The added substitution strings are bold + underlined.
    Is there a parameter (application, export, template, instance level) that we can set to prevent this ?
    Edited by: Karel C on 12-feb-2013 5:32
    Edited by: Karel C on 12-feb-2013 5:32

    Hi Patrick,
    The version info is: wwv_flow_api.set_version(p_version_yyyy_mm_dd=>'2009.01.12');
    This should be wwv_flow_api.set_version(p_version_yyyy_mm_dd=>'2012.01.01');
    ... but this error is due to a manual modification of the export file.
    We parameterise some values, so that the we can use the old-school DEFINE variables in our deploy process via SQL/plus.
    One of the developers made a copy-paste error when doing that ...
    So there is no bug !
    Thanks for the tip !!
    Kind regards,
    Karel

  • Dynamically adding pages

    Is it possible to create a "add page" button that will dynamically add a fillable form to a pdf?  Also, can this button keep adding pages?

    It is Adobe Reader and Adobe Acrobat.
    Reader can not use the template feature of Acrobat.

  • Default Profiles & Page Templates

    I am not sure is the right discussion for this question but I am hoping somebody might be able to help. I want to be able to associate a Page Template with a Default Profile but can't seem to find out how to do this or even if it is possible. For example you are not offered the option to choose a page template whislt within the default profile editor.
    What I am trying to achieve it to make every user's home page be based on a template so that at a later date we can update everybody's home pages centrally, whether it be adding new protlets or changing the layout.
    Can anybody help?
    Ross EllardDevonport Management Ltd

    Welcome to Apple Discussions
    The trick to getting elements like your colored bars & logo to carry over from one page to the next is to place them on the section master. Make sure they are floating objects & then select them, go to Format > Advanced > Move Object to Section Master. However, text will no longer wrap around these objects, so you will have to make adjustments to your margins if you don't want text to be on top of them.

  • Panel tab page template application

    Dear All,
    I would like to ask for comments regarding what I have done since I can't find a good resource that
    can point me to the right direction.
    My Use Case:
    I have a jsff page with a panel tab as the outermost component. Inside it are a variable number of showdetailitems.
    My requirement is for me to apply a certain template to all detail item. What I did was embed the page template inside
    each iterator.
    <af:panelTabbed>
          <af:iterator>
              <af:showDetailItem>
                   <af:pageTemplate viewId="/MyTemplate.jspx" value="#{bindings}">
                        <!-- Components go here -->
                   </af:pageTemplate>
              </af:showDetailItem>
          </af:iterator>
    </af:panelTabbed>To my surprise, it did not cause an exception and my components follow the changes that I am doing in the template
    I read from a previous post from Frank that *'not because its not throwing an exception then its okay'.*
    I have used templates to style my pages but they are at the top of my page. In this case, my use case is different.
    Comments are very much welcome.
    Thanks.
    Edited by: Neliel on Jul 7, 2011 6:51 PM

    Hi,
    dynamic declarative components would do the same trick. Unfortunately those are less well documented. In summary, a dynamic declarative component is a JSFF page that you define Facets for and FecetRefs in (this is where users then add the content (or in your case the showDetail content would be generated in). Below is a simple sample:
    JSFF page
    =======
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
    <af:componentDef var="attrs">
      <af:xmlContent>
       <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
        <facet>
         <description>
          What goes in right
         </description>
         <facet-name>
          LeftArea
         </facet-name>
        </facet>
        <facet>
         <description>
          What goes in left
         </description>
         <facet-name>
          RightArea
         </facet-name>
        </facet>
        <attribute>
         <attribute-name>
          headerTitle
         </attribute-name>
         <attribute-class>
          java.lang.String
         </attribute-class>
        </attribute>
       </component>
      </af:xmlContent>
      <af:panelStretchLayout id="psl1">
       <f:facet name="center">
        <af:panelBox id="dc_pb1" text="#{attrs.headerTitle}"
                     styleClass="AFStretchWidth">
         <f:facet name="toolbar"/>
         <af:panelSplitter id="dc_ps1" splitterPosition="293">
          <f:facet name="first">
           <af:facetRef facetName="LeftArea"/>
          </f:facet>
          <f:facet name="second">
           <af:facetRef facetName="RightArea"/>
          </f:facet>
         </af:panelSplitter>
        </af:panelBox>
        <!-- id="af_one_column_stretched"   -->
       </f:facet>
      </af:panelStretchLayout>
    </af:componentDef>
    </jsp:root>The "<af:xmlContent>" area defines the metaData (Facets). After the "</af:xmlContent>" tag you add the visual content. Note the use of FaceRef in the
    panelSplitter for users to later add their stuff
    The JSFF file that represents the dynamic declarative component must reside in the same project as the page consuming it
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:panelDashboard id="pd1">
              <af:declarativeComponent viewId="BeautifulBoxDef.jsff" headerTitle="One">
                <f:facet name="LeftArea">
                  <af:commandButton text="Open Calculator" id="cb1"/>
                </f:facet>
                <f:facet name="RightArea">
                  <af:commandButton text="Open Calendar" id="cb2">
                    <af:showPopupBehavior popupId="::p1"/>
                  </af:commandButton>
                </f:facet>
              </af:declarativeComponent>
              <af:declarativeComponent viewId="BeautifulBoxDef.jsff" headerTitle="Two"/>
            </af:panelDashboard>
            <af:popup id="p1">
              <af:dialog id="d2" title="Info" type="ok">
                <af:outputFormatted id="of1"/>
                <af:calendar id="c1"/>
              </af:dialog>
            </af:popup>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>You see the declarative component being added twice to the page ( <af:declarativeComponent viewId="BeautifulBoxDef.jsff" headerTitle="One">). The IDE will flag an error saying that the DashBoard component expects a PanelBox as a child. This however is not true.
    Note that dynamic declarative components participate in teh geometry management which means they stretch if their parent container stretches its children
    See also:
    http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e12419/tagdoc/af_declarativeComponent.html
    http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e12419/tagdoc/af_componentDef.html
    http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e12419/tagdoc/af_xmlContent.html
    I'll take a not to write something up about this for ADF Code Corner or OTN Harvest as the above really is the recommended way to do this in 11.1.1.x
    Frank

  • Page templates and shortcuts

    Hi all,
    I was trying to use a shortcut in the body of my page template. The shortcut runs a pl/sql function that return different html depending on various factors. However when I run the page all I get out is the name of the shortcut.
    I have it in the template as "SHORTCUTNAME" which has worked ok in the past in region templates. Is there something about page templates that disallows this functionality?

    [Not available in page templates|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b32258/bldapp.htm#CEGFCCAB]:
    >
    New shortcuts are added to the Shortcut repository and are available for use within the following locations:
    The Region Source attribute of regions defined as HTML Text (with shortcuts). See "Understanding Regions".
    Region Header and Footer Text attribute. See "Specifying a Region Header and Footer".
    Item Label attributes and Default Value attribute. See "Items".
    Region Templates attributes. See "Editing Templates".

  • Page template not loading into BC

    HI there
    I have created a new template by creating a page (not from masters) and have added {tag_pagecontent} by adding HTML, and uploaded it to BC. The template is not ppearing in templates.
    Can anyone please help me? Has something changed with last update?
    Thanks so much
    Bec.

    ok so I have create a page in my muse file and called it template_recipes
    Last time i did this I was told not to use a master page. So i created this page from scratch using no master, and embedded the html code tag {tag_pagecontent]
    Published it to BC and no template was found in "Page Templates" in BC
    So then i did the same steps but created the page with a Master and published it to BC.... Still no template in "page templates"
    Nothing is working and I am tearing my hair out... can anyone lhelp me please????

Maybe you are looking for