[jira] [Resolved] (EXTCDI-176) JSF Page with a WindowScoped Bean cannot be accessed directly

2011-05-16 Thread Gerhard Petracek (JIRA)

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

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 as/weld/mojarra

 JSF Page with a WindowScoped Bean cannot be accessed directly
 -

 Key: EXTCDI-176
 URL: https://issues.apache.org/jira/browse/EXTCDI-176
 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: http://www.atlassian.com/software/jira


[jira] [Resolved] (EXTCDI-176) JSF Page with a WindowScoped Bean cannot be accessed directly

2011-05-13 Thread Gerhard Petracek (JIRA)

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

Gerhard Petracek resolved EXTCDI-176.
-

Resolution: Won't Fix

that isn't a codi bug. the context is active as soon as there is a session. it 
looks like mojarra accesses the bean before the session is active. it works 
with myfaces-core2 (+ owb)

 JSF Page with a WindowScoped Bean cannot be accessed directly
 -

 Key: EXTCDI-176
 URL: https://issues.apache.org/jira/browse/EXTCDI-176
 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

 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: http://www.atlassian.com/software/jira