]
Nick Belaevski updated RF-7922:
-------------------------------
Fix Version/s: 3.3.2.GA
Assignee: Andrey Markhel
Priority: Minor (was: Major)
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: 3.3.2.GA
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: