[richfaces-issues] [JBoss JIRA] (RF-13505) Refactor custom tree traversal logic in EPVCI in order to leverage VisitContextFactor (blocked my Mojarra issue)
Lukáš Fryč (JIRA)
issues at jboss.org
Tue Jan 21 12:32:29 EST 2014
[ https://issues.jboss.org/browse/RF-13505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12937641#comment-12937641 ]
Lukáš Fryč edited comment on RF-13505 at 1/21/14 12:31 PM:
-----------------------------------------------------------
One of the workarounds when Mojarra gets not fixed on timely manner:
We are still able to wrap {{VisitContext}} by considering these facts:
* {{PartialViewContext}} must call {{UIViewRoot#visitTree(...)}} with parameters {{PartialVisitContext}} and {{PhaseAwareVisitCallback}}
* we can wrap {{FacesContext#getViewRoot()}} (we have control over {{FacesContextFactory}}
* wrapped {{UIViewRoot}} will have rewritten {{#visitTree}}
** we will use there {{VisitContextWrapper}} to make sure {{PartialViewContext}} is extended by RichFaces
** our wrapper will wrap methods like {{#invokeVisitCallback(...)}}/{{#getHints()}}/{{#getIdsToVisit()}} to do the meta-component rendering
was (Author: lfryc):
One of the workarounds when Mojarra gets not fixed on timely manner:
We are still able to wrap {{VisitContext}} by considering these facts:
* {{PartialViewContext}} must call {{UIViewRoot#visitTree(...)}} with parameters {{PartialVisitContext}} and {{PhaseAwareVisitCallback}}
* we can wrap {{FacesContext#getViewRoot()}} (we have control over {{FacesContextFactory}}
* wrapped {{UIViewRoot}} will have rewritten {{#visitTree}}
** we will use there {{VisitContextWrapper}} to make sure {{PartialViewContext}} is extended by RichFaces
** our wrapper will rewrite methods like {{#invokeVisitCallback}} to do the meta-component rendering
> Refactor custom tree traversal logic in EPVCI in order to leverage VisitContextFactor (blocked my Mojarra issue)
> ----------------------------------------------------------------------------------------------------------------
>
> Key: RF-13505
> URL: https://issues.jboss.org/browse/RF-13505
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Reporter: Lukáš Fryč
>
> Mojarra issue: https://java.net/jira/browse/JAVASERVERFACES-3151
> We will still need to use some:
> * resolve values in runtime
> * add IDs for execution of AjaxOutput's
> * collect list of meta-components to render
> * wrap PartialResponseWriter#endDocument() for RichFaces extensions and JavascriptService
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list