Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

display:table Undefined attribute border

Posted on 2011-09-10
2
Medium Priority
?
905 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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.
Suggested Courses

618 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