Loop in smartform - how to make values valid in all pages

Hi All.
I have a smartforms with several pages (9). I must print these 9 pages once for each line in the internal table ITAB. When I put a loop in the first page, the data under that loop is printed correctly, but every text node outside the loop always prints the last line of ITAB.
Do any of you know how to make the data in the loop valid throughout the other pages?
any help will be welcome.
thanks,
Hermes.

I got it. The main window must be the first one in the first page. The loop must be inside the main window, and bellow the loop there must be a page-break command.

Similar Messages

  • How to make a header for all pages

    hi all
    i'm new to jsf
    i use jdeveloper 10
    i want to use a toolbar and a menubar as a header for all my pages
    i want to use it as a user control or a library that i call from any page
    can i put my components in a tag library
    or how i behave
    thnks for reading
    George Gameal
    junior java developer
    Edited by: user10717543 on Dec 16, 2008 11:04 PM

    George,
    Is JDev 11 a possibility? There is support for page templates in version 11?
    John

  • How to make this validation ?

    Dear all
    In my Entity Object I have 4 attributes:
    ID , AccomplishDate ,cancelDate,Status
    I want to make a validation on the Status attribute , which is:
    if status = "CAN" then the CancelDate attribute value will be current date and the AccomplishDate attribute value be null.
    Please can any one tell me how to make this validation.
    Thanks

    Thank you so much for replaying
    The original method was
        public void setProcStatus(String value) {
                 setAttributeInternal(PROCSTATUS, value);
        }I changed it to be like this
          public void setProcStatus(String value) {
            if (value.equals("CAN")){
              setAccomplishDate(new Date());
              setCancelDate(null);
            setAttributeInternal(PROCSTATUS, value);
        }is this right
    please tell me how to set the value of AccomplishDate attribute to the current date

  • How do i make letter heads on all pages

    How do I make letter heads on all pages in pages?

    In the inspector, click the first icon, "Document.'
    In that window, check 'Headers' and or 'Footers.'
    Clicking in the area near the top (or bottom) will put the cursor in a box where you can create the page headers or footers.
    Headers and Footers can appear:
    On all pages,
    All except the first page, and
    Differently on right and left pages.
    You can insert text boxes into the header and footer fields as well, and arrange fonts and alignments for each text box separately.
    You can past images into the headers and footers. Drag the image into the page. Cut it. Click the header or footer box. Paste it. Resize it.
    Good luck, and have fun!

  • How to make programs available to all users

    How to make programs available to all users

    By default, all Applications are installed in /Applications. Those are available to all users. If you choose to install in your home Applications folder, they are only available to that user.
    You can also control app usage with Parental Controls. If that is on, that my be why some cannot use certain apps.

  • How to repeat row header in all pages in Financial Reporting?

    Hi,
    I have created a simple Financial Report with landscape mode, I could not able to view the row header in second page. Please help me out , how to repeat row header in all pages?
    Edited by: Awesome on Dec 13, 2012 2:04 PM

    Hi,
    Refer following link which states how to change the Page Setup setting (just an addition to above poster's explanation):-
    http://docs.oracle.com/cd/E12825_01/epm.111/fr_user/frameset.htm?1900.html
    Regards,
    Edited by: 918547 on Dec 14, 2012 6:17 PM

  • How to change the header in all pages at once?

    I'm new to iWeb and can't figure out how to change the headers of all pages without having to go through and do it to every page. There should be a way, but is this a feature iWeb doesn't have?

    Hi,
    Refer following link which states how to change the Page Setup setting (just an addition to above poster's explanation):-
    http://docs.oracle.com/cd/E12825_01/epm.111/fr_user/frameset.htm?1900.html
    Regards,
    Edited by: 918547 on Dec 14, 2012 6:17 PM

  • Please tell me how can I put Bookmarks for all pages opened in Firefox.There was an option ("bookmark all pages") which vanished.

    Please tell me how can I put Bookmarks for all pages opened in Firefox.There was an option ("bookmark all pages") which vanished.

    It moved to tab contextual menu :
    Right-click on any tab -> Mark all tabs (or something close, my FF is not in english).

  • How to make a validation for a field?

    Is any possible to make input value
    validation for a field?
    E.g. Force the user enter ItemCode in a
    correct format with proper prefix XX-BB-.... .
    If SDK is a only solution, how to do it?
    Regards,
    Kenneth

    You can't realy do it with out sdk. You could always try to right a query that will clear the code when it isn't in the correct format. then if they press add it will give an error cause there is no item code. But you'll struggle to get this right and it won't be full proof.
    In sdk in your item event you'll test if the specific edit box lost focus and before the action, if that is true then check the value. If it is not correct then bubble the event and give an error. when you bubble the event it won't do the action they wanted to do.
    Hope this helps.

  • How to make xml validation with automatic error fixed

    Hi', i have some string which i want to validate it:
    String word = "<style>body {background-color:transparent}";     
    byte[] bytes = word.getBytes();
    InputStream inputStream = new ByteArrayInputStream(bytes);
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
    docBuilderFactory.setValidating(true);                    
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    DOcument doc = docBuilder.parse(inputStream);This code will produce some exception like this:
    Warning: validation was turned on but an org.xml.sax.ErrorHandler was not set, which is probably not what is desired.  Parser will use a default ErrorHandler to print the first 10  errors.  Please call the setErrorHandler method to fix this.
    Error: URI = "null", Line = "1", : Document root element "style", must match DOCTYPE root "null".
    Error: URI = "null", Line = "1", : Document is invalid: no grammar found.
    org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.Is there anyway to make this validation not only show the errors but automatic fix it?
    Thanks a lot...

    I mean there is no general method which is capable of correcting all possible errors found by schema validation.
    For example if the validation says it expected to find an <organization> element or a <company> element but it found a <banana> element, there is no way to determine what repair is necessary.
    Anyway the requirement is fighting against the way things work in the real world. The purpose of validation is just to find out whether a document matches a schema. If it doesn't, then too bad. Send it back to be fixed or replaced. If you are having a problem because you repeatedly get documents which don't quite match your schema, then you need to train the users to produce valid documents or to give them tools which help them do that.

  • Smartform: How to make text height 1.5 times  than width?

    Let say, I want to output "Sales Order", how to make its height 1.5 times then width?
    Thanks a lot

    Hi,
    Create paragraph with the font size you want then apply this font to the Text that you want to  print.
    Thanks,
    Aditya

  • How to return values from a BSP page to Javascript

    Hi All,
    I want to call a BSP page which reads a single value from a table and returns that value I want the Javascript in the HTML code to get the value from the BSP page.
    Can you kindly let me know how I can return the value from the BSP page to JavaScript.
    Kindly please provide me a simple code of a BSP page and the Javascript
    Thanks
    Karen

    Hi,
    you need 3 elements to make the javascript code read the value in any field in the table: table´s name, line and column. This is how your code could look like:
    script language="javascript>
       var row = 0;
       function display(){
          row = row + 1;
          campo = 'tabla1_' + row + '_4';                 " <-- table, line, column
          valor = document.getElementById(campo).value;
    </script>
    ROW works as a counter. You have in variable valor the value of the field and can do with it what you want, perhaps display it with ALERT. I am reading the values from field 1 to n in column 4 in table TABLA1. Pay attention to the '_' in the concatenation of field´s name. The table in my BSP is very simple:
    <htmlb:tableView id                = "tabla1"
                           table             = "<%= mytable %>"
                           width             = "100%"
                           allRowsEditable   = "X"/>
    and somewhere I must call function display in my javascript code:
    <htmlb:button  id="boton" text="Texto aqui" onClientClick="display()" />
    So, give it a try.

  • How to make my computer send all the audio through optical audio cable instead of headphone jack?

    Howdy,
    To listen to online radios or CD's played from my computer, I used to connect the computer to my home entertainment system from the computer's headphone jack to the AUX port on my home entertainment system.
    I now wanted to get better sound and purchased the optical audio cable. However, I don't know how to tell my computer to send the audio signal to the home entertainmeny system through the optical digital cable rather than through the headphone jack. If I just unplug the cable connecting the headphone jack and the AUX port and only have the PC and the system connected with the optical audio cable, I don't hear any sounds. I suspect the computer isn't sending any data through the optical audio port. I'm not able to find how I can adjust the settings on my computer so that from now all sounds are output through the optical audio.
    1) I'd like to do that mainly for my HP desktop (configuration below) and any advice on how to do that would be appreciated.
    2) I also have a HP laptop (configuration below) and was wondering if that would be doable too (even though it doesn't appear to have a audio out, but it has HDMI out - can one convert it to optical audio?
    Thanks in advance!
    My desktop is: 
    ENVY h8xt,
    • Windows 8 64
    • 3rd Generation Intel(R) Core(TM) i7-3770 quad-core processor [3.4GHz, 8MB Shared Cache]
    • 12GB DDR3-1333MHz SDRAM [3 DIMMs]
    • 1TB 7200 rpm SATA hard drive
    • No secondary hard drive
    • 1GB AMD Radeon HD 7570 [DVI, HDMI, DP, VGA adapter]
    • 300W Power supply
    • SuperMulti DVD Burner
    • Wireless-N LAN card (1x1)
    • 15-in-1 memory card reader, 2 USB 2.0 (front), 2 USB 3.0 (top)
    • No Additional Office Software
    • No additional Security Software
    • No TV Tuner
    • Beats Audio (tm) -- integrated studio quality sound
    • HP USB volume control keyboard and mouse with Win 8 keyboard
    • Adobe Premiere Elements & Photoshop Elements 10
    And the laptop:
    HP ENVY 15t Quad    
    • Windows 8.1 64
    • 4th generation Intel(R) Core(TM) i7-4700MQ Processor
    • NVIDIA(R) GeForce(R) GT 740M Graphics with 2048MB of dedicated video memory
    • 15.6-inch diagonal Full HD BrightView LED-backlit Display (1920x1080)
    • 8GB DDR3 System Memory (1 Dimm)
    • 1TB 5400 rpm Hard Drive
    • 24GB flash Hard Drive Acceleration Cache
    • No Additional Office Software
    • Security Software Trial
    • 6-Cell Lithium-Ion Battery
    • No Internal DVD or CD Drive
    • Standard Keyboard
    • HP TrueVision HD Webcam w/ integrated digital mic
    • 802.11 AC WLAN and Bluetooth(R) [2x2]
    This question was solved.
    View Solution.

    Hello @_goma,
    Welcome to the HP Forums, I hope you enjoy your experience! 
    I have read your post on how you are looking to make your computer send all the audio through an optical audio cable instead of the headphone jack, and I would be happy to assist you in this matter!
    To configure your desktop to enable the optical audio cable, I recommend following the steps below:
    Step 1. Click the Windows Key Button on your desktop
    Step 2. Type "Control Panel"
    Step 3. Select "Control Panel" in the top right-hand corner
    Step 4. Select Sound
    Step 5. Under the Playback tab, right-click the white area below the devices available
    Step 6. Select "Show Disabled" and "Show Disconnected Devices"
    Step 7. Connect your Optical Audio Cable
    Step 8. Select your Optical Audio Cable as the default device and click "Enable"
    Since it is not possible to convert the HDMI out to audio out on your notebook computer, it is unfortunate that the notebook is not able to connect with an optical audio cord.
    Please re-post with the results of your troubleshooting, and I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • How to get value in a web page automatically  and sava output in database

    how to get value this table output is
    row 1, cell 1
    row 1, cell 2
    row 2, cell 1
    row 2, cell 2
    <table border="1">
    <tr>
    <td>row 1, cell 1</td>
    <td>row 1, cell 2</td>
    </tr>
    <tr>
    <td>row 2, cell 1</td>
    <td>row 2, cell 2</td>
    </tr>
    </table>

    Note: This thread was originally posted in the [Java Technologies for Web Services|http://forums.sun.com/forum.jspa?forumID=331] forum, but moved to this forum for closer topic alignment.

  • How to make contents of DIV on page I'm leaving fade out?

    I am trying to figure out how to make the contents of a DIV on the page I'm clicking away from fade out. I know how to make the next page load with a fade in. So I'm half way there (I guess).  Wix has a lot of designs that use this effect. Here's a link to an example:
    http://www.wix.com/website-template/view/html/633?originUrl=http%3A%2F%2Fwww.wix.com&numbe r-of-page=1&position-in-page=1
    This is the code that I use to make a DIV load with a fade in:
    I add this CSS code under the DIV that I want to apply the fade in effect to:
         animation: fadein 2s;
        -moz-animation: fadein 2s; /* Firefox */
        -webkit-animation: fadein 2s; /* Safari and Chrome */
        -o-animation: fadein 2s; /* Opera */
    And I add this extra code to the CSS styles sheet:
    @keyframes fadein {
        from {
            opacity:0;
        to {
            opacity:1;
    @-moz-keyframes fadein { /* Firefox */
        from {
            opacity:0;
        to {
            opacity:1;
    @-webkit-keyframes fadein { /* Safari and Chrome */
        from {
            opacity:0;
        to {
            opacity:1;
    @-o-keyframes fadein { /* Opera */
        from {
            opacity:0;
        to {
            opacity: 1;

    Success!!! Thank you! Although I did have to change one more thing. See bold text below.
    One more question. What if I wanted to apply this effect to two ID's instead of one? Would it be as simple as adding a comma and then the ID in quotes like this?.... $(#container", "#footer")
    $(document).ready(function() {
        $("#container").css("display", "none");
        $("#container").fadeIn(2000);
        $("a.transition").click(function(event){
            event.preventDefault();
            linkLocation = this.href;
            $("#container").fadeOut(1000, redirectPage);       
        function redirectPage() {
            window.location = linkLocation;

Maybe you are looking for