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

Jay Balunas (JIRA) jira-events at lists.jboss.org
Thu Jan 6 14:19:20 EST 2011


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

Jay Balunas updated RF-7922:
----------------------------

    Assignee:     (was: Andrey Markhel)


> RenderPhaseDataScrollerVisitor does not work with Tomahawk AliasBean Component
> ------------------------------------------------------------------------------
>
>                 Key: RF-7922
>                 URL: https://issues.jboss.org/browse/RF-7922
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 3.3.1
>            Reporter: Mirko Sertic
>            Priority: Minor
>             Fix For: Future_3.X
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list