• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem in dependency injection with javax.faces.STATE_SAVING_METHOD

 
melad ezzat
Greenhorn
Posts: 22
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i use dependency injection and javax.faces.STATE_SAVING_METHOD to client side

<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>

all dependency injection return null

thank you
 
Tim Holloway
Bartender
Posts: 18408
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whether you use client-side or server-side state saving should not affect dependency injection. If switching the state saving is causing you problems then you need to find out what's wrong with state saving itself. It's most likely that the client isn't receiving and resending the state properly. This might mean that the client's cookie handling isn't enabled.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!