[ 
https://issues.apache.org/jira/browse/TRINIDAD-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Weßendorf resolved TRINIDAD-1854.
------------------------------------------

    Resolution: Duplicate

This is a duplicate of TRINIDAD-1867

> Dialog Framework Is Broken in Trunk (JSF2.0)
> --------------------------------------------
>
>                 Key: TRINIDAD-1854
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1854
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha
>         Environment: All platforms
>            Reporter: Mamallan Uthaman
>
> The dialog framework of Trinidad seems to be broken during JSF2.0 upgrade. 
> You can reproduce this problem with a basic use-case:
> a) Create a main page and a dialog page
> b) Set the navigation to the dialog page say for an outcome "dialog:action"
> c) Drop a commandButton in the main page with the action as "dialog:action"
> d) Drop a commandButton in the dialog page with an actionListener that 
> executes code below to return to the main page:
> RequestContext.getCurrentInstance().returnFromDialog(null, null);
> Clicking the commandButton in the main page takes you to the dialog page, but 
> clicking  the commandButton in the dialog page creates exception:
> java.lang.UnsupportedOperationException
>       at 
> javax.faces.context.FacesContext.getPartialViewContext(FacesContext.java:165)
>       at 
> org.apache.myfaces.trinidadinternal.context.RequestContextImpl.isPartialRequest(RequestContextImpl.java:221)
>       at 
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._handleDialogReturn(TrinidadFilterImpl.java:345)
>       at 
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:251)
>       at 
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
>       at 
> org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
>       at 
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>       at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:97)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at 
> oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
>       at 
> oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
>       at 
> oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:81)
>       at 
> oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:141)
>       at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
>       at 
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>       at 
> oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
>       at 
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>       at 
> weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
>       at 
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>       at 
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3735)
>       at 
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3701)
>       at 
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>       at 
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
>       at 
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2281)
>       at 
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2187)
>       at 
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
>       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
>       at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to