Re: Regex-based exception encountered with dynaview in PrettyFaces 3/4

Splash Forums PrettyFaces Users Regex-based exception encountered with dynaview in PrettyFaces 3/4 Re: Regex-based exception encountered with dynaview in PrettyFaces 3/4

#21442

Hey Matt,

that’s indeed a very strange issue. I also don’t understand why the code is using matches() at this place. equals() would make more sense in my opinion. I don’t see any reason why the viewId should be a regular expression at this point.

I think you can change this method call. This should be safe. However I would really like to hear Lincoln’s opinion on this. But he is currently at JavaOne, so it may take some time till be get his thoughts of this.

Christian