No replies
1 Post

Pinned topic Problem in different page rendering between JSF 1.1 and 1.2

‏2011-12-06T12:44:31Z |
Hi everyone. I have a problem with page rendering after migration from WAS 6.0 + JSF 1.1 to WAS 7.0 + JSF 1.2. The main problem is in the following code:

<hh:messages rendered="#{!webData.facesMessagesEmpty}" styleClass="messages" showSummary="true" showDetail="false" title="Messages" layout="table" id="eidmMessages" infoClass="info_with_icon" warnClass="warn_with_icon" errorClass="error_with_icon" fatalClass="fatal_with_icon" />

This code works correctly under WAS 6.0 + JSF 1.1 but doesn’t use styles under WAS 7.0 + JSF 1.2. I have made a little investigation and found that this problem is only for layout="table". If I use layout="list" then styles are ok. Unfortunately I need table here… Also I have found that generated HTML code in case of layout="table" is very different for JSF 1.1 and JSF 1.2.

So my question - is it possible to force old-style (JSF 1.1) HTML generation for WAS 7.0 + JSF 1.2? I tried to google it but can’t find answer…