I am in the middle of rewriting a site that was originally written in Weblogic Beehive to JSF 2.0, and I'm running into an issue where I need to get the messages that the new site produces into a format that EXACTLY matches the output of the existing site.
I have tried using the tag which is nice, but the style and logic of the existing messages framework does not fit nicely into this output.
Are there options in JSF that would allow me to create a custom tag that will not only output the messages, but perform conditional logic on them as well?
For example, I have been creating FacesMessages with a summary and detail String, but the format of the old site only displays the highest summary. For example I add 4 messages, each has the same summary message, and different details. I only want to display the summary with the highest severity.
Also, I need the messages displayed and styled as a box, not each message and some of the details need to have conditional CSS classes.