Solved

display:table Undefined attribute border

Posted on 2011-09-10
2
870 Views
Last Modified: 2013-11-24
I have a table in my struts application for listing courses, it is created using:
<display:table name="courseList" id="course" pagesize="15" requestURI="">

The table works fine but when I try to add a border: border="1" eclipse throws a warning: "undefined attribute name border".
When I run the application the table is displayed without a border.

As far as I can tell all required libraries are in the correct place.

see attached screen shot
0
Comment
Question by:kieranocallaghan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Author Comment

by:kieranocallaghan
ID: 36516465
Border warning in Eclipse
0
 

Accepted Solution

by:
kieranocallaghan earned 0 total points
ID: 36516657
OK I have it working now, apparently after version 1.0 display:table no longer supports some html presentation attributes, including border.

I am using css now to add a border to all tables. See links below for more info.

http://displaytag.sourceforge.net/1.2/tut_style.html
http://www.w3schools.com/css/css_table.asp

0

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question