Workshop 8.1 and Templates Problem

I'm trying to nest templates into templates, but apparently I cant do the following:
<netui-template:template templatePage="masterTemplate.jsp">
<netui-template:section name="header">
    <netui-template:template templatePage="headerTemplate.jsp">
        <netui-template:section name="tableHeader">
            <jsp:include page="header.jsp" />
        </netui-template:section>
    </netui-template:template>
</netui-template:section>
</netui-template:template>is there any work around? I tried using <jsp:include> but the problem is I have to create another page and then my pageflow doesnt work properly cause the buttons are in one of the nested pages....
Any help or recommendations would be great
Thanks
Kane

Apparently not supported in 8.1, but in 9 it maybe...
http://issues.apache.org/jira/browse/BEEHIVE-260
>
The following enhancements have been suggested for the Template tags:
1) The Section tag should have an attribute that would include a .JSP page instead of requiring the second to have body content. The current work around here is to put an JSP include in the body of the Sectioni tag.
2) When using templates it is handy to create a basic template (one used for the entire site as a background, header, etc) and then possibly have another template that would be based off of that but would also add some additional information/color/shape that would be necessary for a subset of the pages but not all. [137261]
The specialization template could provide content to the general template and also define additional content that could be filled in by specific content pages.
For each jsp page that is going to include both templates one would have to have both in that jsp:
<netui-template:template templatePage="./jtemplate.jsp">
<netui-template:section name="BodySection">
<netui-template:template templatePage="jtest.jsp">
<netui-template:section name="leaguepage">
//FILL in league page here...
</netui-template:section>
</netui-template:template>
</netui-template:section>
</netui-template:template>

