myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <>
Subject [jira] [Resolved] (EXTCDI-176) JSF Page with a WindowScoped Bean cannot be accessed directly
Date Mon, 16 May 2011 10:52:47 GMT


Gerhard Petracek resolved EXTCDI-176.

    Resolution: Won't Fix
      Assignee:     (was: Gerhard Petracek)

please add a comment if the patch would work. in any case the issue has to be fixed in jboss

> JSF Page with a WindowScoped Bean cannot be accessed directly
> -------------------------------------------------------------
>                 Key: EXTCDI-176
>                 URL:
>             Project: MyFaces CODI
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.9.4
>         Environment: Tested on Ubuntu Linux and Mac OSX, JBoss 6 Final, JEE6
>            Reporter: Daniel Sachse
>            Priority: Minor
>         Attachments: EXTCDI-176.patch
> I have a Facelets-page with a WIndow-Scoped Bean and I just want to access a list.
> The List gets loaded via :
> <f:metadata>
>  <f:event type="javax.faces.event.PreRenderViewEvent" listener="#{listBean.preRenderView}"
> </f:metadata>
> This just reloads the List every time the page gets rendered. The problem with using
this approach is, if I access the page directly, I get the following error:
> "WELD-001303 No active contexts for scope type org.apache.myfaces.extensions.cdi.core.api.scope.conversation.WindowScoped".
> If I do navigate to the page i.e using a commandLink, everything works fine.
> If you do need more information, please just ask.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message