• Alexandre
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Hi, I have this html in a visual force page. I am trying to repeat this code 6 times. Is there a for-loop function in apex that will allow me to do this.


such as


for (int x=0; x6; x++){

<table style="width:700px"><tr>
<td valign="middle" align="center">
<br/><br/><h1>Commercial Invoice</h1>
</td>
<td>
<img id="theImage" src="https://na1.salesforce.com/servlet/servlet.FileDownload?file=01530000000mvyc" />

</td>
</tr>
</table>

 
}

Message Edited by Alexandre on 05-25-2009 07:18 AM

Hi, I have this html in a visual force page. I am trying to repeat this code 6 times. Is there a for-loop function in apex that will allow me to do this.


such as


for (int x=0; x6; x++){

<table style="width:700px"><tr>
<td valign="middle" align="center">
<br/><br/><h1>Commercial Invoice</h1>
</td>
<td>
<img id="theImage" src="https://na1.salesforce.com/servlet/servlet.FileDownload?file=01530000000mvyc" />

</td>
</tr>
</table>

 
}

Message Edited by Alexandre on 05-25-2009 07:18 AM