Displaying the correct value of Y in page X of Y when running a batch

Hi There
Does anyone know how I can re-set the Y of page X of Y in the footer for each PO when running a batch?
I am using <?for-each@section:G_HEADERS?> which is working great for each PO - re-setting the PO number in the header and re-setting the X in page X of Y in the footer for each PO, but unfortunetly the Y is set to the maximum number of pages of the first PO. I.e. If the first PO have 5 pages then each PO after that will have a Y set to 5 even if they have less or more pages.
Does anyone know what I can do to get round this?
I am running version 5
Regards
Ruth

OK I don't have the time to try it out - here just the solution idea.
1) XSL allows you to have links that gets the page number of an object with an id.
This is used for example in our table of contents.
2) You create a link to an object (empty fo-block) on the last page.
3) The problem is that each of the objects for each of the sections needs a seperate
identifier otherwise you have the same bug that 5.0 has.
4) You use i.e. the position() from the loop (@section loop) to concatanate it to the id.
Total Page Number
<fo:page-number-citation ref-id="MY_KF_END_OF_PAGE{position()}" />
End of Page reference
<fo:inline id="MY_KF_END_OF_PAGE{position()}" />
You may have to save the position in a varaible - be careful to use the correct
context - probably incontext - check the user guide on contexts.... I would need
to play with the context for the variable myself.
Hope that helps.

