0

Is there any kind of API for validating if the javax.faces.ViewState value posted from client is a valid value or not? It can be standard JSF2 or Richfaces4 API.

mert inan
  • 1,537
  • 2
  • 15
  • 26
  • What exactly is the problem you're trying to solve? If it's invalid, JSF will throw `ViewExpiredException` during restore view. It would make completely sense to just catch it. – BalusC Dec 06 '12 at 13:25
  • Unfort my jsf-api is buggy, does not throw ViewExpiredException. see http://stackoverflow.com/questions/4792437/java-lang-illegalargumentexception-null-source. I can not upgrade my jsf-api. – mert inan Dec 06 '12 at 16:47
  • 1
    I'd work on the problem of "I can not upgrade". – BalusC Dec 06 '12 at 16:49

0 Answers0