Repeating Header question

XMLP 5.5 Standalone
Learning the ropes with XMLP, the provided samples are a very good, illustrative starting point. One thing I wonder:
In the rtf_templates/advanced/RepeatHeader example, I found you can use
<?for-each@section:G_CUSTOMER?>
to do the magic, where G_CUSTOMER points to an existing group in the loaded XML data.
I tried to apply a repeating header to another example, rtf_templates/sales_reports/retail_sales.rtf
Here the xml-data is not grouped (simply starts with ROW and then the details). I however (soft)-grouped the data within the report by Year, resulting in:
<?for-each-group:ROW;./YEAR?><?sort:YEAR;'descending';data-type='number'?>
But I couldn't make out the syntax to use this group in the for-each@section command. Is this possible at all, or can you only address 'real groups' which have to be present in the XML data file?
Thanks for your help
Tino

Hi Tino
Nice question, this is possible with a current caveat. You can not use a sort option on the group in your template.
So you would have :
<?for-each-group@section:ROW;./YEAR?>
we found the sorting issue while testing your question. IT will be addressed in the next release. But you can live without the sorting in the template then you can do what you asked.
Regards, Tim

Similar Messages

  • Repeating Header Rows - Not repeating beyond page 2

    Hello,
    I'm at my wit's end and I have yet to see a response to questions related to repeating headers (though I've seen it in a few forums).
    I have a flowed form with an initial header table and then 4 subforms, each made up of tables with a header group of two rows and then a user-modified number of data rows. Each of the subforms has it's own 2 line header, which includes a static "topic" row (with "add/delete row" button) and then a second header row with the column titles (9 columns across). As I said, these two header rows are grouped together.
    Each of the 4 subforms can (and does) flow on to multiple pages once filled in by the users. At first, my issue was getting the two rows (grouped) that make up my header to repeat on subsequent pages for each subform. No go - apparently grouped header rows can't make up an overflow leader (I can only choose one of the two), and when I check the box to make the GROUP appear on subsequent pages under pagination, it will only appear on page 1 and 2 for that particular subform...so I've given up on that. Now I just want the second header row (with the column titles) to appear on every page that each subform overflows on to, but I can still only get it to appear TWICE. Anytime a subform moves onto a third page, requiring a third instance of the header, it doesn't work.
    I came across one solution involving the "repeat header for each row", but that came with a host of new bugs, including a bug where every time I open, edit data in a particular subform and save the file, a NEW header group row is added to that subform (after 12 opens, there is literally 12 header rows at the top of each of my 4 subforms if I edit data in all 4)...though it solves the other issue and the header rows DO appear properly on subsequent pages beyond page 2!!!!
    Any solutions? I've run into this on three separate occasions over the past year when building forms and every time, I've hit this wall, given up the search for a solution and sacrificed aesthetics and functionality in my forms that I shouldn't really have to.
    Ck.

    Here is a sample I did for you..
    https://acrobat.com/#d=BSeyeLhbaeyqXfwX*wrwzA
    The difference with this file, is I created a table and then in the top row I merged all cells. Then created a table with two rows inside this merged cell.
    In the Header row properties I checked, repeat header in Subsequent pages.
    Let me know if you have any issues..
    Thanks
    Srini

  • IR Report - Repeating Header Isuue

    IR Reports - Apex 3.2
    Question: Is there way to keep the main Table Column Header the same as Repeat Heading. I spent a lot time coloring the Column Header cell <blue> and they do not pass down to the Repeating Headers.... I tried numerous ways. Thanks in-advance.
    <style type="text/css">
    .apexir_WORKSHEET_DATA th{background:#8A7E3F}
    text-decoration:none;
    cursor:pointer;
    #apexir_WORKSHEET .apexir_REPEAT_HEADING {background:#8A7E3F }
    #apexir_EAC_CMDB_PLT {color:"#00FF00";text-decoration:none;
    cursor:pointer;}
    </style>

    Hi,
    Sorry, I now see what you are trying to do - I updated my styles to use #apexir_ENAME {color:#0000FF;text-decoration:none;cursor:pointer;} and then set the groupings. Only the first "Ename" heading is styled using this. That is because this is the only one that is given an ID of "apexir_ENAME" - the other group headings are just plain DIVs without IDs.
    The only way I've managed to get a style onto all of these is to add in a SPAN tag into the heading itself and style it that way. Whilst that does work, of course, it does mean that the SPAN definition is now part of the heading text so appears when you use "Select Columns" etc.
    I can't think of an easy way around this as I assume that the IDs are important to the IR functionality and should be unique on the page.
    Andy

  • Report Total lable when "repeat heading on break"

    Hi,
    I have a report where I'm breaking on the first column, and returning the totals.
    When I have "Default Break Formatting", since I am returning totals based on the first column, it says report total under the first column.
    However, If I have "Repeat heading on break", the first column won't show as one of the columns in the report, but it will show above the box. Because that first column is not gone, I realized that the lable "report total" is gone too, since there is no space to put it. It is still returning the totals correctly, but there is no lable that says "total" or anything like that.
    I wouldn't mind having that label on the second column, or someplace else. Can I do this?
    Thanks!

    Lila,
    If you want to take advantage of the features that HTML DB reports offer, such as column heading sorting, then writing your own PL/SQL region would not be an option. I was only confirming your observation that repeating headings only works for the first break column and suggesting an alternative approach. So you'll have to decide which is more important in your case, getting the formatting you're looking for or using those advanced reports features.
    As for the previous posting regarding new and older versions of HTML DB, HTML DB 1.5 was our first production release, shipped with the Oracle 10G database, and this version as well as HTML DB 1.5.1 offers the same kind of report heading sorting and the same type of column breaks.
    Regards,
    Marc

  • Help on displaying Repeat Header Rows

    Hi All,
    I have a table where i need to repeat each header per page But i there's one value that i need to display on the first page only.:
    given the following repeat each header per page:
    page 1 header
    product1
    product2
    product3
    page 2 header
    product2
    product3
    page 3 header
    product2
    product3
    i set the table to repeat header per row. But it keeps appearing the product 1 for 2nd page and 3rd page.
    thanks in advance,
    Paolyn

    Hi Kavipriya thanks for your reply:
    My xml structure are the following:
    <List of Productitems>
    <List of Productlines>
    <ProductId>
    <ProductGroup>
    <ProductPlan>
    <modelid>
    <modelname>
    <modeltype>
    <List of productlines>
    <List of ProductItems>
    I regroup my xml by ProductId, ProductGroup,productPlan and i need to display model id ='0001' per page of the report as header information. Plus i need to display modelname='Sample1' on the first page only of the report as header which contains model id='0001' also.
    Thanks in advance,
    Paolyn

  • Repeat header's column in a table with row height that greater then 200px

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    I develop a website and encounter some problem about web page printing. I try to repeat header's column in a table with row's height that greater than or equal to 198px, but it doesn't work. Another size that lower than 198px works fine. If somebody has seen this issue before and know a solution, please help me. Thanks in advance.
    == This happened
    ==
    Every time Firefox opened
    == Firefox version
    ==
    3.6.6
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
    == Plugins installed
    ==
    *-6.0.12.1739
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *PDF-XChange Viewer Netscape Gecko Plugin
    *Default Plug-in
    *Shockwave Flash 8.0 r22
    *Adobe Shockwave for Director Netscape plug-in, version 11.0
    *3.0.40624.0
    *Office Live Update v1.3
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *Next Generation Java Plug-in 1.6.0_18 for Mozilla browsers
    *Npdsplay dll
    *DRM Store Netscape Plugin
    *DRM Netscape Network Object

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
    [http://forums.mozillazine.org/viewforum.php?f=25]
    You'll need to register and login to be able to post in that forum.

  • Bone head question:reformatting startup disk

    I know it a bone head question but I need to reformate my current startup disk.
    I have pleanty of space on other disks. do I just transfer all info to another disk and select that one as start up and then reformate and transfer back etc... or what?
    stupid forgetfull me...
    cheers&aloha
    matt

    If you have a spare drive which doesn't currently have Mac OS X installed, use an application such as this one to clone your current drive to it, restart from the clone or another drive, and erase the startup disk.
    If not or if you don't want to clone the whole drive, copy anything off of it you want, erase the current drive, and then copy your data back after setting it up again.
    (16250)

  • Trying to make a loop and repeat a question.

    Hello all,
    I am trying to get a question to repeat itself only if the user enters an invalid amount. I have got the program to generate the invalid question "This is an invalid rate of pay, please enter a valid rate of pay.", but after the program produces this question, the program will still continue (ask the next question) as if the input was valid. I have tried several different if and while statements to try to manipulate the program to call the previous question, but it will not????? Thank you all in advance.I am at a loss. Can someone help please???? Here is the section of code:
    // Employee's hourly rate.
    System.out.print( "Enter hourly rate of employee:" );
    Double employeeHourlyRate = input.nextDouble();
    System.out.println();
    // Monitors pay rate for validity.
    if ( employeeHourlyRate <= 0 ){
    System.out.println ( "This is an invalid rate of pay, please enter a valid rate of pay." );
    //Loops back to hourly rate question.
    I THINK THIS IS WHERE I NEED A LOOP COMMAND.?.?               
    } // Ends loop program.

    Hello and thanks for the advice! I have reconstructed as you suggested. However I am receiving 3 errors. I would also like the program to just repeat the question "Enter hourly rate of employee:". Here are the errors. How do I make this work? Thanks for the help. If it makes a difference I am running windows XP and using text pad.
    1. Payroll1.java:34: cannot find symbol
    symbol : variable employeeHourlyRate
    location: class Payroll1
    while( employeeHourlyRate <= 0) {
    2. Payroll1.java:75: cannot find symbol
    symbol : variable employeeHourlyRate
    location: class Payroll1
    else { grossPay = employeeHourlyRate * employeeHoursWorked;
    3. Payroll1.java:82: cannot find symbol
    symbol : variable employeeHourlyRate
    location: class Payroll1
    System.out.printf( "\nHourly rate: $%.2f", employeeHourlyRate );

  • Repeat heading in smartforms

    Hi all,
      How do I print heading in every page of smart form.
    I have defined heading in the header of a table in main window.
    I have selected both repeat header at page break , at start of table.
    still the form is not printing header in the second page.
    thanks in advance.

    thanks jayathi.
    BTW did you test this example with records exceeding single page.I actually coded the table in the same manner.But it does not work.
    Anyhow, i solved the problem using a work around. I added a window to the next page with check box 'not on first page ' ticked.

  • Tables: how do I turn off repeating heading row?

    Hi,
    how do I turn off the repeating heading row feature in tables? I've looked through Table Designer and on-line Help but no joy. I know it's probably something very simple but I just can't find it.
    Advice appreciated.
    Cheers

    Also, if you already have heading rows and you are just trying to get rid of them, I think your only option is to delete them. If a heading row contains content that should be in a body row, create a new body row and copy/paste the content into it before deletion of the heading row. I think you can also just copy the whole row, put the insertion point in the body area, then paste, and it magically becomes a body row. Note that you can restore heading rows with the Add Rows and Columns feature.
    Russ

  • Can I avoid repeating heading information?

    Can I avoid repeating heading information if repeated in a same page.
    This occurs due to group on a field which causes it to display again heading information. The heading information should be displayed only once on each page.
    How can I avoid this?
    Thanx
    Regards,
    Vikas

    Hi,
    Create another repeating frame as parent frame of current repeating frame, and with same source. Then put all heading in this parent frame, set Maximum Record per Page = 1.

  • Repeat quiz question

    Hi all,
    I need some hints about quiz creation in Captivate.
    I have to create path like this:
    First Question
    Answer A
    Answer B
    Answer C
    Only answer A take me to the Second Question, other two take me to another sub-question. Whatever answer I choose in sub-question, it takes me to the First Question again, and I need to repeat that until I choose the right answer (A).
    The problem is that when I choose an answer and then I return to First Question, the page is like frozen: I can see the page but I cannot interact whit it. I cannot choose another answer, but I can only see the previous select I made.
    Is there a way to unblock the question page once used?
    I tried to search forum about unlock radio button, to deselect previous answer and choose another one, but no one javascript works and I'm not sure about this solution.

    Hi Baxter,
    thank you for your answer
    This is a quite good solution, although pages number risks to increase in size overmuch.
    Maybe I found a way: in Edit > Preferences select Settings from the Quiz menu. Select the option Show progress, Allow backward movement and Show score at the end of quiz. Don't select anymore.
    Then go to Pass or Fail preferences:
    as minimum percentage to score set 100% (or what you need);
    in If Passing Grade section select Continue;
    in If Failing Grade section select Infinite Attempts, Show retry message and action: continue
    After that, exit from Preferences and go to Quiz > Question Slide: select Multiple Choice type and Survey Question;
    in question tab, type the question name and question text;
    enter the correct answer or answers; for each one, select the redirect page by "Advanced";
    select question type, single answer;
    in options tab, select right and wrong answers (grade) ad type;
    in If Correct Answer options select continue and deselect show correct message;
    in If Wrong Answer options choose Infinite Attempts, Failure levels nothing, Show retry message and incomplete message.
    In that way, I can repeat each question more than one time.
    I hope this will be helpful for someone.
    Now only remains a problem: I need to disable the radio button previously chosen when (or if) I return in the question slide.
    Is there a way to do it without duplicate question slide and without manually removing the button?
    The problem is that quiz slide apparently doesn't allow to do nothing on buttons.... besides the fact that page seems to reset itself when user returns on it for a second time,
    Any hints?

  • Repeating header

    Hi All;
    I have searched for information that would address this
    question, but I can't seem to locate anything. If it has, please
    direct me to the link, if it is posted in this forum.
    I have jut started using DW 8 for the first time (I used
    Golive before). Now there is a feature that I used in Golive to
    create a master header or footer. I created the header on a page
    and saved it as a component, then linked that component to a page
    that I was creating. If I had to update the header, I would update
    the header component file and all other Web pages would be updated.
    I'm trying to find a similar feature in DW that would allow
    me to do the same. I've read about templates and repeating regions
    but I'm not too sure if this would work as expected. Any support
    would be greatly appeciated. Thanks.

    OK, Step by step, a short tutorial.
    Don't worry about databases. Open a new page, switch to code
    view and delete EVERYTHING from the page.
    If all you have is a repeating image, this is all that needs
    to be in your include file:
    <img src=" your_imgae.jpg " />
    If you want it centered add the <div> tags and
    alignment (just click the center icon in the properties dialog)
    Then save as header.shtml and all your web pages as
    [pagename].shtml. Actually, only the page needs to .shtml be but I
    always name everything the same to avoid confusion and conflicts.
    (I am easily confused)
    At the top of each page, put this right after the
    <body> tag:
    <!--#include virtual="header.shtml" -->
    Now, this seems very simple, and why not just put the image
    on the top of each page? Well, as you progress, you may add a menu
    to the include file or some other text or Images. It doesn’t
    matter what you put there, here is the thing, when your site gets
    pretty big and you change your mind about a link, want to remove
    it, change one, add something, all you change is the header.shtml
    file, upload it to your server and every page on the site that
    contains that file will change with no updating, synchronizing or
    uploading required.
    This is what makes this far superior to templates. It is easy
    to update a template, but when you do, if you have 100 pages
    attached to that template, in several different folders you must
    upload 100 updated pages to all their respective folders. If
    you’re using synchronize properly not that big a deal, but
    still much more than one file.
    You can use this same technique for multiple areas on a page,
    such as header.shtml, footer.shtml, menu.shtml, etc. Just put them
    where you want them on the page, make one change to one file and
    all 100 pages on your site are done!
    Leave out all css and styling definitions and such. Just use
    the header tags (h1, h2, etc.) or your own style tags defined in
    your css file. Once the css reference is set in your parent file,
    it will apply to all of your include files on that page as well.
    This is very basic and there are tons of nuances that can be
    added and tweaked, but I hope this gives you a good start…
    Once you get it, you will use it a lot.

  • Dynamic tables on one page - overflow problem with repeating header/footer

    Hi,
    with the help of the user RADZMAR I was able to create dynamic tables..
    But now, I have got the next problem.
    2 different tables are placed on 1 page.Each of them should be dynamic.
    Please let me list what is working, and what not:
    each textfield should be expandable (-> working)
    Table 01 should be overflowing to page 02 (-> working)
    Table 02 should be overflowing to page 02 (->working)
    Table 02 should be scrolling to page 02 if tabele 01 is growing (->working)
    Table 01 and Table 02 should be splittable (->working)
    header 02 + the footer 02 ( from table 02) should be repeated on every page (->working)
    header 02 + the footer 02 ( from table 02) should not be stand alone, indepentenly on which page (-> NOT WORKING)
    In other words:
    How can I reach, that the header and the footer enclose at least ONE textfield-row ?
    The setting "keep with previous / following" did not helped me.
    If the text in table 02 is large, the settings "keep with..." cause some layout destructions.
    This is the screenshot of the problem:
    Here you can download my doc:
    https://acrobat.com/#d=V*HZAV8VILZarp6gF0B3nw
    Thanks and Greetings
    Nuri

    Your question was "... but the font on the footer is much larger than that of the template", yes?
    I only can repeat, look at the difference of:
    1. index.html (Font-size > medium) >
    2. Calendar.html (Font-size > no entry):
    > "... font on the footer is much larger than that of the template",
    Hans-Günter
    P.S.
    See us again - maybe - at Monday > we will do a nice little trip to Austria.

  • Repeated Header Row within a Details Section Only of a Group Ignores Tablix Member Properties

    Ok.  I have a situation where I have a details section of a group, and I am trying to get it to repeat the row headers on each page.  It's not working.  I've gone into Advanced Mode, and addressed the static Tablix Member for the left-most
    field of the header row in question, set the properties for the Tablix Member to "RepeatOnNewPage:  True" and "KeepWithGroup: After", and still, it refuses to repeat the row header for these details.  I've tried rebuilding and
    not deleting the column where the grouping was originally assigned (without deleting the grouping, of course), and assigned the properties for "RepeatOnNewPage" to that left-most, grouping field, yet I get the exact same results.  I've looked
    up solutions, and even spoken to the expert of experts, but no joy here.  I'm using VS'10.

    OK.  So it is fixed... sort of...
    Apparently, you must select to add group headers repeated as you create the group (inc. child group), BESIDES changing in Advanced Mode, Tablix Member /Properties / etc.   Then you have to format that extra column within your Tablix to
    make it appear to 'disappear'.  BUT EVEN THEN, there is a new problem:
    The headers will repeat on the additional pages, but only to a point.  For some odd reason, SSRS doesn't consistently render the repeated headers of the group details for
    every page, just where it is a hard (page) break, as opposed to a soft (page) break.  My gut tells me that this has nothing to do with the .xml code, but is an SSRS idiosyncrasy. 

Maybe you are looking for

  • Synchronizing Column Comments from Relational Model to Data Dictionary?

    I've changed/added column comments to a table in my Relational Model. When I try to sync the changes to the Data Dictionary of the Database the new/changed column comments are never included. I can actually see that the values in the Field "Comment i

  • How to analyze result of SXMI_XMB_SYSLOG_READ?

    Hello Experts, I'm trying to write a parser to retrieve system log contents of SAP system using SXMI_XMB_SYSLOG_READ for system monitoring purpose.  I wrote a parser analyzing couple of the actual result, but I could not find any specification docume

  • When drilling down,is it possible to see all next level values in one click

    While drilling down, is it possible to see the next level for all Level 1 values instead of just the value this is clicked? Is there a feature that we can enable or achieve this differently?

  • Tooltip for mousedragged

    I did a program in applet..I want to set tooltip for the drawing..i.e.,when the oval is dragged its new co-ordinates should be displayed by using the tooltip..How can i do this.. .import java.awt.event.MouseListener; import java.awt.event.MouseMotion

  • Which scope for a UIManager?

    Hello, I want to use a UIManager to save persistance of some of my UIComponents. The idea is to bind UIcomponents (which are present in many jsff fragments) with a "RichComponent" attribute in a Bean (UIManager). For exemple : in the first fragment :