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 8649719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:37:48+00:00 2026-06-12T13:37:48+00:00

I have a JSR-168 portlet application in which some portlets use a JSF dataTable.

  • 0

I have a JSR-168 portlet application in which some portlets use a JSF dataTable.

All data tables have an attribute like:

columnClasses="wpsTableDataStart,,,,wpsTableDataEnd"

with the number of classes matching the number of columns in the table.

The app was originally installed on WebSphere Portal 6.0.
On that server version, HTML generated for data tables always has “wpsTableDataStart” as the class on the first column, “wpsTableDataEnd” as the class on the last column, and no class on other columns. This is what I’d expect from reading about dataTable attributes.

I’ve recently installed the same application on WebSphere Portal 7.0.
I had to upgrade project facets in Rational Application Developer and change some class references in the “faces-config.xml” file to make the app work, and it’s now producing different HTML for dataTable column classes.
Instead of only having classes on the first and last column of the table, the two non-blank classes are being alternated.
I.e. the first column has the “wpsTableDataStart” class, the second column has the “wpsTableDataEnd” class, and other columns alternate those classes.

How do I make the columnClasses attribute behave as it did on Portal 6.0?

  • 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-06-12T13:37:49+00:00Added an answer on June 12, 2026 at 1:37 pm

    Solved by changing blank classes to spaces. E.g. the following produces the desired result on WebSphere Portal 7.0:

    columnClasses="wpsTableDataStart, , , ,wpsTableDataEnd"

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a JSR-168 portlet application running on WebSphere Portal 6.0. In the application's
I have a Websphere Portal application containing several portlets for which I'm currently working
I have made an JSR 168 portlet as follows: public class GetTest extends GenericPortlet
Hibernate's validator is my JSR-303 provider in my Spring MVC application. When I use
I have a simple JSR 286 Portlet that displays a user manual (pure HTML
We have a situation where we use JSR-330 based injections to configure our stand-alone
I'm writing a JSR 286 portlet for IBM WebSphere Portal 6.1. I have the
I have a data transfer object that's annotated with JSR-303 constraints like... public class
have written this little class, which generates a UUID every time an object of
Have a procedure which looks like Procedure TestProc(TVar1, TVar2 : variant); Begin TVar1 :=

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.