You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2008/08/28 23:13:44 UTC

[jira] Commented: (TOMAHAWK-542) forceId does not work on dataTable

    [ https://issues.apache.org/jira/browse/TOMAHAWK-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626744#action_12626744 ] 

Leonardo Uribe commented on TOMAHAWK-542:
-----------------------------------------


After looking the files, the solution proposed is call HtmlComponentUtils.getClientId(this, getRenderer(context), context); on getClientId method of HtmlDataTableHack. Since this method it is called from AbstractHtmlDataList getClientId, this should be removed from it.

But the method getClientId from AbstractHtmlDataList is bad. 

If you have this code:


> forceId does not work on dataTable
> ----------------------------------
>
>                 Key: TOMAHAWK-542
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-542
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Extended Datatable
>    Affects Versions: 1.1.3
>         Environment: tomcat 5.5, java 1.5
>            Reporter: Torsten Krah
>            Priority: Minor
>         Attachments: HtmlDataList.java, HtmlDataTableHack.java
>
>
> Using forceId="true" with a extended dataTable still gives me the
> generated one - the id gets not forced in the generated output.
> t:panelGroup e.g. with forceId works.
> According to the docs ( http://myfaces.apache.org/tomahawk/forceId.html ) it should work with all t: components.
> kind regards
> Torsten

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