You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ron1 <ro...@gmx.net> on 2004/07/21 12:04:18 UTC

apache@apache.org

Hi,
The Torque users mailing list seems not to function anymore...
Greetings,
Ron


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Problem with Ditchnet JSP tabs taglib

Posted by Miquel Angel <ma...@sidiem.com>.
	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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


logic:iterator with a arbitrary depth of nested list

Posted by Adam Lipscombe <ad...@expensys.com>.
Folks,


Is it possible to use a logic:iterate tag with an arbitrary depth of nested
lists.
i.e. A List containing Lists, each of which contains a List (etc)

The depth of the tree will vary at runtime.

I am trying to model the "levels" of an enterprise from top down and want to
construct a JavaScript tree view of the enterprise.


I can do this straightforwardly in Java/JSP, but recursion is required for
processing the child lists.



TIA - Adam




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org