[richfaces-issues] [JBoss JIRA] Updated: (RF-7922) RenderPhaseDataScrollerVisitor does not work with Tomahawk AliasBean Component

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Mon Sep 28 11:39:02 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-7922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Shaikovsky updated RF-7922:
--------------------------------

    Fix Version/s: Future
                       (was: 3.3.2.GA)


> RenderPhaseDataScrollerVisitor does not work with Tomahawk AliasBean Component
> ------------------------------------------------------------------------------
>
>                 Key: RF-7922
>                 URL: https://jira.jboss.org/jira/browse/RF-7922
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-tables
>    Affects Versions: 3.3.1
>            Reporter: Mirko Sertic
>            Assignee: Andrey Markhel
>            Priority: Minor
>             Fix For: Future
>
>
> The default RenderPhaseDataScrollerVisitor does not work with the Tomahawk AliasBean Component. 
> Basically, it is invoked by a PhaseListener. It recomputes the model size of the bound UIData and does some other stuff. And here starts the problem. When i use a t:aliasBean to define the datamodel for the UIData, it does not work, as the aliasBean component sets and unsets the alias during its lifecycle processing. 
> Now, the RenderPhaseDataScrollerVisitor is invoked before the aliasBean can do its job. An empty DataModel is created and put to the modelmap. Later, aliasBean does it work, and the UIData tries to render. Instead of asking again for the datamodel, it uses the empty model from the modelmap, and thus the table is empty.
> I know that it is somehow difficult to support every component, but at least it should be supported to disable the RenderPhaseDataScrollerVisitor in some way, or provide my own implementation for it

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

        


More information about the richfaces-issues mailing list