Plug in conflict
Plug in conflict
Hi,
I am having some trouble incorporating the DataTable feature with another taglib (ditchnet.org tabs).
On a jsp page where I do not incorporate any of the ditchnet.org library, the dataTable shows up fine.
If I do use the other library with dataTables in the same Jsp page, the table just looks like a plain table with no functional components visible.
Could you please help me find where this conflict arises? I believe that the culprit is the "", because if I remove it, then dataTables work.
[code]
<%@ page import="java.util.*"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.io.*"%>
<%@ page import="java.net.*"%>
<%@ page import="ostclasses.*"%>
<!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 uri="http://ditchnet.org/jsp-tabs-taglib" prefix="tab"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
$(document).ready(function () {
$("#table_id").dataTable({
"bPaginate": false,
"aaSorting": []
});
});
First Name
Middle Name
Last Name
Alex
S
Smith
Ben
A
Chung
John
V
Doe
[/code]
I am having some trouble incorporating the DataTable feature with another taglib (ditchnet.org tabs).
On a jsp page where I do not incorporate any of the ditchnet.org library, the dataTable shows up fine.
If I do use the other library with dataTables in the same Jsp page, the table just looks like a plain table with no functional components visible.
Could you please help me find where this conflict arises? I believe that the culprit is the "", because if I remove it, then dataTables work.
[code]
<%@ page import="java.util.*"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.io.*"%>
<%@ page import="java.net.*"%>
<%@ page import="ostclasses.*"%>
<!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 uri="http://ditchnet.org/jsp-tabs-taglib" prefix="tab"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
$(document).ready(function () {
$("#table_id").dataTable({
"bPaginate": false,
"aaSorting": []
});
});
First Name
Middle Name
Last Name
Alex
S
Smith
Ben
A
Chung
John
V
Doe
[/code]
This discussion has been closed.