Similar Messages

  • How to Install/Access HANA Academy Workshop Exercise Solutions and Templates

    In Thomas Jung's HANA Academy tutorial on "Native Development Workshop", solutions and templates are cited in the "Simple "Hello World"" video...
    HANA Academy - HANA Native Development Workshop: Simple &amp;quot;Hello World&amp;quot; - YouTube
    Where are there intructions on where to access and/or how to install/import these workshop resources?
    Thank you.

    Thanks Thomas.
    I've been provided with a departmental, on-premise instance for the purposes of demo and educational sandbox, so will not be using a Developer Edition via one of the cloud providers.
    I'm searching for a tutorial path that has kept prerequisite configuration to a minimum.
    At first glance, your native HANA development HANA Academy series seems to fit that bill.
    In that these are the first hours of my exposure to HANA, I'd love to be able to keep pace with your videos step-by-step. I'd prefer to use the solutions and templates that you begin to use in the second video (Hello World) of that series. As a noob, avoiding the translation from the SHINE doc would preserve my train of thought and prevent me from going into the weeds by taking missteps due to the translation.
    Is there a way to access the solutions/templates depicted in your video series other than having to install/use/access Developer Edition?
    ...or is there another, more recent video tutorial with a close matching set of solutions/templates that you would recommend?
    Thank you.

  • Editable Regions and Templates -- Problem in IE

    Hello,
    I have a template that I use throughout my site. The template
    includes
    the Spry Menu Bar and three editable regions. The pages all
    look great
    in Firefox. But in IE6 and IE7, there is a problem--white
    space
    vanishes and the text is too close to the objects above it.
    Specifically, The &lt;h3&gt;Page
    Title&lt;/h3&gt;appears to close underneath
    &lt;td&gt;&lt;!-- TemplateBeginEditable
    name=&quot;EditRegion1&quot; --&gt;. It's fine in
    Firefox, however.
    Any help is greatly appreciated.
    Thank you,
    =====================
    Here's the code.
    &lt;style type=&quot;text/css&quot;&gt;
    &lt;!--
    body {
    background-color: #878737;
    --&gt;
    &lt;/style&gt;
    &lt;/head&gt;
    &lt;body text=&quot;#333333&quot;
    vlink=&quot;#333333&quot; alink=&quot;#333333&quot;
    leftmargin=&quot;0&quot;
    topmargin=&quot;0&quot;
    marginwidth=&quot;0&quot;
    marginheight=&quot;0&quot;&gt;
    &lt;TABLE width=&quot;800&quot; border=0
    align=&quot;center&quot; cellpadding=0 cellspacing=0
    bgcolor=&quot;#FFFFFF&quot;&gt;
    &lt;TBODY&gt;
    &lt;tr&gt;
    &lt;td
    width=&quot;2%&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td width=&quot;96%&quot;&gt;&lt;img
    src=&quot;../SpryAssets/mainnav_logo.jpg&quot;
    /&gt;&lt;/td&gt;
    &lt;td
    width=&quot;2%&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&lt;!-- TemplateBeginEditable
    name=&quot;EditRegion1&quot; --&gt;
    &lt;h3&gt;Page Title&lt;/h3&gt;
    &lt;!-- TemplateEndEditable
    --&gt;&lt;/td&gt;

    TEST BED:
    I shrinked my test site to just 1 photo page with only 3 pictures and I I published it to a folder:
    Safari 3.1.1 has no problems
    Mozilla Firefox 2.0.0.2 has no problems
    Opera 9.5 has no problems
    IE 7.0.5730.13 cannot render any picture !!!!
    DEEP DIVE:
    IE fails and if "notifications" are turned on complains about run time error "Error: Access Denied" on line 504 of a script. I went deeper and using the Microsoft Just in Time Debugging features apparently the offending javascript is "iWeb - iWebSite.js" with an ajaxRequest called "req.open('GET',url,true)"
    iWEB on LEOPARD is no better
    I booted with an external disk using Leopard and I used iWeb just 1 photos page
    no way IE still complains (so far I am using Mac Tiger level)
    HOW CAN YOU HELP
    To those of you who succeeded with iWeb+IE (and have time to lend) I can send the zipped 2MB actual iWeb "package" named "Domain.site2" used by my iWeb to save the site under editing before any publishing.
    you temporarily rename your "Domain.site2" + substitute it with my "Domain.site2" + start iWeb and see if you can publish/see it correctly.
    Please send me a private mail if you think you can help.
    Seriously thinking of dumping iWeb...
    RAN

  • MDM Old purchase Order and Template Problem

    Hello,
    We are on SRM 5 (SP12) and using MDM catalog.
    We have a problem when we want to create an e-catalog shopping cart in copy of an old one which was correct.
    The price of the new shopping cart get to 0 but in the old shopping cart it was 23,23....
    Can somebody knows how can we solve this issue?
    Thanks!

    Hello,
    We have also SRM 5 SP12 with SRM-MDM catalog 2.0 SP02 Patch 4 and have opened an OSS message to SAP on this issue.
    They have been able to reproduce the problem on their test system and it has been transmitted to their development team.
    It should be available in a next Patch
    Kind regards
    JC

  • Bea JSP workshop plugin- and MyEclipse - problems

    I have been using Bea workshop studio eclipse plugin ( JSP part) with MyEclipse. Bea JSP workshop( with Struts) is a very good product-- better than My Eclipse JSP's .
    I had been using MyEclipse (Build id: 20060810-5.0.1-GA windows )with BEA JSP workshop version 3.2.1 with no problems. This combination works well.
    I reinstalled the latest versions of eclipse/myeclipse/BEA workshop for struts
    and now things are not working well.
    Right clicking on the navigator and package explorer in the different perspectives ( JAVA, MyEclipse, BEA workshop studio does not always work
    To reproduce the problem install Eclipse 3.2 then MyEclispe version 20061111-5.1.0-GA , then BEA JSP workshop studio - trial version 3.3 . Try and right click on an item in the navigator and package explorer -- change to different perspectives --JAVA, MYEclipse , BEA Workshop for Struts and try to right click again.
    THen uninstall BEA Workshop . The problem goes away.
    Hank

    FYI
    I received this reply from MyEclipse:
    "MyEclipse uses the patched WTP. You have installed WTP that has been included in BEA Workshop.
    The easiest way to solve this issue is to disable BEA's WTP. MyEclipse's WTP is compatible with BEA Workshop."
    I updated to eclipse 3.2.1 and disabled BEA's WTP and everything seems to be working OK.

  • Template Problem: Tiling background image gone and duplicate .swf headers

    Problem 1: I have been working with a template, and creating
    new files from the template without incident. Recently I created a
    new file from the template and found that the tiling background
    image (dots appearing on the right and left of the page) was gone.
    The tiling image is present in the template, but not in files
    created from it. Any guess how I broke that?
    Problem 2: In my template I have an editable region wherein I
    can place a .swf animation. When I upload my page made from the
    template, a pair of .swfs appear stacked on top of each other, not
    just the single .swf graphic. Any guess what I am doing wrong
    there?
    The problem page can be viewed here (
    Shop
    Page), and the template files are located here (
    Template
    right-click and Save-As).
    I appreciate any help you can offer.
    *Using Dreamweaver CS3 on Mac OS 10.5.2

    > Regarding that tiling image problem? the image in my
    template file has a
    > relative address, but when I make a new file from the
    template the
    > location of
    > the image is absolute, and points at my computer.
    This will ALWAYS happen when one of the following obtains:
    1. The linked file is OUTSIDE the root of the current site.
    2. DW *THINKS* that the linked file is OUTSIDE the root of
    the current site
    (how could this happen? Here's a for example - the path to
    the root folder
    looks like this -
    C:\whatever\joe's files\blah blah blah\thefilename.jpg
    Fix either of those issues, and the problem will go away.
    Might that be your problem?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "adam@blueapplestudio" <[email protected]>
    wrote in message
    news:fuo8dk$8sh$[email protected]..
    > Thanks to the newsgroup users who have helped out with
    this. I will be
    > getting
    > a newsreader soon, as the Adobe forum seems to be a bit
    flawed.
    >
    > Regarding that tiling image problem? the image in my
    template file has a
    > relative address, but when I make a new file from the
    template the
    > location of
    > the image is absolute, and points at my computer. This
    seems to fix it:
    >
    > Open the template and make a new file from the template.
    > Make a minor change to the template, save, and update
    all linked files.
    > Undo the change just made to the template, save and
    update again.
    >
    > If you look at the new file-from-template you will find
    the file needs to
    > be
    > saved (as denoted by the asterisk by its name) and the
    tiling background
    > is now
    > corrected.
    >
    >

  • Invoice Template problem - Putting a Header field in repeating Lines rows

    Dear experts,
    I would be grateful for a problem I am having with an Invoice statement I am developing (Oracle Applications 11.5.10 with BI Publisher version 10.1.3.4). This is very similar to the one in Tim Dexter's Blog (Anatomy of a Template):
    http://blogs.oracle.com/xmlpublisher/2007/03/anatomy_of_a_template_ii_heade.html
    My requirement is to add a single line into the lines table, as seen in the Blog, which is a COMMENTS field from the header part of the XML and the problem is that it can be 1 line to maybe 5 lines. This is only on the first page. This causes problems as I don't know how to find out how far down the lines table I may be after adding this COMMENTS header field in here, to then know how many lines to loop over to ensure that the lines do not carry on printing over the bottom of the page e.g. if the COMMENTS is 3 lines - how do I know this to then only print 3 minus the maximum lines per page ($lpp) only on the first page?
    Any pointers would be of great help.
    Many thanks,
    Mark

    The COMMENTS field I've found out can be of any varible size and include carriage returns. For example, could be:
    JD Trx special instructions 010908
    FAO: PETER MUSCUTT
    REF: FERRY ROAD 2351
    ========================
    INCOME DUE TO COMPANY FOR
    THE OPERATION OF EFERRY
    ROAD CAR PARK
    This causes such problems as being able to know how many lines this field will be, so that I know where to start the first Lines row in the invoice and also how many lines I can put on this first page (starting point - $lpp).
    One method I thought would be to count how many characters there are in this field, when it reaches the line size on the invoice, increment a count varible that would be used to indicate the starting point for the first lines record. I would need to compare each character and if it is a carriage return, then increment the count also. This seems quite a heavy wieght way to solve this and would welcome any over ideas.
    Thanks,
    Mark

  • Using Office 2013 group policy template to define Trusted Locations and Template Locations doesn't work

    User Configuration/Policies/Administrative Templates
    - Using Office 2013 group policy template to define Trusted Locations and Template Locations doesn't work
    Microsoft Word 2013/Word Options/Security/Trust Center/Trusted Locations
    - Allow Trusted Locations on the network: 
    Enabled 
    - Trusted Location #1: 
    Enabled 
    Path:  //server/sharedfoldername   [Edit:  Path:
    \\server\sharedfoldername]
    Date: June 10, 2013
    Description: Trusted Location
    Allow sub folders: Enabled
    The policy appears to apply to the client correctly by adding the following registry key and values:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\office\15.0\word\security\trusted locations\location1
    allowsubfolders: 1
    date: June 10, 2013
    Description: Trusted Location
    Path:  //server/sharedfoldername  [Edit: Path: 
    \\server\sharedfoldername]
    However, when you open Word Options/Trust Centre/Trust Centre Settings…/Trusted Locations
    There are no trusted locations listed under ‘Policy Locations’
    I have tried setting similar settings for setting the Shared Templates folder location and just like the trusted locations policy, the registry keys are created properly in HKEY_CURRENT_USER\Software\Policies however word doesn’t
    seem to recognize these either.
    This used to work flawlessly using the administrative templates for Word 2007 and 2010. Has anyone been able to get these policies to apply successfully, or know why office doesn’t recognize these settings from the Policies registry
    Key?

    This would have been an easy solution to the issue.  Unfortunately it isn't the problem.  This question was originally posted on another Microsoft site and
    was transferred here and when it was transferred the path's changed from the original post: 
    \\server\sharedfodlername to //server/sharedfoldername.  (I will edit the question to show up as it did in the original post) Not sure how that happened.  This
    is still an issue that I haven't been able to get working correctly.
    As it turns out the 'New from Template' interface Word 2013 has developed is very bulky with large thumbnails and is not very customizable nor practical for an office
    that has a large number of templates.   Because I am unsatisfied with the display and performance of the 'New' template chooser I sought after a solution to change the way word creates a document from a template in another thread: 
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/how-can-you-change-the-display-of-templates-in/d49194b9-a6b4-4768-8502-7d7b50e9dd65 working through this issue with Jay we were able to develop
    some VB script with handles a very large number of templates in a list view and it works much faster than the built-in Word interface.  The above thread is how I've worked around trying to define a shared template location and I am quite happy with it.

  • XML DevCon 2001: Submit schema and stylesheet problems- win XML Spy

    There are only a few days to submit schema and stylesheet problems for XML
    DevCon 2001 in London. If the workshop instructors use your submission
    during the conference, you win a copy of XML Spy.
    <shamelessPlug>
    XML DevCon 2001 has a content-rich technical program with a faculty that
    includes Henry Thompson (W3C Fellow), Peter Chen (IEEE Fellow, ACM
    Fellow),
    Martin Bryan (DIFFUSE Project), and authors such as Bob DuCharme, Ian
    Graham, Elliotte Rusty Harold, G. Ken Holman, Benoît Marchal, JP
    Morgenthal,
    and Simon St. Laurent. There are a variety of eBusiness sessions,
    including
    panel discussions and presentations about ebXML, Web Services, and UDDI.
    The program includes presentations by Jonathan Borden, Ron Bourret, Lee
    Buck, Alex Chaffee, Mark Colan, John Evdemon, Meike Klettke, Andy
    Longshaw,
    Ingo Macherius, Simon Nicholson, David Orchard, Sebastian Rahtz, Daniel
    Rivers-Moore, Michael Rys, Krishna Sankar, Matt Sergeant, Richard Tobin,
    Priscilla Walmsley, David RR Webber and other distinguished faculty.
    </shamelessPlug>
    http://www.xmldevcon2001.com/London/html/conference.php
    For a free pass to exhibits and special events (keynotes, joint XML UK and
    British Computer Society meeting, OASIS XPath/XSLT meeting, vendor
    presentations):
    http://www.xmldevcon2001.com/London/html/special_events.php
    Public submissions (schemas and stylesheets)
    Three members of the W3C Schema Working Group (Michael Rys, Henry
    Thompson, Priscilla Walmsley) will teach a Schema Workshop. Submit
    problem schemas to them by e-mail:
    [email protected]
    or
    http://www.xmldevcon2001.com/London/html/session.php?code=W5
    Sebastian Rahtz, Bob DuCharme, Benoît Marchal, and Ken Holman will
    present the "Stylesheets and Transformations: Best Practices" workshop on
    Thursday, February 22 in London. To submit a stylesheet or problem
    description for their workshop:
    [email protected]
    or browse to:
    http://www.xmldevcon2001.com/London/html/session.php?code=T17
    ========== Ken North ======================
    See you at Javacon 2001 (New York, March 1)
    www.javacon2001.com
    XML DevCon 2001: London (February 21-23) New York (April 8-11)
    www.xmldevcon2001.com
    =======================================

    Looks okay to me. But then I have no idea of what those "problems" are that you mentioned. Was there a particular reason you didn't tell us what they are?

  • Layout  and style problem

    HI
    I am building a new dashboard using one of the templates given in the program. Two things that are bugging and giving problems are with the styling in the spreadsheet. I formatted targeted cells in the spread sheet to use certain colors and font alignment in the cell's , but when i update the spread sheet in the dashboard, it does pull over the right cells with all the macro's but doesnt pull over the right styling. The text color is some thing else and it doesnt want to use the text alignment in the cells. I have to use certain colors because of the branding of the company. Please help
    Thanks

    HI
    The macros in my excel work sheet call information from my excel data sheet. These two sheets then give style and data information through to the dashboard for the spread sheets used to display some cell information. Must i change the targeted cells color through script or enforce the style with script ? Cause i used the standard excel cell properties to do the formatting and have never had any problems with it not styling the dashboard right in the past. Can it be that my macros on the cells cause the cell style information not to be given to the dashboard?
    Thanks

  • Jsp and JPanel problem

    Hello. I've been to this forum many times, but have always been a bit gunshy about posting anything of my own. Now I have a problem I haven't seen before, so here goes. I have a JPanel in a java program that has all sorts of other componants added to it. I am trying to display the whole thing in a jsp page. This is what I am doing in the java file to return the image ("display" is the JPanel):
    public byte[] getImage(){
        int w = display.getWidth();
        int h = display.getHeight();
        BufferedImage img = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
        display.paint(img.createGraphics());
        ByteArrayOutputStream os = new ByteArrayOutputStream();
        ImageIO.write(img, "jpeg", os);
        return os.toByteArray();
    }and then in the jsp page I say:
    <%@ page contentType="image/jpeg" %>
    <%@ page import="myPackage.MyClass" %>
    <%
         MyClass picture = new MyClass();
         byte[] b = picture.getImage();
         OutputStream os;
         os = response.getOutputStream();
         os.write(b);
         os.flush();
    %>And the problem is that the page is displaying a blank JPanel and none of the componants that were added to it. If I save the the JPanel as a jpeg in the java program, though, it does contain all the componants, so I am not sure what I am doing wrong here. If there is some way to get the all the JPanel componants returned, that would be great to know. Thanks for any help.

    nope, that didn't work.
    Maybe I am going about solving the problem all wrong. The JPanel and its componants are kind of like a template. When a user of the system submits their information it automatically puts the data into the template and displays it on screen as a jpg. It works when I save the jpg as a file from the java program but not when i send the byte array to the jsp server. It just shows the blank panel....
    Is there a better way to go about doing this?

  • Activity Journal - Creation of template type and template

    Hello Experts,
    we need to create a template type and template because we can not use the standard template to see product information in the Activity Journal.
    Where in Customizing can i define template type and template and which are the steps to do it. For our activity journal we need to see only the fields:
    1. Product ID
    2. Product
    3. Notes
    The rest of the information is not necesary. The SAP Note 1261860 describes exactly the problem we have but we are not able to generate template and template type.
    Best Regards
    Oliver Schultze

    Hi there
    For generation of template for Activity so that you can see the Product info,u just need to generate the Index in SPRO
    Go to IMG and there within the transaction types you can locate the index i am speaking about to generate.
    Here is the path-->IMG->CRM--->Transaction ->Basic Settings->Settings for Activites->Activity Journal--->Activity Standard Template Type
    Here you give your desired language in which you want your template to be created.
    As soon as you genarte that you will be having product info on your Activity screen
    See this arrangement is client specific only so if you are say in sandbox or dev or qual or prod.u need to do this setting  seperately in each client.
    Hope you got what i said.
    Cheers
    Ashish

  • Best Practice Question - Data Def and Template setup

    EBS provides reports and templates. As expected the template did not fit our needs and the data objects did not include all the elements required. I've built custom objects for both (thanks to help from the forum).
    Should the templates and data definitions be setup under their corresponding application or under the custom application (ie PO vs XX )?
    In my case if I setup the data definition and template under the XX application then all the EBS OAF web pages dont show my new reports. I'd have to also build OAF extensions to show custom reports (seems stupid).
    Is there any negative impacts of registering custom data definition and templates under their corresponding applications (like Purchasing, Inventory)? Or is there a better way that I'm missing?

    not really. I would make it work by anymeans neccessary. The problem you are experience I've had issues with too.
    The concurrent program and has to be the same as template application, same for for the data definition.
    Ike Wiggins
    http://bipublisher.blogspot.com

  • Linking objects between WorkShop 4.2 and 5.0

    We are currently using WorkShop 4.2 on our Solaris 2.6 machine, but planning to upgrade to WorkShop 5.0. We have many 3rd party libraries compiled by WorkShop 4.2 and no new version is available. Can we build our binaries using some objects built by 4.2 compiler and some from 5.0 compiler ?

    I have the same problem, and it looks like it doesn't work. Check out http://docs.sun.com/ab2/coll.32.5/CPPMIGRATE/@Ab2PageView/1210?Ab2Lang=C&Ab2Enc=iso-8859-1.
    in short:
    Mixing Old and New Binaries
    It is an overstatement to say that object files and libraries compiled by the 4.2 compiler cannot be linked with object files and libraries compiled by the 5.0 compiler. The statement is true whenever the files and libraries present a C++ interface.

  • Libraries and templates

    i'm implementing libraries and templates in my website for
    the first time; i have a series of library files - menubar, footer,
    etc - imbedded in the master template. the problem is with updating
    library files: when i update one of the library files, i have to
    reload every webpage that references the file using my third party
    ftp. i thought that the library files would eliminate this process.
    is this a way to make the updating process more efficient?
    i previously used a javascript reference and did not have
    this problem. although i rather not, i'm considering going back to
    the old system.
    thanks in advance

    > i thought that the library files would eliminate this
    process.
    Definitely not. Library items, and Templates for that matter,
    are
    Design-time tools - this means that they only work inside of
    DW and only
    affect local files.
    If you want a more flexible method that can be used remotely,
    use
    Server-side includes.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "ben mann" <[email protected]> wrote in
    message
    news:ejak04$27l$[email protected]..
    > i'm implementing libraries and templates in my website
    for the first time;
    > i
    > have a series of library files - menubar, footer, etc -
    imbedded in the
    > master
    > template. the problem is with updating library files:
    when i update one
    > of the
    > library files, i have to reload every webpage that
    references the file
    > using my
    > third party ftp. i thought that the library files would
    eliminate this
    > process.
    >
    > is this a way to make the updating process more
    efficient?
    >
    > i previously used a javascript reference and did not
    have this problem.
    > although i rather not, i'm considering going back to the
    old system.
    >
    > thanks in advance
    >

Maybe you are looking for