JSF 1. X actions use by default POST method. Direct links/bookmarks/etc are by nature GET method.
Since there's no ResponseStateManager#isPostback() or FacesContext#isPostback() in JSF 1.1, you have to determine the request method yourself.
JSF 1. X actions use by default POST method. Direct links/bookmarks/etc are by nature GET method.
Since there's no ResponseStateManager#isPostback() or FacesContext#isPostback() in JSF 1.1, you have to determine the request method yourself: HttpServletRequest request = (HttpServletRequest) facesContext. GetExternalContext().getRequest(); boolean postback = "POST". EqualsIgnoreCase(request.getMethod()); Or check for a certain parameter in the request parameter map, but I can't tell from top of head which one you'd like to check.
You've to determine it yourself. Boolean postback = facesContext. GetExternalContext().
GetRequestParameterMap(). ContainsKey(SOME_KEY); If postback is true, then a JSF action is been invoked.
I tried request params, since its in portal app it somehow gets escaped, i'll probe this further. I'll give first option a try. Thanks for time and response :).
– user458248 Oct 7 '10 at 4:27.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.