David Crhonek created TOBAGO-1736:
-------------------------------------

             Summary: Incorrectly rendered component ID
                 Key: TOBAGO-1736
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1736
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Facelets
    Affects Versions: 2.0.10
         Environment: Unix
            Reporter: David Crhonek
         Attachments: uploadBox.xhtml

When dynamically creating UI component ID, the rendered ID is often incorrect. 
This appears to be random, but happens very often, multiple times on a page. 
When the same value is put in ID and in tip (title), the rendered title is 
ALWAYS correct, however the rendered ID value is often INCORRECT.
In the attached example, #{titleVar} is put to ID as well as to tip. This is an 
example of an incorrect output:

<button type="button" name="page:details_upload:CASV3_C_B_TODAY" 
id="page:details_upload:CASV3_C_B_TODAY" title="NTC_A_B_TODAY" 
data-tobago-commands="{&quot;click&quot;:{&quot;partially&quot;:&quot;page:details_upload:popup-Upload-TODAY-1&quot;,&quot;popup&quot;:{&quot;command&quot;:&quot;open&quot;}}}"
 href="#" 
data-tobago-style="{&quot;width&quot;:&quot;59px&quot;,&quot;height&quot;:&quot;14px&quot;,&quot;top&quot;:&quot;52px&quot;,&quot;left&quot;:&quot;677px&quot;,&quot;position&quot;:&quot;absolute&quot;}"
 class="tobago-button" style="width: 59px; height: 14px; top: 52px; left: 
677px; position: absolute;"><span>Upload</span></button>

ID and Title should be the same, but they are not. The expected value is 
NTC_A_B_TODAY




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to