Page designer show small view when using page template and cannot be run

Dear Experts,
I need to make some page templates.
I have build 2 simple page templates, let say template0 & template1 which template1 using template0.
It show no any problem until I close my Jdeveloper & reopen it.
When I reopen template1, it show so small in designer (Jdeveloper window).
Is there any wrong?
I have build another template, just 1 template.
When I used it at the first time, no any strange behavior occur.
After ... (I don't exactly when), it give me the same view in my designer.
Then I force to use my first tempate (template1 which used template0 inside), I cannot run my application at all.
After wait several minutes, I found error log in my log messages.
*#### Server Instance DefaultServer could not be started: Server Instance was terminated.*
Above the message, I found another error messages:
*Jun 7, 2009 5:40:19 PM ComponentMetadataHandler _error*
WARNING: error parsing component tag in file: null/tag:xmlContent/id:dte_160d74a
org.xml.sax.SAXParseException: <Line 69, Column 7>: XML-20100: (Fatal Error) Expected 'EOF'.
*     at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)*
Is there anyone that can help me to find out why this error occured?
Should I raise this problem to metalink or just can post it in this forum?
Many thanks for your supporting...
N.B: Below I attach my template0 (AHM000.jspx) and template1 (AHM001.jspx)
Best regards,
Dominic Chandra
AHM000.jspx
<?xml version='1.0' encoding='windows-1252'?>
<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:c="http://java.sun.com/jsp/jstl/core">
<c:set var="ahmwebtemplateBundleAHM000"
value="#{adfBundle['com.ahm.lib.view.template.AHMWebTemplateBundle']}"/>
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<af:pageTemplateDef var="attrs">
<af:panelSplitter orientation="vertical" splitterPosition="60">
<f:facet name="first">
<af:decorativeBox theme="dark" topHeight="0px">
<f:facet name="center">
<af:panelHeader text="#{attrs.pageTitle}">
<f:facet name="context"/>
<f:facet name="menuBar"/>
<f:facet name="toolbar"/>
<f:facet name="legend">
<af:panelGroupLayout>
<af:outputText value="#{attrs.pageName}"/>
<af:outputText value="#{sessionScope.userState.userName}"/>
<f:facet name="separator">
<af:spacer width="10" height="10"/>
</f:facet>
</af:panelGroupLayout>
</f:facet>
<f:facet name="info">
<af:statusIndicator/>
</f:facet>
</af:panelHeader>
</f:facet>
<f:facet name="top"/>
</af:decorativeBox>
</f:facet>
<f:facet name="second">
<af:panelSplitter orientation="vertical" positionedFromEnd="true"
splitterPosition="20">
<f:facet name="first">
<af:decorativeBox theme="light" topHeight="0px">
<f:facet name="center">
<af:facetRef facetName="mainArea"/>
</f:facet>
<f:facet name="top"/>
</af:decorativeBox>
</f:facet>
<f:facet name="second">
<af:panelGroupLayout inlineStyle="text-align:right;">
<af:outputText value="#{ahmwebtemplateBundleAHM000.VERSION} #{attrs.appVersion}"
inlineStyle="color:Navy;"/>
<af:outputText value="© 2009 PT Astra Honda Motor"
inlineStyle="color:Navy; font-weight:bold;"/>
<f:facet name="separator">
<af:spacer width="10" height="10"/>
</f:facet>
</af:panelGroupLayout>
</f:facet>
</af:panelSplitter>
</f:facet>
</af:panelSplitter>
<af:xmlContent>
<component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
<display-name>AHM000</display-name>
<facet>
<description>Main Area</description>
<facet-name>mainArea</facet-name>
</facet>
<attribute>
<attribute-name>pageTitle</attribute-name>
<attribute-class>java.lang.String</attribute-class>
<default-value>Page Title</default-value>
<required>true</required>
</attribute>
<attribute>
<attribute-name>
pageName
</attribute-name>
<attribute-class>
java.lang.String
</attribute-class>
<default-value>
ahmxxyyynnnznn
</default-value>
<required>
true
</required>
</attribute>
<attribute>
<attribute-name>
appVersion
</attribute-name>
<attribute-class>
java.lang.String
</attribute-class>
<default-value>
1.0.0
</default-value>
</attribute>
</component>
</af:xmlContent>
</af:pageTemplateDef>
</jsp:root>
AHM001.jspx
<?xml version='1.0' encoding='windows-1252'?>
<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:c="http://java.sun.com/jsp/jstl/core">
<c:set var="ahmwebtemplateBundleAHM001"
value="#{adfBundle['com.ahm.lib.view.template.AHMWebTemplateBundle']}"/>
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<af:pageTemplateDef var="attrs">
<af:pageTemplate viewId="/template/AHM000.jspx">
<f:facet name="mainArea">
<af:panelSplitter splitterPosition="#{attrs.searchAreaPosition}">
<f:facet name="first">
<af:facetRef facetName="searchArea"/>
</f:facet>
<f:facet name="second">
<af:panelSplitter positionedFromEnd="true"
splitterPosition="#{attrs.infoAreaPosition}">
<f:facet name="first">
<af:facetRef facetName="mainArea"/>
</f:facet>
<f:facet name="second">
<af:facetRef facetName="infoArea"/>
</f:facet>
</af:panelSplitter>
</f:facet>
</af:panelSplitter>
</f:facet>
<f:attribute name="pageTitle"
value="#{attrs.pageTitle}"/>
<f:attribute name="pageName" value="#{attrs.pageName}"/>
<f:attribute name="appVersion" value="#{attrs.appVersion}"/>
</af:pageTemplate>
<af:xmlContent>
<component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
<display-name>AHM001</display-name>
<facet>
<description>Search Area</description>
<facet-name>searchArea</facet-name>
</facet>
<facet>
<description>Main Area</description>
<facet-name>mainArea</facet-name>
</facet>
<facet>
<description>Info Area</description>
<facet-name>infoArea</facet-name>
</facet>
<attribute>
<attribute-name>pageTitle</attribute-name>
<attribute-class>java.lang.String</attribute-class>
<default-value>Page Title</default-value>
<required>true</required>
</attribute>
<attribute>
<attribute-name>
pageName
</attribute-name>
<attribute-class>
java.lang.String
</attribute-class>
<default-value>
ahmxxyyynnnznn
</default-value>
<required>
true
</required>
</attribute>
<attribute>
<attribute-name>
appVersion
</attribute-name>
<attribute-class>
java.lang.String
</attribute-class>
<default-value>
1.0.0
</default-value>
</attribute>
<attribute>
<attribute-name>
searchAreaPosition
</attribute-name>
<attribute-class>
java.lang.Integer
</attribute-class>
<default-value>
200
</default-value>
</attribute>
<attribute>
<attribute-name>
infoAreaPosition
</attribute-name>
<attribute-class>
java.lang.Integer
</attribute-class>
<default-value>
200
</default-value>
</attribute>
</component>
<af:decorativeBox>
<f:facet name="center"/>
<f:facet name="top"/>
</af:decorativeBox>
</af:xmlContent>
</af:pageTemplateDef>
</jsp:root>

