Yes, please keep only an int. BTW, thanks for the fix. I also
change it to an int. (i am on an airport with not a very good connection ) fixed it before you, but the wrong way, so I'm reverting my own
commit now. Except the extra unit tests, I keep them, they are always good to detect that kind of things and fail early.
more unit test are always good ! :) However I admit I don't really understand the REDIRECT_TO_BUFFER
thing. Can you explain what is the purpose of this?
see eelco's reply and: Also what it is mostly helpfull for is that the request/listener invoke and the response/render phase are done in the same request. This is very helpfull for hibernate objects and sessions etc Because if we would really do a redirect after post. Then we do a detach of the page after the listener invoke then everything gets detached and then the page comes back and must be attached again. Most programmeurs don't think this way. The request and response are the same thread/event they expect it more or less to be in one pass. johan
