Avatar

Level 4

Update:

This forum's search function currently isn't working properly. I did find out that someone had a similar problem in 2008: "missing image in repeating subform"

I also checked out the images' presence with this line:

    for (var i = 0; i< _myRepeatingSubform.count; i++) {
        console.println(i + ": " + resolveNode("myRepeatingSubform[" + i + "].aPositionedSubform.myImage").presence);
        }

As expected I get "visible" for every instance of the image. (Which is of cource a lie, as obviously the image is NOT visible ....)

Appears like a bug in my eyes. Does anyone have a good workaround?

A someone quirky workaround that actually works is:

    for (var i = 0; i< _myRepeatingSubform.count; i++) {
         resolveNode("myRepeatingSubform[" + i + "].aPositionedSubform.myImage").presence = "visible";
         }

You can actually write

if (resolveNode("myRepeatingSubform[" + i + "].aPositionedSubform.myImage").presence == "visible")

     resolveNode("myRepeatingSubform[" + i + "].aPositionedSubform.myImage").presence = "visible";

This makes a difference!