Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6923051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:29:09+00:00 2026-05-27T10:29:09+00:00

I have a problem with page rendering after migration from WAS 6.0 + JSF

  • 0

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:

<h:messages rendered="#{!webData.facesMessagesEmpty}" styleClass="messages"
showSummary="true" showDetail="false" title="Messages" layout="table" id="eMessages"
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 (because layout=”list” creates indent, and I don’t how to aviod this). 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…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:29:10+00:00Added an answer on May 27, 2026 at 10:29 am

    In a nutshell, JSF 1.1 will put the infoClass and consorts on a <span> inside the <td>, but JSF 1.2 will put it on the <tr>.

    It look like that you’re using very specific CSS properties which are not supported on the <tr> element. In that case, you’ve basically 2 options:

    1. Change the CSS declaration to apply it on <td> instead.

      .info_with_icon_messages td {
          /* ... */
      }
      
    2. Change the <h:messages> layout to be a list and add the following CSS properties on the class of the generated <ul>, in your case .messages, to remove the bullets and indent:

      .messages {
          list-style-type: none;
          margin: 0; 
          /* ... */
      }
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with rendering my html page by the same browsers in
Trying to use JSTL but have the following problem: Index.xhtml page: <?xml version=1.0 encoding=UTF-8?>
I have a problem with a page where I am trying to get colorbox
I have a problem on my site's login page in IE7 browser. One of
I have a problem logging onto a page and then using it with cURL.
I have a problem where I cannot identify visitors to my intranet page because
I have a problem: I've add a Jquery UI drag-n-drop widget to my page,
everybody; I have this problem in asp.net, I have a page where I insert
I have an interesting problem when using partial page update in asp.net with scriptmanager
I have found a problem with use JQuery timeout, i have a page with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.