You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Claudio Tasso (JIRA)" <de...@myfaces.apache.org> on 2006/03/26 17:24:27 UTC

[jira] Created: (TOMAHAWK-215) The content of the facet "detailStamp" in t:datatable is not decoded/validated/updated

The  content of the facet "detailStamp" in t:datatable is not decoded/validated/updated
---------------------------------------------------------------------------------------

         Key: TOMAHAWK-215
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-215
     Project: MyFaces Tomahawk
        Type: Bug
  Components: Extended Datatable  
    Versions: 1.1.2-SNAPSHOT    
 Environment: JDK1.5
    Reporter: Claudio Tasso
     Fix For: 1.1.2-SNAPSHOT


The  content of the facet "detailStamp" inside a t:dataTable is not correctly decoded. In fact, decoding this facet as a normal facet (which is done inside UIData.processColumnFacets)  does not accomplish the job correctly.
A detail is associated to every row, so it must be decoded, validated and updated for every single row. The method UIData.processColumnFacets is called only once and (more important) when it's called the rowIndex is -1, so the current value of  the "var" attribute can't be evaluated. 
In other words, the decoding, validating and updating of the detail must be extecuted inside the context of the current row. 
The saving/restoring logic is also missing and it must be added in the setRowIndex method.
A patch is supplied which solve the problem. 
The patch also contains an example for the "myfaces-example-simple" web project.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (TOMAHAWK-215) The content of the facet "detailStamp" in t:datatable is not decoded/validated/updated

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-215?page=all ]
     
Martin Marinschek closed TOMAHAWK-215:
--------------------------------------

    Resolution: Fixed

Thanks to Claudio Tasso for providing this patch.

regards,

Martin

> The  content of the facet "detailStamp" in t:datatable is not decoded/validated/updated
> ---------------------------------------------------------------------------------------
>
>          Key: TOMAHAWK-215
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-215
>      Project: MyFaces Tomahawk
>         Type: Bug
>   Components: Extended Datatable
>     Versions: 1.1.2-SNAPSHOT
>  Environment: JDK1.5
>     Reporter: Claudio Tasso
>     Assignee: Martin Marinschek
>      Fix For: 1.1.2-SNAPSHOT
>  Attachments: Patch_26_03_2006.zip
>
> The  content of the facet "detailStamp" inside a t:dataTable is not correctly decoded. In fact, decoding this facet as a normal facet (which is done inside UIData.processColumnFacets)  does not accomplish the job correctly.
> A detail is associated to every row, so it must be decoded, validated and updated for every single row. The method UIData.processColumnFacets is called only once and (more important) when it's called the rowIndex is -1, so the current value of  the "var" attribute can't be evaluated. 
> In other words, the decoding, validating and updating of the detail must be extecuted inside the context of the current row. 
> The saving/restoring logic is also missing and it must be added in the setRowIndex method.
> A patch is supplied which solve the problem. 
> The patch also contains an example for the "myfaces-example-simple" web project.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (TOMAHAWK-215) The content of the facet "detailStamp" in t:datatable is not decoded/validated/updated

Posted by "Claudio Tasso (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-215?page=all ]

Claudio Tasso updated TOMAHAWK-215:
-----------------------------------


> The  content of the facet "detailStamp" in t:datatable is not decoded/validated/updated
> ---------------------------------------------------------------------------------------
>
>          Key: TOMAHAWK-215
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-215
>      Project: MyFaces Tomahawk
>         Type: Bug
>   Components: Extended Datatable
>     Versions: 1.1.2-SNAPSHOT
>  Environment: JDK1.5
>     Reporter: Claudio Tasso
>      Fix For: 1.1.2-SNAPSHOT

>
> The  content of the facet "detailStamp" inside a t:dataTable is not correctly decoded. In fact, decoding this facet as a normal facet (which is done inside UIData.processColumnFacets)  does not accomplish the job correctly.
> A detail is associated to every row, so it must be decoded, validated and updated for every single row. The method UIData.processColumnFacets is called only once and (more important) when it's called the rowIndex is -1, so the current value of  the "var" attribute can't be evaluated. 
> In other words, the decoding, validating and updating of the detail must be extecuted inside the context of the current row. 
> The saving/restoring logic is also missing and it must be added in the setRowIndex method.
> A patch is supplied which solve the problem. 
> The patch also contains an example for the "myfaces-example-simple" web project.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira