[
https://issues.apache.org/jira/browse/TOMAHAWK-959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796194#action_12796194
]
Steve Schols commented on TOMAHAWK-959:
---------------------------------------
I have this problem as well using the <t:dataScroller> component.
Is there any solution available / downloadable already?
I'm using the following dependencies (downloaded by Maven2) in a small
Proof-of-Concept / Educational project which has to administer Persons and
Addresses.
apache-myfaces myfaces-api 1.2.7 jar
apache-myfaces myfaces-impl 1.2.7 jar
org.apache.myfaces.extensions.validator myfaces-extval-core 1.2.2 jar
org.apache.myfaces.extensions.validator.validation-modules
myfaces-extval-property-validation 1.2.2 jar
org.apache.myfaces.tomahawk tomahawk12 1.1.8 jar
It does not seem to be a big deal, but it's quite annoying in the logs. I don't
really know how to trace this back to what component it is about. I'm a new at
JSF.
> 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.