Multiple images into a subform in a dynamic non-interactive adobe form

I want to convert a set of images into a PDF (one page for each image) with Webdynpro. I'm trying with a non-interactive adobe form.
I followed the tutorial "Dynamic Non-Interactive PDF Form".
I've got a multiple Context node: 'Images' with a string attribute 'url' for each image.
In the form, I've created subform1, and subform2 within. I put an image field into subform2, setting its url to: $record.Images[*].url
and its script to: this.value.image.href = xfa.resolveNode(this.value.image.href).value;
It doesn't work.
If I add a field into subform2 binding it to url attribute, I can see some lines with the correct path for each image, but the image isn't displayed.
It works with a single dynamic image in the page. What am I doing wrong?
Regards
Anibal Pozo.

No. It's form scripting. In any case I'm working with Webdynpro Java.
I tried this code in table 'initialize' event.
for int=0 upto $record.nImages do
Table1.Row1[int].ImageField.value.image.href = $record.Images[int].url;
Table1.Row1[int].Cell4.value.#image.href = $record.Images[int].url;
endfor
Cell4 is a static image.
In 04SP9, it show always the same image in the image field (first column), and alternating image in cell4 (second column).
In 04sSP6, it shows always the same image in all the rows in both columns.
Any idea? I didn't find any OSS related.

