You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "David Crhonek (JIRA)" <de...@myfaces.apache.org> on 2017/04/28 08:35:04 UTC
[jira] [Created] (TOBAGO-1736) Incorrectly rendered component ID
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="{"click":{"partially":"page:details_upload:popup-Upload-TODAY-1","popup":{"command":"open"}}}" href="#" data-tobago-style="{"width":"59px","height":"14px","top":"52px","left":"677px","position":"absolute"}" 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)