myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kaushal jadon (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TRINIDAD-2462) <tr:iterator> is not adding row count for <tr:message> with new trinidad jars.
Date Fri, 21 Mar 2014 16:35:42 GMT
kaushal jadon created TRINIDAD-2462:
---------------------------------------

             Summary: <tr:iterator> is not adding row count for <tr:message> with
new trinidad jars.
                 Key: TRINIDAD-2462
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2462
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions:  1.2.13-plugins 
         Environment: Winsow 7, 64 Bit, IE9 with Chordiant 6.8 Frame work
            Reporter: kaushal jadon


Facing issue on screen where we are using <tr:message> element within the <tr:iterator>
element. Here as per the new trinida jars we are seeing message id is generated as "<containerid>:<rowcount>:<messageid>",
but in new trinidad jars message id is generated as 
"<containerid>:<messageid>" . 

Below the actual generated ID with latest trinidad jars. 
id=”closingCostsFeeIterator:paidOutSideClosingMsg” 
But 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 : 
=========================================================
<tr:iterator id="closingCostsFeeIterator" value="xxxx" var="closingCostsFeeList" rows="0">
 
<tr:message messageType="error" id="paidOutSideClosingMsg" styleClass="errorMessage"  

inlineStyle="display:none" message="yyyyy">  
</tr:message>  
</tr:iterator>  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message