Rene O created MYFACES-3873:
-------------------------------
Summary: Problems while using javax.faces.view.ViewScoped for
dynamic css generation
Key: MYFACES-3873
URL: https://issues.apache.org/jira/browse/MYFACES-3873
Project: MyFaces Core
Issue Type: Bug
Affects Versions: 2.2.1
Environment: tomcat-7.0.50, java7
Reporter: Rene O
Attachments: jsftest22.zip
In my testcase i use javax.faces.view.ViewScoped for a bean (net.jsftest.Theme)
which generates my theme.
You can see, that this doesn't work inside the used css file
(resources/main.css):
http://localhost:8080/jsftest22/pages/theme/themetest1.jsf
@PostConstruct is never called, so the bean is not initialized
It works inside page:
http://localhost:8080/jsftest22/pages/theme/themetest2.jsf
If you use javax.enterprise.context.SessionScoped within net.jsftest.Theme both
cases works.
The problem also occurs in current mojarra implementation
--
This message was sent by Atlassian JIRA
(v6.2#6252)