Hi to everyone. I'm trying do develop a jsp page using tabs ( Ditchnet 
JSP
tabs taglib). I've followed the example located at
http://209.61.157.8:8080/taglibs/ . It works, but the look and feel is not
the same as the example. In fact, the titles of the tabs appears one under
the other, instead of one beside the other, and the "frame" of the tabs
doesn't appear.

I'm using Struts 1.1, Tomcat 5.0.19. (I've also tried with Tomcat 5.5 and
does the same). I also put jstl.jar and standard.jar in WEB-INF/lib.

Here is the code of the code of the jsp page: (the jsp:include's are the
header and the menu of the page)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<%@ page contentType="text/html" %>
<%@ taglib prefix="tab" uri="http://ditchnet.org/jsp-tabs-taglib"; %>

<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">

<html>
<head>
        <tab:tabConfig />
</head>

<body>

<table width="100%" border="1">
  <tr>
    <td> <jsp:include page="flCabecera.jsp"/></td>
  </tr>
  <tr>
    <td>
                <table width="100%" border="1">
  <tr>
    <td width="17%"><jsp:include page="flMenu.jsp"/></td>
    <td width="83%">
                        <tab:tabContainer id="foo-bar-container" skin="default">
                                                <tab:tabPane id="foo" 
tabTitle="Pestana 1">
                                                        Cuerpo pestana 1
                                                </tab:tabPane>

                                                <tab:tabPane id="bar" 
tabTitle="Pestana 2">
                                                        Cuerpo pestana 2
                                                </tab:tabPane>
                        </tab:tabContainer>
        </td>
  </tr>
</table>

        </td>
  </tr>
</table>

</body>
</html>


Any ideas?, does anyone have an example os using this taglibs?

Thanks in advance.

Miquel Angel Segui


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to