This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

<tr:iterator> is not adding row count for <tr:message> with trinidad jars.  RSS feed

 
kaushalendra jadon
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Issue: Facing issue on screen where we are using <tr:message> element within the <tr:iterator> element. Here as per the 6.3 trinidad jars we are seeing message id is regenerated as "<containerid>:<rowcount>:<messageid>", but in 6.8 trinidad jars message id is regenerated as
"<containerid>:<messageid>" .

Below the actual generated ID with latest trinidad jars.
id=”closingCostsFeeIterator:paidOutSideClosingMsg”
But as code is expecting : id=”closingCostsFeeIterator:1:paidOutSideClosingMsg”

Here when we are trying to get the element using
document.getElementById('closingCostsFeeIterator:'+rowCount+':'+'paidOutSideClosingMsg') its returning null and hence flow breaks.

Code Snippet :
==========================================================================================
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!