Sub templates: ?template:TemplateName? shifts content of the template

Hi,
I have a sub template which is defined by the following code:
<?template:TemplateName?>
Content of a template
<?end template?>
The subtemplate is called by the following code:
<?import:file:///D:/BITemplates/Template.rtf?>
<?call@inlines:TemplateNameT?>
<?end call?>
The content of the template is a table on a two column page. When I run it in JDE, it looks like the table getting shifted couple rows down. If I run it locally on my machine as a regular, non template report, it appears fine. I suspec that the shift is caused by <?template?>, but not sure why and how. It causes major problems as the whole allignemnt of the data is appearing wrong when I run it as a sub template from JDE.
Any ideas why this happening and how I can fix that?
Thanks a lot!

I found the problem. Extra spaces in the main template were shifting content. After I deleted extra and unnecessary spaces, the template looks as it is suppose to now.

Similar Messages

  • I have a custom template.  When I edit it and try to save it asks me to name it and then I end up with an additional custom template.  How do I edit the template and save the changes without creating another template?

    I have a custom template.  When I edit it and try to save it asks me to name it and then I end up with an additional custom template.  How do I edit the template and save the changes without creating another template?

    Hi Atrec,
    If you don't need your old custom template, save your changes with the same template name. It will tell you that this template exists and will ask you Replace? Say yes (if you do want to replace the old with the new!)
    To delete unwanted templates, go to Finder > Menu > Go and press the option key. Your Library will show in the Go Menu. Navigate to Library > Application Support > iWork > Numbers > Templates > My Templates.
    Delete any unwanted template by dragging it to the Trash or click on it then command-delete.
    Having gone to all that trouble to find My Templates folder, right click (or control click) on it and Make Alias. Drag the Alias to any convenient place for a quick way to get back to that folder.
    Regards,
    Ian.

  • Why is the filler content in the Templates in Pages 09' in Spanish?

    Well, I had this problem with my old, Mid-2011 27" iMac. I purchased and downloaded Pages 09' from the Mac App Store. Everything is fine, until I go into my templates when the application opens. If I select anything other than a blank, standard page, all of the filler content is in Spanish. For example, whenever I open up a resume template, the title, and some of the sub titles and sections are in English, BUT, the content in the different sections is in Spanish. I don't know what's going on here. I first incountered this problem when I had my Mid-2011 iMac, and now that I received my Late-2012 iMac, and went into my App Store, and then to my purchases, and downloaded all my apps that I downlaoded on the other computer. So what do you know, again, I'm having the same problem with the filler content in Pages 09' being in spanish..
    I would upload a screen capture of the window, but for some reason I am having trouble uploading them to this forum. Also, I want to let everyone know that this computer hasn't been brought to any other countries, much less used in them. I mention that because an Apple rep suggested that, but I told him (when I had a Mid-2011, that it was a desktop and I've never brought it out of the country. I've gone through everything in the menus and settings and I can not find a single thing that looks like it would help me out. Is there something stupid that I am missing?

    I don't speak Latin either, doesn't mean I don't recognise it or mistake it for Spanish.
    Latin is a large part of English, Science and Mathematics and as such I find it difficult to believe you did not encounter it at some point in your education.
    Spanish is actually spoken by more people in the world than English, which is only the 3rd most spoken language. Given its wide spread use, particularly in America, I am amazed that you can not identify that even though you may not speak it either.
    What fascinates me most of all is this has all eluded you for years. You didn't just click in the text to see what happens, nor look up Pages Help or the UserGuide nor Apple tutorial videos all under the Help menu.
    You are not alone, we get this quite frequently and yours in not the worst wild guess at the apparently quite intimidating "foreign language". The reason that you can neither identify what it it is and are so intimidated is summed up in the 'not interested': "I can't read that crap".
    Peter

  • How to import Montion 5 Templates to Final Cut Pro? The Template changes background in Final Cut. Why?

    I am trying to import the "splash" template from motion 5 to Final Cut Pro X. It works well as I can find the template, but the background in the template has changed. Why is this and where did I go wrong?

    I'm unsure what you're asking about.
    The Splash compositions are available in FCP in Titles. If you want to modify them, you can open a copy in Motion and make changes. You can then "publish" your custom version in FCP and both the original Splash and the custom Splash will be available.
    You can also begin the process in Motion from the Project Browser. You can publish a copy that will be available from the project browser and you can add it to generators in FCP.
    Of course, you can also use the Share menu to export and then import a QuickTime movie (not the template) into
    FCP.
    The workflow is way different than it was for previous versions of Final Cut and Motion.
    Russ

  • Can't figure, looking at the code what template is being called or where the template is in a .html.

    Can't figure, looking at the code in an .html file what templa
    te is being called or where the templa
    te is.

    Hi,
    please have a look to http://forums.adobe.com/message/3407051#3407051, point 4, where Murray explained "tool template".
    Good luck!
    Hans-G.

  • How do I force Pages to keep the object formatting when saving? I placed the word 'draft' in the background of a template, rotated it slightly and save the template. Though the template opens with these changes intact, the document doesn't.

    I'm up to date with OS and Pages software, using an Intel iMac 2 yrs old.

    You need to Capture the page so that it applies to subsequent pages, applying the master objects.
    It sounds like you have just done this for the first page and the following pages are just plain.
    The process is explained here in Letterhead and Followers:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=182&mforum=iworktips ntrick
    Peter

  • Performance management redeploying the template with contents

    Hi
    we are currently configring the Performance appraisal template.
    We want to remove the template from the employee screen once the objective is approved by the manager and employee at the beginning of the year.
    Again the template need to be deployed back to the employees for the mid year review and also for the Final appraisal.
    Can anyone provide the tcode/process for distributing and withdrawing the template with the contents during mid year and final appraisal with the data entered by the employee at the start of the year
    thanks in advance
    Sasha

    Hello Sasha,
    check for the validiy dates under the Enhancements DV.
    This what you can do - At the category level select the Enhancement : Default Validity Period       -  Standard
    Then at the template level - in the Processing tab- select Futher Template Behaviour - in the window that pops up add the enhancement of the validity dates.
    As standard functionality the validity is " STANDARD" but you would need to copy and enhance this to meet your requirement if you have to avoid the manul work of someone locking and unlocking the template now and then.
    Hope this helps,
    Regards,
    Regi

  • JSPException when the template content contains a stuts form

    I have mas a simple example a template including a content which use a
              form
              All I have is an exception !
              javax.servlet.jsp.JspException
              at org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag.java:149)
              when I ask for the following page :
              <%@ page language="java" session="true" %>
              <%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
              <template:insert template="/tpl_test.jsp">
              <template:put name="content_main" content="/ctn_test.jsp"/>
              </template:insert>
              which use the template
              <%@ page language="java" session="true" %>
              <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="struts_html" %>
              <%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
              <struts_html:html locale="true">
              <head>
              <struts_html:base/>
              </head>
              <body>
              <h1><template:get name="content_main"/></h1>
              </body>
              </struts_html:html>
              and the follwoing content :
              <%@ page language="java" session="true" %>
              <%@ taglib uri="/WEB-INF/struts.tld" prefix="struts" %>
              <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="struts_html" %>
              <%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
              <struts_html:html locale="true">
              <head>
              <title>TEST</title>
              <struts_html:base/>
              </head>
              <body>
              <form:form action="logon.do">
              <!-- commented or not same exception
              LOGIN
              <form:text property="userName"/>
              PASSWORD
              <form:text property="password"/>
              <struts_html:link href="javascript:submit();"><struts:message
              key="button.submit"/></struts_html:link>
              -->
              </form:form>
              </body>
              </struts_html:html>
              

    I'm not sure, but is seems to me, that the resulting html source code is
              wrong.
              in your template page ...
              <struts_html:html locale="true">
              <head>
              <struts_html:base/>
              </head>
              <body>
              <h1><template:get name="content_main"/></h1>
              </body>
              </struts_html:html>
              at the position <template:get .....> the following code will be inserted
              <struts_html:html locale="true">
              <head>
              <title>TEST</title>
              <struts_html:base/>
              </head>
              <body>
              <form:form action="logon.do">
              <!-- commented or not same exception
              LOGIN
              <form:text property="userName"/>
              PASSWORD
              <form:text property="password"/>
              <struts_html:link href="javascript:submit();"><struts:message
              key="button.submit"/></struts_html:link>
              -->
              </form:form>
              </body>
              </struts_html:html>
              you now have several tags twice, which actually may only appear once in an
              html page (body, html, ...)
              try to use the following jsp as your content page:
              <%@ page language="java" session="true" %>
              <%@ taglib uri="/WEB-INF/struts.tld" prefix="struts" %>
              <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="struts_html" %>
              <%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
              <form:form action="logon.do">
              <!-- commented or not same exception
              LOGIN
              <form:text property="userName"/>
              PASSWORD
              <form:text property="password"/>
              <struts_html:link href="javascript:submit();"><struts:message
              key="button.submit"/></struts_html:link>
              -->
              </form:form>
              HTH
              Hansjoerg
              "Christophe CAENEVET" <[email protected]> schrieb im Newsbeitrag
              news:[email protected]...
              > I have mas a simple example a template including a content which use a
              > form
              >
              > All I have is an exception !
              > javax.servlet.jsp.JspException
              > at
              org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag.java:149)
              > when I ask for the following page :
              > <%@ page language="java" session="true" %>
              > <%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
              > <template:insert template="/tpl_test.jsp">
              > <template:put name="content_main" content="/ctn_test.jsp"/>
              > </template:insert>
              >
              > which use the template
              >
              > <%@ page language="java" session="true" %>
              > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="struts_html" %>
              > <%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
              > <struts_html:html locale="true">
              > <head>
              > <struts_html:base/>
              > </head>
              > <body>
              > <h1><template:get name="content_main"/></h1>
              > </body>
              > </struts_html:html>
              >
              > and the follwoing content :
              > <%@ page language="java" session="true" %>
              > <%@ taglib uri="/WEB-INF/struts.tld" prefix="struts" %>
              > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="struts_html" %>
              > <%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
              > <struts_html:html locale="true">
              > <head>
              > <title>TEST</title>
              > <struts_html:base/>
              > </head>
              > <body>
              > <form:form action="logon.do">
              > <!-- commented or not same exception
              > LOGIN
              > <form:text property="userName"/>
              > PASSWORD
              > <form:text property="password"/>
              > <struts_html:link href="javascript:submit();"><struts:message
              > key="button.submit"/></struts_html:link>
              > -->
              > </form:form>
              > </body>
              > </struts_html:html>
              

  • Used a template to create form. when I run it from a page, the template is not shown

    I have created a form based on a template. When I run it from the applications page I can see the template. I then added it as an application component item with a folder in a content area. I have then published this folder as a portlet in a page. When I the form from the portlet within that page, it opens up in a new window but there is no template.
    How do I get the template to show when I run it from the portlet ?

    It is true that the template is not shown when the form is run as a portlet. But, with a small amount of coding in the additional pl/sql section, you can display the template.
    Steps :-
    1> Edit the form and go to the additional pl/sql section.
    2> Put the following code in the "...before displaying the page" area
    declare
    l_mid integer;
    l_title varchar2(32767);
    l_template varchar2(200);
    begin
    l_mid := p_session.get_module().id;
    l_title := p_session.get_module().title;
    l_template := p_session.get_module().template;
    <portal_schema>.wwv_headings.show_header
    p_template => l_template,
    p_heading => l_title,
    p_help_link => <portal_schema>.wwctx_api.get_proc_path('wwa_app_module.help')
    || '?p_module_id='||l_mid
    end;
    3> Put the following code in the "...after displaying the page" area
    declare
    l_template varchar2(200);
    begin
    l_template := p_session.get_module().template;
    <portal_schema>.wwv_headings.show_footer
    p_template => l_template
    end;
    Note: replace <portal_schema> with appropriate your portal schema .

  • DBCA doesn't save character set information in the template!!

    Hello,
    I have found a problem using the DBCA when creating a template with a database character set of AL32UTF8.
    When I create a database using the aforementioned template from the commandline (dbca -silent) it reverts the character set to WE8ISO8859P1.
    If I try and alter the character set after creation using:
    ALTER DATABASE CHARACTER SET AL32UTF8;
    it complains that tis cannot be done, so I must set this in the template.
    Am I missing something obvious? Why is this information not being stored in the .dbc file?
    Many thanks
    Nic Hemley

    Well, having patched the template xml file i then had to do:
    dbca -silent -createDatabase -templateName advisor.dbc -gdbName advisor.invocom -sid advisor -sysPassword j3r3m1aha -continueOnNonFatalErrors false
    apparently the .dbc is required on the template name
    However.....
    NLS_DATE_LANGUAGE
    NLS_DATE_FORMAT
    NLS_LANGUAGE
    NLS_TERRITORY
    NLS_ISO_CURRENCY
    are not set in the template either...why is the template missing so much stuff that i thought i had configured?

  • Forms Deployment: Location of the Templates\Release directory

    Hi everybody,
    I would like to deploy my Forms 6i application using the Oracle
    Installer. I have created the scripts (*.map, *.vrf, etc.) using
    Project Builder.
    The Forms documentation ("Managing Your Applications") talks
    about copying the contents of the Templates\Release directory
    from the Oracle CD, but I could not find this directory in the
    6i CD.
    I downloaded both the D2K 2.1 & 6i Patch Sets from Oracle's FTP
    site, but no luck there too.
    Is there some other location that I should be looking at?
    Any help would be most welcome.
    Thanks and regards,
    Rajesh Jayaprakash
    [email protected]

    The deployment directory in which the OC4J embedded server applications are deployed is
    <JDeveloper 10.1.3>\jdev\mywork\<Application>\<Project>\deploy

  • New Computer OLD DW4 problem with site transfers specifically the templates

    I'm running the ancient dreamweaver 4 (not cs4, the really old one!) and just got a new computer, the site I've been working on is saved on a flash drive on my USB port & I am able to open each page/file individually & they each look fine, BUT they are no longer attached to the template I created (although I can view them correctly!?!?) So now when I make a change to the template it doesn't prompt me to update all attached pages    HELP Please!

    they are showing correctly in my browser so they now include the info from the template.
    Uh oh - no I'm confused.  Are you saying that the pages are now updating properly?
    Also, what OS is on your new computer?
    Anyhow, here are seven common mistakes that will result in changes not propagating from Template to child -
    1.  Rename the Templates folder
    2.  Move the Templates folder to some other folder level in the site other than root level
    3.  Move a template out of the Templates folder.
    4.  Make changes to an editable region of the Template (which will not propagate)
    5.  Assume that Template changes will be effected by just uploading the changed Template file to the server without also uploading the changed local files
    6.  Corrupt the site cache so that the link between Template and child page is broken
    7.  Improperly create your child pages by simply opening the Template, adding page specific content, and resaving the Template with an *.html extension rather thanits *.dwt extension. (you can tell if this is the case by looking at the code on a child page - if you see anything like <!-- TemplateBeginEditable... then this is what you have done).  If you *have done this*, then recreate the child pages (in DW) using FILE | New > Page from Template, select the Template and click CREATE.
    The 6th problem can be repaired by using SITE | Advanced > Recreate Site Cache, and the six others can be fixed by just not doing them.  Have you done any of those?
    Or, read this -
    http://www.adobe.com/go/dd83ba8b

  • Image (Co. Logo) in Template header appears but not in Topic when viewing a topic which is attached to the Template

    I have an image (Co. logo) placed in the header of a
    template. Topics are attached to the template. I also have a
    separate page that has hyperlinks to the the Topics in the several
    books I have in the project.
    When I generate (WebHelp) project and view the output, here
    is what I see:
    If I open any topic by directly going to a book and then
    clicking on the topic, then I see the Co. Logo/image it is supposed
    to be pulling from the Template. However, if I view the same Topic
    by accessing it from a navigation page in which all the Topics are
    hyperlinked then the top header does not show.
    I am bit preplexed with these two separate displays of the
    same topic. One showing the image in the header and the other not.
    Any assistance would be greatly appreciated. Thanks.

    Only you will know for sure what you are dealing with, but I do not see the same complete url code in the header of the page you say has a problem.  I only see the page filename linked (not http:///www...,  just home.html).  It may be a case of those pages not using the same template.

  • I can't open the templates on my Stationery Set app

    I bought the Stationery Set app and can't open any of the templates.
    When I click the open template button this comes up:
    Last login: Sat Jan  7 10:55:55 on ttys000
    Allys-MacBook-Air:Ladybug.template allydrotar$
    How do I open the template so I can use it?

    weird is right, but what do we do ???
    i have a similar problem.
    when i press the lock to unlock it, it asks me for the password and than showes it as unlocked.
    but even after that, it wont let me change any prefrences or setting.
    meaning if i want to tweak with something, it just wont let me check or uncheck the setting.
    who do i go to for a solution?

  • How do i change the templates to english

    How do i change the templates to english

    The Placeholder Text in the templates is not meant to be read or understood. It's just, well, a placeholder. Click once on the text and begin typing. Your input will be formatted just as the placeholder was.
    If you want a meangful placeholder, type your own text, then Format > Advanced > Define as Placeholder Text.
    Then File > Save as Template to make the changes available as a template for future use.
    Jerry

Maybe you are looking for

  • Idoc to jdbc scenario  java mapping

    hi all, i have scenario in which sender is idoc and receiver is oracle. i want to do this mapping through java. so how can i do java mapping in this scenario?

  • Error during xml parsing

    hi, i need to parse an xml file. when i used an xml file of encoding type encoding="UTF-8", i could parse the file with the following syntax.. DocumentBuilder docBuilder = new DocumentBUilder(); Document doc = docBuilder.parse( path of the file name

  • Conecting to Yamaha RX-V1067

    I am about to purchase a new receiver (Yamaha RX-V1067) with Lan/Internet capabilities. The receiver should be cable of accessing the hard drive of LAN- connected PCs and play, amongst others, the MP3 files on the HDD. This works with windows based P

  • Perform query on URL

    Hi, If I have a set of HTTPURI's in the database like this: http://www.domain.com/product http://www.domain.com/product/p1 http://www.domain.com/product/p2 http://www.domain.com/product/p3 Currently they are HTTPURIType's is it possible somehow to cr

  • HT201089 No ask to buy option

    No ask to buy option. I set up my son and he is automatically an adult. A calendar I had previously created called family has been shared with him. I can't remove the calendar, unshare it or delete it. Tried removing him from family share and re-addi