Hi...
Thanks for asking....
As I put in my post before, I include template0 in my template1, as seen in template1 (AHM001):
<af:pageTemplateDef var="attrs">
*<af:pageTemplate viewId="/template/AHM000.jspx">*
I use AHM000 inside AHM001. I use this approach to build many template based on one basic design.
Actually, I don't think the problem is in page template usage because as I submitted paralel to Metalink, I've already not called template0 in template1 but I copy template0's contents to template1.
Unfortunately, page designer show small view and below error messages still occured.
*Jun 7, 2009 10:25:20 PM ComponentMetadataHandler _error*
WARNING: error parsing component tag in file: /AhmTestTemplate-ViewController1-context-root/template/AHM001.jspx/tag:xmlContent/id:null
org.xml.sax.SAXParseException: <Line 115, Column 51>: XML-20100: (Fatal Error) Expected 'EOF'.
Fortunately my application can be run already altough the error message still logged.
Many thanks,
Dominic C.

Similar Messages

  • #WELCOME_USER# show only "Welcome:" when use custom template

    I created custom page template and place #WELCOME_USER# in body:
    <div id="header">
      <div id="logo"><a href="#HOME_LINK#">#LOGO##REGION_POSITION_06#</a></div>
      #REGION_POSITION_07#
      <div id="navbar">
        #NAVIGATION_BAR#
        <div class="app-user">#WELCOME_USER#</div>
        #REGION_POSITION_08#
      </div>
    </div>
    ...... (other divs)If logged, I see on page with this template only "Welcome:",but on other pages (with standard apex templates) username shows normally.
    Please help and sorry for bad english.

    Replacing *#WELCOME_USER#* with *&APP_USER.* did not work for you?

  • Anychart: Bug when using chart template and Javascript

    Hi all,
    When I create a chart using custom xml and a template -
    <templates path="#IMAGE_PREFIX#Chart_templates/my_chart_template.xml"/>If I call toggle a series using some javascript:
       var chart = getChart(); // function created by the chart embedding javascript to capture a reference to the chart object
       chart.showSeries('population_average', $('input[is_series_toggle="true"]').is(':checked'));
       chart.refresh();The series is toggled correctly but the chart is refreshed without applying the chart template, so it looks ugly.
    Anychart claim this is an Apex specific issue because Apex uses a special build of Anychart? Anyone else encountered this problem and have a workaround. Or any other suggestions would be welcome.

    Hello Sara,
    The behavior you are describing is a long time known issue. It is a bug that should have been resolved by now, but for some reason was not. Maybe it’s because none of the default (built-in) page templates is using images with TABs.
    The workaround is to create your own img tag in the appropriate page template section, using the #TAB_NAME# substitution string. The principle is to name your corresponding images like current_#TAB_NAME#.gif and non_current_#TAB_NAME#.gif, where the #TAB_NAME# part in the file name is replaced with the actual tab name. So, for a TAB called EMP, you’ll have two image files by the names current_EMP.gif and non_current_EMP.gif.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • DMS viewing when using both GUI and Portal front end

    I have a requirement to be able to access and view documents in both the standard SAP GUI as well as from the portal via the PLM 7.0 web front end.  The issue is when the workstation application is defined as %VIEWER-CONTROL% % SAPPROVIS% I can view 2D (tif) images in the portal but am unable to view from the standard gui.   I am also having issues with JT and office documents from the portal side.  Does anyone have a link to a configuration guide as it relates to correct setting when configuring EHP4 items for the portal?

    Hi,
    based on your description and due to information from my colleagues I
    can provide you the following suggestion and hope this is suitable for
    you.
    The way I see is that you maintain two separate workstation application
    types one with setting which works in the SAP GUI
    i.e. with the ECL Viewer
    EAIWeb.webviewer3D.1 %SAP-CONTROL%
    EAIWeb.webviewer2D.1 %SAP-CONTROL%
    and one for the PLM WebUI with the settings for the embedded viewer
    i.e. with Product Visualization Viewer %VIEWER-CONTROL%%SAPPROVIS%

  • My mac air is showing 45.8 gb used as other and cannot find or delete to free space

    my macbook air is showing that the hard drive has over 45gbs on it and is classified as other i need to free up space but cannot find these files.  i have downloaded two seperate apps from the app store called broom and disc doctor neither of which has freed up much at all.  I have already cleared all the downloads which helped.

    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion's Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.
    Also, see What is "Other" and What Can I Do About It?- Apple Support Communities.

  • Font is shown very small when using IE Tab and Windows Display is selected to show larger fonts

    I'm on Windows 7 - 64 bit and I set my Windows display to show larger fonts (from Control Panel, Display, then choose Larger Fonts). Now all pages show bigger fonts, except when I use IE Tab.
    I use IE Tab so that I can open my Microsoft Dynamics CRM website on Firefox; however the fonts look way too small; it is even smaller than when the Display Setting was set to use normal size fonts.
    Tried to change to use smaller resolution, it didn't work. Zooming-in is very slow on Firefox, so it is not an option for working on the webpage. Tried changing the default fonts on Firefox, however the page is still always opened with the very small fonts.
    From Firefox I also unchecked the "Allow pages to choose their own fonts, instead of my selections above" (from Tools, Options, Content, Advanced), but it still doesn't fix it.
    Played around with my Firefox IE Tab setting, but no luck.
    I downgraded my Firefox to version 3.5.9 to use the older IE tab, but still not fixed yet.
    Is there a solution for this? Thanks in advanced for your help,
    -Elisabeth
    I use IE Tab so that I can open my Microsoft Dynamics CRM website on Firefox; however the fonts look way too small; it is even smaller than when the Display Setting was set to use normal size fonts. Tried to change to smaller resolution, it didn't work. Zooming in is very slow on Firefox, so it is not an option for working on the CRM. Tried changing the default fonts on Firefox, however the page is still always opened with the very small fonts.
    Initially I used Firefox 3.6.7 with IE Tab 2 Add-on. I
    == URL of affected sites ==
    http://Microsoft_Dynamics_CRM_Website

    Hi...
    Thanks for asking....
    As I put in my post before, I include template0 in my template1, as seen in template1 (AHM001):
    <af:pageTemplateDef var="attrs">
    *<af:pageTemplate viewId="/template/AHM000.jspx">*
    I use AHM000 inside AHM001. I use this approach to build many template based on one basic design.
    Actually, I don't think the problem is in page template usage because as I submitted paralel to Metalink, I've already not called template0 in template1 but I copy template0's contents to template1.
    Unfortunately, page designer show small view and below error messages still occured.
    *Jun 7, 2009 10:25:20 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: /AhmTestTemplate-ViewController1-context-root/template/AHM001.jspx/tag:xmlContent/id:null
    org.xml.sax.SAXParseException: <Line 115, Column 51>: XML-20100: (Fatal Error) Expected 'EOF'.
    Fortunately my application can be run already altough the error message still logged.
    Many thanks,
    Dominic C.

  • How do I create a master page when using Project7 templates?

    Hi,
    I am using P7 templates to easily create a nice website. However, I would like to create for example the main menu only once and have it re-used on every page or at least every page I want to. I think this is a called a masterpage (?) where you can tag parts to be re-used on other pages.
    Can somebody please tell me where I can find support, examples, tutorials on this? Or can somebody tell me how to do this in a P7 template?
    Thanks in advance!!
    Robert (Netherlands)

    You want to save your project page as a DW Template from which your other site pages will be spawned.  Or, you want to use Server-Side Includes (SSIs).
    Guidance  on when to use DW Templates and SSIs  -
    http://www.adobe.com/devnet/dreamweaver/articles/ssi_lbi_template.html
    More on DWTemplates -
    http://forums.adobe.com/message/2032104#2032104
    More on SSI -
    http://forums.adobe.com/message/2112460#2112460
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • In Firefox 3.6.10 I was able to go forward and backwards between pages without the page defaulting to the top of the page. Is there any way to prevent the page from automatically moving to the top when using the forwards and back buttons in Firefox Four?

    I like to be able to navigate backwards and forwards without having to scroll down and find where I was previously. In Firefox Four, when using the forwards and back buttons, the page will automatically return to the top of the page. Is there any way to change this setting in Firefox Four to prevent it from doing that?

    Thanks for the response. No Time Machine, but I probably have a backup from a few months ago on an external hard drive. :/ I guess it'd have useful history, but not if it overwrote the last 3 months or so of Awesome Bar, that might not be so great.

  • REPOST:Timing does not show up when using custom templates

    all,
    When I create an unstructured template and use it in a report with show timing set to true, the timing does not show up.
    any tips

    Correcting my previous reply,
    Timing will NOT show if you are using custom template.
    null

  • When using FireFox I often cannot view pictures in Hotmail, but have no problem when using other browsers

    When using FireFox I often cannot view pictures in Hotmail emails, but I have no problem when using other browsers

    Do you also have this issue if you temporarily switch to Private Browsing mode?
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    *Select: [X] "Always use private browsing mode"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    See also:
    *https://support.mozilla.org/kb/fix-login-issues-on-websites-requrie-passwords

  • Where are my designs stored when using Adobe CC and can i access them if i cancel ?

    where are my designs stored when using Adobe CC and can i access them if i cancel ?

    This is answered in the CC FAQ: http://www.adobe.com/products/creativecloud/faq.html

  • HT204291 When using my iPad and playing videos, I only hear the sound. Why will it not show the video?

    When using my iPad and playing videos, I only hear the sound. Why will it not show the video?  My iPad 2 and iPhone 5 work no issues.

    Hi sheilafrommannford,
    Welcome to the Support Communities!
    The articles below may be able to help you with this issue.
    Click on the links to see more details and screenshots.
    Using AirPlay
    http://support.apple.com/kb/HT4437
    Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/TS4215
    Cheers,
    Judy

  • 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".

  • Panel contents overlap when using borderSkin style and layout=absolute

    This problem has been reported on several occasions
    (http://bugs.adobe.com/jira/browse/SDK-14806)
    and there are several articles that talk about this:
    http://dougmccune.com/blog/2008/01/17/followup-about-flex-panel-bug/
    http://dougmccune.com/blog/2008/01/12/calling-********-on-a-resolved-flex-bug/
    I´m not an expert but think I found a fix/workaround for this.
    frameworks\projects\framework\src\mx\containers\Panel.as
    Must to be changed in the viewMetrics() method.
    Line:
    973- if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) 974- {
    Replace by:
    if ((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) || (getQualifiedClassName(border) != "mx.skins.halo::PanelSkin") || (getStyle("borderStyle") != "default") ) {

    Hi Andres,<br /><br />I haven't tried to verify your fix, but would you be willing to fill out a contributor agreement and submit an official patch?<br /><br />Matt<br /><br /><br />On 4/25/08 12:34 PM, "Andres Serral" <[email protected]> wrote:<br /><br />A new discussion was started by Andres Serral in<br /><br />Developers --<br />  Panel contents overlap when using borderSkin style and layout=absolute<br /><br />This problem has been reported on several occasions<br />(http://bugs.adobe.com/jira/browse/SDK-14806)<br />and there are several articles that talk about this:<br />http://dougmccune.com/blog/2008/01/17/followup-about-flex-panel-bug/<br />http://dougmccune.com/blog/2008/01/12/calling-********-on-a-resolved-flex-bug/<br /><br />I´m not an expert but think I found a fix/workaround for this.<br /><br />frameworks\projects\framework\src\mx\containers\Panel.as<br />Must to be changed in the viewMetrics() method.<br /><br />Line:<br />973- if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) 974- {<br /><br />Replace by:<br />        if ((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) || (getQualifiedClassName(border) != "mx.skins.halo::PanelSkin") || (getStyle("borderStyle") != "default") ) {<br /><br />________________________________<br />View/reply at Panel contents overlap when using borderSkin style and layout=absolute <a href=http://www.adobeforums.com/webx?13@@.59b51731><a href=http://www.adobeforums.com/webx?13@@.59b51731><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b51731!folder=.3c060fa3><a href=http://www.adobeforums.com/webx?280@@.59b51731!folder=.3c060fa3>  form to cancel your email subscription.

  • Page Template and regions.

    Hello,
    Is it possible to put a Messages component in a page template and then to access it from pages which are using that template and from page fragments used in those pages? If so, how?
    Thanks.
    Edited by: Deniz Gulmez on 03.Kas.2009 04:00

    We do that by:
    Having a base managed bean that we bind template component:
    i.e.
    private HtmlMessages messages;
    public void setMessages(HtmlMessages messages) {
    this.messages = messages;
    public HtmlMessages getMessages() {
    return messages;
    then for the page or fragment managed bean we extend it from base managed bean.
    then we can access messages by supper.getMessages()

Maybe you are looking for

  • How can I find the path of an external hard drive?

    I am using Virtual Box to install linux to an external usb flash drive. It gives me a list of drives:/ dev/sda, /dev/sda2 (type: ext 4), /dev/sda5 (type: swap). Which one is my external flash drive. This is very import and so I don't write per my cur

  • VIDEO IN on new Quad Core iMac?

    Hello FOlks. I have a Digital Night Vision Monocular I need to connect video in on my Quad Core iMac. Can anyone tell me WHICH CABLE is the cheapest and best for this? I need a standard video like from a camcorder plug, I've seen converters with mult

  • Remove plugins in fcpx

    Is there a way to remove plugins in FCPX? I have a bunch of Logic and thrird party audio plugins that show up in FCPX, but it looks like they are giving me some trouble.  How do I remove them from FCPX, but still keep them in Logic?

  • IPOD 60GB will not transfer PHOTOs from my XP 64 bit computer

    iPOD 60GB will not transfer PHOTOs from my XP 64 bit computer - I get read/write to iPOD hardrive error message. Everything esle is working (including iPOD update). Is it something I am doing wrong or is it not compatible with Window XP Pro 64 Bit ju

  • Breadcrumbs

    Hi, I have been trying to add breadcrumbs to my pages using dreamweaver 8. I am aware that there are templates in snippets. but it appears as if the only way of using them is to place them on every page, manually changing the coding of each. Is this