Similar Messages

  • How do I add multiple images into one file?

    I'm sure this is something that's been covered in another post (or even in the help portal) but I think my wording in my search terms are not correct or... I don't know, because I just can't find what I'm looking for.
    I want to know how to add multiple images into one file/one image, both horizontally and/or vertically. To give you an idea of what I mean, check out :
    http://www.best10apps.com/apps/comic-story,531596060.html
    If you scroll down, you'll see a heading entitled : Screenshots of Comic Story. Notice how there's 3 pictures (divided by borders). 2 of those pictures are side by side, and 1 of them is below the first 2 pictures.
    I want to know how to add different pictures/images and put them into one picture.

    One way is to create template PSD files and populate them with your images using Photoshops scripts.
    Photo Collage Toolkit UPDATED June 12, added Picture Package Support via PasteImageRoll and BatchPicturePackage scripts.
    The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
    There are eleven scripts in this package they provide the following functions:
    TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
    CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
    LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
    InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
    ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
    ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
    PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
    BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
    BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
    BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder
    PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
    Documentation and Examples

  • InDesign CS3 Scripting XML Import Multiple Images into same Text Frame

    I am having trouble importing multiple images into the same Text Frame using XML import. I imported 5 images into the text frame. However, all 5 images are laying on top of one another. Does anyone know if there is a way to have all images laying out like how Microsoft Word handles inline images, i.e., laying out next image to the right of previsous image in the same line and if there is not enough space left in the line, then wrap to next line. Thanks in advance. I understand I could use JavaScript to do post import processing, e.g, calculate the image size and place each images accordingly. But I am trying to see whether there is a way to do this without scripts.

    You can apply an object style to all anchored images by script. A text frame containing main flow should be selected.
    var doc = app.activeDocument;
    var textFrame =  app.selection[0];
    var rectangles = textFrame.texts[0].rectangles;
    if (rectangles.length > 0) {
         for (var i=0; i < rectangles.length; i++) {
              rectangles[i].appliedObjectStyle = doc.objectStyles.item("Cover");
    However, there is a better approach:
    Step 1
    Create place holders for a single "Book" element and format it as needed -- apply an object style to the cover.
    Step 2
    Import the xml file -- the placeholders are replaced with data from the 1st xml element
    Step 3
    Drag & drop the element containing all "Books" elements into the main flow -- all elements are placed and formatted the same way as in step 1.
    Finally, add a new page, click the overset text icon and autoflow text to add pages so that to fit all the text.
    Hope this helps.
    Kasyan

  • Inserting Multiple Images into oracle database using JDBC

    I wanted to insert multiple images into database using JDBC by reading it from the file... and i am passing photos.txt(my text file) as an input parameter... I have inserted all the values into the database except for the image part... this is my content of photos.txt file and i have copied all the images into the folder
    *" C:\\photos "*
    *1,in1.jpg,108,19,in-n-out*
    *2,in2.jpg,187,21,in-n-out*
    *3,in3.jpg,308,41,in-n-out*
    *4,in4.jpg,477,52,in-n-out*
    *5,in5.jpg,530,50,in-n-out*
    and i want to store in1.jpg,in2.jpg,in3.jpg,in4.jpg,in5.jpg into the oracle databse using JDBC.... i have tried a lot using BLOB column.... and i have created my table as
    CREATE TABLE PHOTO(
    ID NUMBER NOT NULL PRIMARY KEY ,
    Name BLOB,
    X DOUBLE PRECISION,
    Y DOUBLE PRECISION,
    Tags VARCHAR2(40)
      try {                 // for restaurant System.out.println();System.out.println();System.out.println(); System.out.print("  Creating Statement for Photo...\n");             stmt2 = con.createStatement ();                       stmt2.executeUpdate("delete from PHOTO"); stmt2.executeUpdate("commit"); PreparedStatement stmt3 = con.prepareStatement ("INSERT INTO PHOTO VALUES (?, ?, ?, ?, ?)");             System.out.print("  Create FileReader Object for file: " + inputFileName1 + "...\n");             FileReader inputFileReader2 = new FileReader(inputFileName1);             System.out.print("  Create BufferedReader Object for FileReader Object...\n");             BufferedReader inputStream2  = new BufferedReader(inputFileReader2);             String inLine2 = null;                         String[] tokens; //            String[] imageFilenames = {"c:\\photos\\in1.jpg","c:\\photos\\in2.jpg","c:\\photos\\in3.jpg","c:\\photos\\in4.jpg","c:\\photos\\in5.jpg", //  "c:\\photos\\in6.jpg","c:\\photos\\in7.jpg","c:\\photos\\in8.jpg","c:\\photos\\in9.jpg","c:\\photos\\in10.jpg","c:\\photos\\arb1.jpg","c:\\photos\\arb2.jpg", //  "c:\\photos\\arb3.jpg","c:\\photos\\arb4.jpg","c:\\photos\\arb5.jpg","c:\\photos\\den1.jpg","c:\\photos\\den2.jpg","c:\\photos\\den3.jpg", //  "c:\\photos\\den4.jpg","c:\\photos\\den5.jpg","c:\\photos\\hop1.jpg","c:\\photos\\hop2.jpg","c:\\photos\\hop3.jpg","c:\\photos\\hop4.jpg","c:\\photos\\hop5.jpg"};               File file = new File("C:\\photos\\in1.jpg");            \\ ( Just for example  )           FileInputStream fs = new FileInputStream(file);                         while ((inLine2 = inputStream2.readLine()) != null) {               tokens= inLine2.split(",");             st2 = new StringTokenizer(inLine2, DELIM);                                                             stmt3.setString(1, tokens[0]);               stmt3.setBinaryStream(2, fs, (int)(file.length()));               stmt3.setString(3, tokens[2]);               stmt3.setString(4, tokens[3]);               stmt3.setString(5, tokens[4]);               stmt3.execute(); //execute the prepared statement               stmt3.clearParameters(); 
    As i am able to enter one image file by above code in1.jpg in to the oracle database.... but i am not able to insert all the image file in to the database.....do tell me what should i do.... and can you give me the example on the basis of the above code of mine...
    do reply as soon as possible..

    jwenting wrote:
    that depends. Putting the images in BLOBs prevents the file locations stored in the database from getting out of synch with the filesystem when sysadmins decide to reorganise directory structures or "archive" "old" files that noone uses anyway.True, but it really comes down to a business decision (cost-benefit analysis). If you have the bucks, the expertise, and the time, go with the Blobs, otherwise go with the flat files.

  • Merging of cells of a dynamic table in adobe form

    Hi,
    I am trying to Merge 2 columns in a dynamic table in adobe form.The requirement is to merge column 3 and column 4 if column 4 is empty. I used the below javascript code in both "Form ready " and Initialize event of the row.
    if (this.Cell4.rawValue == " ")
    this.Cell3.colSpan = "2";
    this.Cell4.presence = "hidden";
    Note : Since above code was not working , i used the below code in my subform also but it did not returned desired output.
    if(Table22.Row1.Cell1.rawValue == " ")
    Table22.Row1.Cell3.colSpan = "2";
    Table22.Row1.Cell4.presence = "hidden";
    The problem is that in my dynamic table , its the second row where the requirement is fulfilled ie in the 2nd entry of my table the column4 is blank (the exact row number might change depending on input data).
    is there a way to loop in the dynamic table and check if column 4 is empty for a particular row.
    the above code does not help to fulfill my requirements. kindly help.
    Thanks
    Aditi

    Hello Aditi priya,
    Hope you are doing good..
    Please go through my recent blog..
    http://scn.sap.com/community/interactive-forms-by-adobe/blog/2015/01/02/merging-internal-table-cells-dynamically-in-sap-adobe-forms-using-java-script-code
    I hope you will find all answers from this blog..Reward if helpful...
    Thanks & Regards,
    B Raghu Prasad

  • Interactive-adobe form Converting into PDF without print dialog

    Hi Friends,
    I would like to convert Interactive - adobe form into PDF without print dialog.which adobe form interface type is Smart Forms-compatible Interface.I have tried for solution.but I could not succeeded.How can resolve the issue.please help me.
    Thanks
    Ramesh M

    Hi Friends,
    I would like to convert Interactive - adobe form into PDF without print dialog.which adobe form interface type is Smart Forms-compatible Interface.I have tried for solution.but I could not succeeded.How can resolve the issue.please help me.
    Thanks
    Ramesh M

  • How To Place/Open Multiple Images Into Separate Layers For ONE Document?

    I've been searching for the answer for a long time so I figured that someone here has to know.  I have PS Elements 9. 
    So I would like to make GIFs and I know how to do so, the problem is placing in those tens of files in layers (it's tedious).  Is there a way to select multiple image files to place into a single document?  And for them to be place into its own layer?  I've tried dragging and selecting from the Open/Place menus (won't allow), SHIFT + Direction Key from the Open/Place menus (won't allow), tried opening them to drag on the Organizer and to drag from the Project Bin (again won't allow), and I've read tutorials where they say to use scripts and actions but I'm not sure what to download them in order for them to work and the links are broken anyway.
    An example of what I'd like to do:
    Open and place in 15+ screenshots into layers but in just one document.
    Each screenshot would be one layer in said document.
    ...rest of GIF process...
    I feel like there's an easier way to get this without placing in each one at a time.  I remember being able to do this on a old PS (though not Elements).  Thanks for any help.

    The quickest method is probably opening all images together from Full Edit:
    File >> Open
    Then navigate to the folder and use shift+click to select a block of files.
    The images will appear in the photo bin. Drag and drop each one into the main editing window and a separate layer will be created for each.

  • How do I import multiple images into single individual cells?

    Hi folks,
    I'm new to the Mac (yeah!) and imagine there just has to be a way to import a bunch of images into separate cells in Mac "Numbers" ... am I right?
    Essentially what I'd like to do is a file folder with 600 images in it, and import those directly into Mac Numbers with one picture being assigned to it's own cell. So if below were a spreadsheet it would look like this:
    Actual Picture - Picture Name - Item Description ... and so on.
    I'm trying to work with inventory items, and this is the only way I can think of doing it. Suggestions!?!?
    Here is a link to creating a macro in Excel to do a similar thing:
    http://en.kioskea.net/forum/affich-269046-adding-a-loop-to-macro-to-insert-pictu res
    Thanks for your help.
    D

    D,
    I guess you're taking another shot at getting a response. You risk getting parallel discussions going with the same content.
    What you are contemplating seems logical enough, but I think you will find that it is impractical in Numbers. Given the size of photograph files these days, you will choke Numbers in short order. You will have to be careful that you embed only photos large enough to be of use/viewable, and keep your full-sized copies elsewhere. You might find that an Apple Script can do the import for you, but otherwise it's drag and drop from the Media Browser.
    Jerry

  • Mac Wizards! Stuck importing multiple images into individual cells...

    Hi folks,
    I'm new to the Mac (yeah!) and imagine there just has to be a way to import a bunch of images into separate cells in Mac "Numbers" ... am I right?
    Essentially what I'd like to do is a file folder with 600 images in it, and import those directly into Mac Numbers with one picture being assigned to it's own cell. So if below were a spreadsheet it would look like this:
    Actual Picture - Picture Name - Item Description ... and so on.
    I'm trying to work with inventory items, and this is the only way I can think of doing it. Suggestions!?!?
    Here is a link to creating a macro in Excel to do a similar thing:
    http://en.kioskea.net/forum/affich-269046-adding-a-loop-to-macro-to-insert-pictu res
    Thanks for your help.
    D

    There is no macro feature in Numbers.
    The only way to code what you wish would be to use AppleScript if Numbers '08 was scriptable.
    As it's not, you must do the job by hand or switch to Numbers '09 which is scriptable.
    Yvan KOENIG (VALLAURIS, France) mercredi 3 mars 2010 22:10:14

  • Populate Default Dynamic Filename In Adobe Form (On Click of Save in Menu) - SAP

    Hi,
    We have a scenario in which we want to populate the file name dynamically in Adobe form integrated in SAP Webdynpro.
    Scenario - 
    A adobe form has been intergrated in the SAP webydnpro application which opens the form in Web Browser (IE).
    There is a save button which is part of standard adobe form menu and on click of that save button (circled - 1 in image )  the name of the form ( i.e techincal name of adobe form created in SAP {ZTESTSS} ( circled - 2 in image ) appears.
    We want to change the default name to (employee_date_time ) on click of save.
    We have found a approch by using the folder level javascripts (http://forums.adobe.com/message/2266799#2266799%232266799).
    In case we use folder level scripts "where should we write the JavaScript code in the Adobe Form to trrigger the this script on click of Save Button (in the menu)?"
    Also is there any other apporch which does not require folder level javascript as its a security issue also we need to maintain in all the user systems.
    Please let me know the approch to address the issue.
    Thanks .
    Tausif

    Hi,
    you can't change the behavior of the save button in the browser nor in Reader/Acrobat.
    You can add a custom button within your form which calls a custom script from a folder level script using the browserForDoc method.
    The browseForDoc methos is the only one whcih can change the name in the saveAs dialog.
    Here's an example., you can run from Acrobat console.
    You need to combine it with the solution from the other thread to make it work with your form.
    http://forums.adobe.com/message/2266799#2266799%232266799
    var oRetn = app.browseForDoc({
        bSave: true,
        cFilenameInit: "MyForm.pdf",
        cFSInit: "",
    if (typeof oRetn !== "undefined") {
        this.saveAs({
            cFS: oRetn.cFS,
            cPath: oRetn.cPath,
            bPromptToOverwrite: false

  • Dynamic Text in Adobe forms

    hi all,
    I am working o adobe forms, i have to print a paragraph text which has both dymanic and static elemets in it. By putting all the text in a static text it works fine, but allignment does not happen properly.
    do we have something like  &.....& we have in smartforms.???
    I saw in a example in which  the variable was used  as  { } and that was dynamically filled at run-time... but i am not able to do  the same...may be i am missing some settings or something...
    Any help will be appreciated....in this regard.

    hi
    Check this
    Difference between Smart Forms and Adobe Form
    Re: Smart Forms & Adobe Forms
    Adobe forms
    /message/4983958#4983958 [original link is broken]
    Re: adobe forms
    adobe forms
    adobe forms
    adobe forms

  • Dynamic call for ADOBE FORMS

    Hi ,
    I want to call Adobe forms with dynamic table .
    Some one please explain me how I can implement this in ADOBE interface ?
    Any Pointers or Help higly appreciated.
    Thanks
    James

    hi
    Check this
    Difference between Smart Forms and Adobe Form
    Re: Smart Forms & Adobe Forms
    Adobe forms
    /message/4983958#4983958 [original link is broken]
    Re: adobe forms
    adobe forms
    adobe forms
    adobe forms

  • Merging multiple images into one

    Hi,
    I am using Photoshop CS5 Extended on OSX.
    I am still green when it comes to using Photoshop so all help to this question is much appreciated.
    I am trying to merge several images together into the one. The images all have the same background but with a single object moving through the images in procession (the images are of a skiing piste with a snowboarder moving through). I have searched for a solution online but the best I found with so far is making each image a layer and then using a mask on each layer and making only the snowboarder visible from each picture. This works ok but it is quite difficult to get each layer to blend in nicely with the background. Also, I am dealing with 20+ layers, so it is a very labour-intensive solution. I am asking to see if there is another solution whereby I can merge all the images together? Apologies if this has been covered elsewhere but I seem unable to find another solution.
    Again, thanks in advance for any help :-)

    while manual masking is certainly the best option (assuming that all images are taken with a tripod, are somehow aligned, and all have the same exposure) (and 20 layers isn't that labor intensive), you could try to select all 20 layers, make them a smart object, and then go to layers: smart objects: stack mode and see if any of the mode give you something automatically what you are looking for.
    another thing you could try (not sure if it'll work) is select the layers and go to auto blend: focus stack and see if that works.
    alternatively, you could try cutting the subject out (lasso select, invert selection, delete) in each layer, and then go to auto blend, panorama.

  • Importing multiple images into flash movie as a movie

    I have about 200 images that have been rendered for me frame
    by frame, how do I put this into flash as a movie? I don't want to
    do this manually as it would be a complete waste of my time.
    Much thanks in advance!

    you can import them as an image sequence, then create a movie
    clip out of it. File-->import-->import to stage.. Then select
    all the images, and it something should pop up asking if you are
    trying to create an image sequence, select yes.

  • Combining information from multiple images into a single output

    So I'm working on a class that takes input from three buffered images. The buffered images I will be using were covered in some detail [Here in this thread|http://forums.sun.com/thread.jspa?threadID=5401006&tstart=0] for the sake of reference.
    I'll be providing 3 buffered images where the value of every pixel is the ID of the cluster. What I'm planning on doing now is looking at each cluster in each of the 3 buffered images I give the class to process.
    public BufferedImage amalgamate(BufferedImage hueTemp, BufferedImage contrastTemp, BufferedImage textureTemp){
            imgWidth = hueTemp.getWidth();
            imgHeight = hueTemp.getHeight();
            hueRaster = hueTemp.getRaster();
            contrastRaster = contrastTemp.getRaster();
            textureRaster = textureTemp.getRaster();
            amalgamImage = new BufferedImage(imgWidth, imgHeight, BufferedImage.TYPE_INT_RGB);
            amalgamWriter = amalgamImage.getRaster();
            imagePixelCount =  imgHeight * imgWidth;
            for (int x = 0; x < imgWidth; x++)
            for (int y = 0; y < imgHeight; y++) {           
                // assigns pixel values from each buffered image
                hueValue = hueRaster.getSample(x, y, 0);
                contrastValue = contrastRaster.getSample(x,y,0);
                textureValue = textureRaster.getSample(x, y, 0);
                // reset values of integers storing pixel counts
                huePixelCount = 1;
                contPixelCount = 1;
                textPixelCount = 1;
                //. loop iterates through images and produces a pixel count for each of the
                //currently assign pixel values (each pixel value is also used as
                // the ID for each cluster)*/
                for (int i = 0; i < imgWidth; i++)
                for (int j = 0; j < imgHeight; j++) {
                    if (hueRaster.getSample(i, j, 0) == hueValue) huePixelCount ++;
                    if (contrastRaster.getSample(i, j, 0) == contrastValue) contPixelCount ++;
                    if (textureRaster.getSample(i, j, 0) == textureValue) textPixelCount ++;
                }//end of i,j loop
                // this section will determine is the cluster is valid (i.e. makes up
                // more than 5% of the total percentage of pixels in the image)
                if (huePixelCount >= (imagePixelCount * 0.05)) hueValidCluster = true;
                if (contPixelCount >= (imagePixelCount * 0.05)) contValidCluster = true;
                if (textPixelCount >= (imagePixelCount * 0.05))  textValidCluster = true;
                //loop iterates and the Writable Raster will set the pixel values
               // of the output image to red, green or blue for Hue, contrast and
               //texture respectively and set all other pixels to black.
              //I'm using RGB so that I can use a different channel value for
              //each of the three, so that overlap will result in a new colour
              //(overlap between all 3 should = white pixel)*/
                for (int a = 0; a < imgWidth; a++)
                for (int b = 0; b < imgHeight; b++) {
                    //This is my original method I devised
                    if (hueValidCluster == true && hueRaster.getSample(a, b, 0) == hueValue) amalgamWriter.setSample(a, b, 0, 256);
                    else amalgamWriter.setSample(a,b,0,0);
                    if (contValidCluster == true&& contrastRaster.getSample(a, b, 0) == contrastValue) amalgamWriter.setSample(a,b,1,256);
                    else amalgamWriter.setSample(a,b,1,0);  
                    if (textValidCluster == true&& textureRaster.getSample(a, b, 0) == textureValue) amalgamWriter.setSample(a,b,2,256);
                    else amalgamWriter.setSample(a,b,2,0);
                  //When the image returned a completely black output I tried a different
                  //approach along these lines assuming the .setPixel method
                 //would have done what I wanted.
                  if (hueValidCluster == true && hueRaster.getSample(a, b, 0) == hueValue) amalgamWriter.setPixel(a, b, redArray);
                    else amalgamWriter.setPixel(a,b,blackArray);
                }//end of a,b loop
                //Reset booleans for next pixel in the original x,y loop.
                //I've been using ping to make sure the thing doesn't crash while it's running.
                hueValidCluster = false;
                contValidCluster = false;
                textValidCluster = false;
                ping++;
                System.err.println(""+ ping);
            }//end of x,y loop
            return amalgamImage;
        }//end of amalgamate method
    }//end of AmalgamationAs previously hinted the class seems to run to completion, but the image returned is always black so the pixels aren't being set or they're somehow being reset?
    If the error is due to me setting the pixels in the output image incorrectly then the root of the problem is temporarily eluding me.
    I'm not sure if there are compatability problems between USHORT (which is the format the input images are in) and an INT_RGB BufferedImage which could be the cause so I thought I'd mention that.
    It's also crossed my mind that in using a loop inside a loop inside a loop I possibly have done something wrong there.
    Thought I'd throw this problem out there. I've been de-bugging this one for a while.

    amalgamWriter.setSample(a, b, 0, 256);
    amalgamWriter.setSample(a,b,1,256);
    amalgamWriter.setSample(a,b,2,256);For the image type you are using, you only have 8 bits of precision each color channel. That means only a number in the range [0,255] is valid for the sample. The value 256 is equivalent to setting the sample to 0. That is ((byte) 256) = 0.

Maybe you are looking for

  • Problem in Ad Hoc Query displaying Personnel Number field

    Hello, while creating a query through transaction S_ph0_48000510 I select for display the field "Personnel Number". However while running the query , in the results part , under the field "Personnel Number" , instead of the personnel number , the emp

  • File name vs. public class?

    Could anyone tell me that why should the file name be the same as the only public class in that file? Is there any reason for this rule? Thanks in advance. I really appreciate it. David

  • HT1727 how do i authorise a new computer

    How do i authorise a new computer. i am trying to transfer songs for my kids

  • Viewing audio files that are syncing

    How do I view a list of the audio files that are syncing to my ipod during the sync process. Until I downloaded 7 I could see the files that were syncing and they had a mark next to them but I have not figured out how to view the files in my music li

  • Can't see Windows PC on new iMac but Windows PC can see iMac

    My brand new iMac is up and running except I can not see my Dell Laptop running Windows. The strange thing is that my Dell Laptop can see the iMac just fine and I can access shared folders without any problems. My call to Apple support didn't leave m