Re: Evaluating query param in POST

Splash Forums PrettyFaces Users Evaluating query param in POST Re: Evaluating query param in POST



Hi Lincoln, I had a quick look at the mechanism behind the “injection” of parameter values used by the QueryParam. The injectQueryParams method only look for parameters within the query string. I believe this was the problem.

After modifying this method by adding an extra (second) level of parameter search from within the request object (used to store http post param) it allowed us to correctly evaluates the Prettyfaces post parameters.

I did not require to use the onPostback attribute at all, but this involved a PrettyFaces code change.

Could you tell me whether you are interested in this change? It is not a major change but quite a simple one in fact.

@Christian, you were in the right track !

Have a good day.