Home

Due to a server crash, nearly all the images got lost :(

JSF1095 with Glassfish 3.1

After I’ve learned about the new Flash scope before a while, I was often f***** by “JSF1095: The response was already committed by the time we tried to set the outgoing cookie for the flash.  Any values stored to the flash will not be available on the next request.“. After reading all (I think around …

Read more

Validate different validation groups depending on clicked button

One of the new features intruduced with JSF 2 is JSR-303 aka. Bean Validation. With bean validation the input’s are validated against built-in or user defined annotations, placed on the fields, methods or classes. I’m often in the situation, where I have to validate different values in the same form, depending on what action should …

Read more