[ 
https://issues.apache.org/jira/browse/TOMAHAWK-959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Schols updated TOMAHAWK-959:
----------------------------------

    Status: Patch Available  (was: Open)

> HtmlDataScrollerRenderer causes "automatic id" warnings in the logs
> -------------------------------------------------------------------
>
>                 Key: TOMAHAWK-959
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-959
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Data Scroller
>    Affects Versions: 1.1.5-SNAPSHOT
>         Environment: MyFaces Core 1.1.5, Facelets 1.1.11
>            Reporter: Andrew Robinson
>
> HtmlDataScrollerRenderer creates HtmlOutputText components in the "getLink" 
> function, but never assigns an ID to these components. As a result warnings 
> in the logs appear:
> WARNING: Component form:dataTable:_id4334 just got an automatic id, because 
> there was no id assigned yet. If this component was created dynamically (i.e. 
> not by a JSP tag) you should assign it an explicit static id or assign it the 
> id you get from the createUniqueId from the current UIViewRoot component 
> right after creation!
> Problematic code starts at line 506 in my snapshot:
>         if (text != null)
>         {
>             HtmlOutputText uiText = (HtmlOutputText) application
>                             .createComponent(HtmlOutputText.COMPONENT_TYPE);
>             uiText.setTransient(true);
>             uiText.setValue(text);
>             children.add(uiText);
>         }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to