Similar Messages

  • How do I display the correct value when using SELECT_LIST_FROM_QUERY

    I have an updatable report that displays the possible values for a field.
    I'm using HTMLDB_ITEM.SELECT_LIST_FROM_QUERY, so obviously I have to process the record manually.
    However, I need the trick to display the correct value as selected before processing the records.
    I appreciate your help.
    Thanks
    Juan

    Thank you.
    So, I just need to put the field name in the second argument.
    I have it working now.
    Thanks again
    Juan

  • Firefox is not displaying the correct font color on my blog, but other browsers are.

    I have a web designer issue. Firefox is not displaying the correct font color on the header in my blog. Explorer, Chrome, and Safari have no problems. The page is in css but this particular section has html code o designate color. The code is as follows:
    <font face="helvetica" color="FF9966" size="1">blog</font>
    Though all other browsers display the light orange color designated, Firefox displays white. Strangely, if if retype the code by spelling out a color, Firefox displays it correctly. i.e.
    <font face="helvetica" color="black" size="1">blog</font>
    ... will give me black. You can see the effect by viewing the link below and looking at the word "blog" in the header, which should be light orange but is not in Firefox.

    Actually it also seems to work in the current Firefox 4 beta as it is.
    The code is not right though - the correct syntax for the color attribute with hex values is with a # at the start, so:
    color="#FF9966"
    It might work in Firefox 3.x if you change that.

  • Entering a Value and Tabbing out of af:inputListOfValues displays the wrong value

    Good morning. I am having an issue with the autosubmit and tabbing out of af:inputListOfValues in my code.
    Problem: When I type in a valid value and tab out of the field, it ignores the value I entered and displays whatever the first list in the query result instead regardless of the value I typed.
    My code snippet. What it does is simply an LoV search of Employee No attached to an entity attribute and depending on selection, it will display the Employee Name within the page. (it also retrieves a table view depending what employee number was entered)
    <af:inputListOfValues id="empNoId"
                 popupTitle="Search and Select: #{bindings.EmpNo.hints.label}"
                  value="#{bindings.EmpNo.inputValue}"
                  label="#{bindings.EmpNo.hints.label}"
                  model="#{bindings.EmpNo.listOfValuesModel}"
                  required="#{bindings.EmpNo.hints.mandatory}"
                  columns="#{bindings.EmpNo.hints.displayWidth}"
                 shortDesc="#{bindings.EmpNo.hints.tooltip}"
                   binding="#{workLocationBean.txtEmpNo}"
                  partialTriggers="id1"
                 valueChangeListener="{bean.onEmpNoChange}"    
                 autoSubmit="true">
            <f:validator binding="#{bindings.EmpNo.validator}"/>
      </af:inputListOfValues>
    Other things to note:
    When I enter a valid employee number and click anywhere in the page (not TAB), it behaves correctly.
    I have been trying to figure this out for days. Even my valueChangeListener gets the wrong value (when I do System.out) when I tab out so I am not sure where to catch it and replace it with the correct value.
    Thank you.

    This usually happens when primary key is not set in view object used by LOV.
    Dario

  • Not to display the null values from data base

    Hiiii.
    In a jsp file i have ten check boxes.The jsp file is mapped to a servlet file for parameter requesting and to
    store it in DB.
    The unchecked box values has null values.All the values are store in a Mysql DB table.
    Again i have to display it in a jsp page from table.
    The problem am facing was,how can i display only the values in a row.it must not display the null values and the crresponding column name.
    Or any other way is their like below
    How i can retrieve only the selected check boxes from tht jsp file.and store in backend.
    Thanks in Advance
    regards,
    satheesh kannan

    Here is a rough example that may give you some ideas:
    On the JSP page:
    <%if(myData.getFirstName()!=null){%>
    Your First Name'
    <input type="text" name="firstName" value="<%=myData.getFirstName()%>">
    <%}%>
    In the servlet:
    String firstName= request.getParameter("firstName");
    if(firstName!=null){
    //write it to the database
    }

  • How to filter certificate templates in Certificate Authority snap-in with the correct values

    How to filter certificate templates in Certificate Authority snap-in with the correct values
    I have a 2012 R2 server running Microsoft Certificate Authority snap-in.
    I want to do a filter on a specific Certificate Template which i know exists in the 'Issued Certificates' folder.
    All the documentation i can find seems to suggest i copy the certificate name and use this in the View Filter.
    1). I add the 'Certificate Template' option into the Field drop-down.
    2). I leave the Operation as the '=' symbol
    3). I paste in just the name of the template in question. for example: 'my computers'
    The search results always come back blank 'There are no items to show in this view.' even when i know there are many instances of this template. I've tried on a win 2008 server and same issue.
    Is there a correct value to enter for the Certificate Template name?
    Can this be done easier using certutil commands?
    When i run the certutil tool i can confirm i have several issued templates. Certutil -catemplates -v > c:\mytemplate_log.csv
    Anybody know what i'm doing wrong?
    I seem to be getting nowhere with this one.

    > But its important you are using the template name, not the display name
    this is incorrect. OIDs are mapped to *display name*, not common name (it is true for all templates except Machine template). That is, in order to translate template name to a corresponding OID, you need to use certificate template's display name. And, IIRC,
    template name in the filter can be used only for V1 templates. For V2 and higher, OID must be used.
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell FCIV tool.

  • Select list: Display the selected value using JSP

    Hi
    I have a select list with a set of values and when I select a value from the list I want the selected text to appear on the screeen. How do I display the selected value?
    Please help:
    Here is the code for the list:
    <select name="arraySelect" size="8" onclick="">
    <%for (int i = 0; i < dumpArray.length; i++) {
    if( i == 3){
    %>
    <option value="<%=dumpArray%>" selected><%=dumpArray[i]%></option>
    <% i++;} else %>
    <option value="<%=i%>"><%=dumpArray[i]%></option><p>
    <% } %>
    </select>
    <% String name;
    name = request.getParameter("arraySelect");
    out.println(name);
    I tried request parameter but it did not help. How can I do it?

    did you submit your page?

  • Design Window is not displaying the correct view

    Hi
    For some reason the Design View on my CS3 is not displaying
    the correct view.
    It used to show how the web page would look but it is simply
    showing up the wording and pictures surrounded by dotted black
    lines.
    I am using a template as a bases for all the pages and all
    the pages are showing like this.
    My other sites are showing up OK though.
    When I Preview in Browser, it all shows up OK.
    Can anyone help?
    Bezz

    VIEW | Style Rendering > Display Styles
    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
    ==================
    "Bezz333" <[email protected]> wrote in
    message
    news:fttdsr$394$[email protected]..
    > Hi
    >
    > For some reason the Design View on my CS3 is not
    displaying the correct
    > view.
    >
    > It used to show how the web page would look but it is
    simply showing up
    > the
    > wording and pictures surrounded by dotted black lines.
    >
    > I am using a template as a bases for all the pages and
    all the pages are
    > showing like this.
    >
    > My other sites are showing up OK though.
    >
    > When I Preview in Browser, it all shows up OK.
    >
    > Can anyone help?
    >
    > Bezz
    >

  • IPhone displays the wrong number in iTunes Summary page

    had to change my phone number due to a hacker, now my summary page for my iPhone in iTunes still shows the old number. I've updated my details in every page I can think of but I seem to be missing the one that displays the correct number? any idea's?

    sorted it myself after some proper research.
    Change the number in Settings on your phone and when you next sync it resets the number in iTunes to match.

  • How to get the return values from a web page

    Hi all :
       how to get the return values from a web page ?  I mean how pass values betwen webflow and web page ?
    thank you very much
    Edited by: jingying Sony on Apr 15, 2010 6:15 AM
    Edited by: jingying Sony on Apr 15, 2010 6:18 AM

    Hi,
    What kind of web page do you have? Do you have possibility to for example make RFCs? Then you could trigger events (with parameters that could "return" the values) and the workflow could react to those events. For example your task can have terminating events.
    Regards,
    Karri

  • How to display the sort value in the selection screen in the report title

    Dear All,
    How to display the sort value in the selection screen in the report title? I have selected a value in the selection screen for sorting , but i need that values by which i have sorted with in the report title. Can you please throw some light on this!!
    Good day,
    Thanks and regards
    Arun S

    Hi Arun,
    Try this.
    1, Set one dynamic parameter,
    2, Drag and drop that parameter into  your report title.
    3, Pass the value(sort value) dynamically from your application,
    4, Cheers..
    Other wise Try with Dataset, create a dataset and fill thev alue into that.. Then  set the data source from CR designer. and darg and drop that data column into the report.
    Hope this will work,
    Regards,
    Salah
    Edited by: salahudheen muhammed on Mar 25, 2009 11:13 AM

  • How can I get HyperTrend to display the numeric value output of a CHOOSE statement?

    I have non-linear values I need to display on a HyperTrend graph.  I'm currently converting the input raw signal to a Units (Engineering) value and then looking up the actual value (from a calibration chart) using a CHOOSE statement in order to display the actual value on a panel, but I need to display the values output by the CHOOSE statement on a HyperTrend graph, along with other similar values.
    How can I do this?

    I have non-linear values I need to display on a HyperTrend graph.  I'm currently converting the input raw signal to a Units (Engineering) value and then looking up the actual value (from a calibration chart) using a CHOOSE statement in order to display the actual value on a panel, but I need to display the values output by the CHOOSE statement on a HyperTrend graph, along with other similar values.
    How can I do this?

  • I have just updated to ISO 8 and my app icons are not displaying the correct icon but just a generic icon. Anyone had a similar problem?

    I have just updated to ISO 8 and my app icons are not displaying the correct icon but just a generic icon. Anyone had a similar problem?

    That happened to me for a short period of time after I updated. It didn't do it with all apps, but it did it with a few here and there. Try a few basic standard troubleshooting steps. Close all apps and reset the iPad.
    In order to close apps, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    You can also try resetting all settings. You will not lose any data, but most of the device settings will have to be entered in the settings app again. Settings>General>Reset>Reset all Settings.
    Hopefully it will be something simple, but don't rule out restoring the iOS software, if nothing else works, but start with this easy stuff first.

  • Module Pool for displaying the Grid values in Matrix format

    Hi Experts,
    I have one requirement which as follows,
    In Module pool program i need to display the Grid Values in Matrix format i.e,
    Row = Color
    Column = Size
    Like what we can see in Sales order or Purchase Order if you click Grid Entries Button.
    Can you Please Help me out.
    Thanks n Advance.
    Logu

    Hi
    the sources ate the function groups WMMB and WMMA.
    In a new release you should find the function module MGW_UTILITIES_MATRIX_SHELL_RA
    the report RWRFMATCHARVAL is a good example
    Regards
    Björn

  • How to update zero to a column value when record does not exist in table but should display the column value when it exists in table?

    Hello Everyone,
    How to update zero to a column value when record does not exist in table  but should display the column value when it exists in table
    Regards
    Regards Gautam S

    As per my understanding...
    You Would like to see this 
    Code:
    SELECT COALESCE(Salary,0) from Employee;
    Regards
    Shivaprasad S
    Please mark as answer if helpful
    Shiv

Maybe you are looking for

  • How do I upgrade elements 10 to open raw files from my Canon 70d?

    How do I upgrade elements 10 to open raw files from my canon 70d?

  • Module pool program query

    Hi, I am working on module pool program. I want to calculate sum of two fields into a third field. I have written the same in PAI (using FIELD statement). But say if the user does not click on enter and directly clicks on SAVE button, the numeric fie

  • Sub-Millis​econd Wait Time

    Hello, Currently I am using Labview to control my shutter system in an experimental set up. The shutter takes a TTL signal to open/close, so currently I have the programming set up to send a 5 V DC voltage to the shutter to open it after certain othe

  • How to run JRun4 as standalone container?

    How would one go about running JRun4 as a stand-alone servlet container? I want to be able to configure it dynamically and start/stop it as part of a build. Any info would be appreciated. Thanks in advance.

  • Mac pro web sites not being able to access

    having problems at accessing web sites since installing lion for example i tried to access ebay and wouldn't load waited & waited & waited gave up in the end and had to use my old toshiba laptop this worked fine so nothing wrong with modem or router