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
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues