[ 
https://issues.apache.org/jira/browse/TOBAGO-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15992005#comment-15992005
 ] 

Leonardo Uribe commented on TOBAGO-1736:
----------------------------------------

c:forEach has been a pain for a long time, and the changes involved to fix this 
has been included slowly in MyFaces Core 2.1/2.2 versions. 

The fundamental problem is c:forEach is a build view time tag, that alters the 
component tree structure, but the old algorithm from facelets lacks of the 
necessary logic to do it properly. It is a long story, see MYFACES-3811 for 
details.

I agree with Volker, it is not a Tobago issue.

> 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
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> 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