This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



May 17, 2012, 8:30 PM
27 Posts

Problem with XP:REPEAT control after 100 entries

  • Category: Other
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: tags controls repeat
  • Replies: 2
 We are having a problem with the REPEAT control such that it is not generating unique IDs after iterating through 100 item.  Specifically, using a control like so:
 
<xp:repeat id="repeat5" rows="149" var="mydoc" indexVar="rowCount">
   ... 
   <xp:td styleClass="col5" valign="top">
      <xp:inputRichText id="inputRichText6" htmlFilter="identity"> 
         ... 
 
...yields HTML like this at the 99th and 100th elements: 
 
   <td class="col5" valign="top"><div id="view:_id1:include2:_id235:repeat5:99:inputRichText6" class="domino-richtext xspInputFieldRichText">[edit]</div></td>
   .... 
   <td class="col5" valign="top"><div id="view:_id1:include2:_id235:repeat5:10:inputRichText6" class="domino-richtext xspInputFieldRichText">[edit]</div></td>

As you can see, we are getting "10" instead of "100", which has already been rendered for the 10th entry.  Adding to the mystery is that it does this on our production server, but does not do this on our test server.  Both are version 8.5.2 however we tried to install 8.5.3 but reinstalled 8.5.2 after too many issues with 8.5.3.
 
Does anyone know if there is a setting which affects this behaviour?  Is this something that was fixed with 8.5.3 (I didn't see anything in the release notes)? 
 
Many thanks in advance for any help or advice!
 
Alex 
 
May 17, 2012, 9:36 PM
122 Posts
Re: Problem with XP:REPEAT control after 100 entries
It's a bug that's fixed in 8.5.3 and 8.5.2 FP3. Here's the link, though you may get a 404 error - the fix list page is still down at the moment. http://www-01.ibm.com/support/docview.wss?uid=swg21503624
May 18, 2012, 12:03 AM
27 Posts
Re: Problem with XP:REPEAT control after 100 entries
Thank you for the information - this is exactly what I needed to know!

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal