Thanks & Regards, Imphaa Wipro Technologies. Off Tel # 8520408 Extn # 2024
"Happiness lies in the way we take things!" Change <display:column title = "n." name="numVolume"/> to <display:column title = "n." property="numVolume"/> -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rinaldi Maya Neto Sent: Friday, January 16, 2004 7:44 PM To: '[EMAIL PROTECTED]' Subject: RES: [displaytag-user] More problems with Nested Tables Thanks... but unfornately it's not working The same TLD message. I returned do 1.0-b2 and displaytag-11.tld Here is a simplified snippet: <display:table name="lstDossies" id="protocolo" sort="list" scope="session" align="center" pagesize="8"> <display:column title=""> <display:table name="pageScope.protocolo.volumesCarga" id="volume" > <display:column title = "n." name="numVolume"/> </display:table> </display:column> </display:table> lstDossies is a collection in the session and volumesCarga is a collection also. I think it's iddentical to your example! Why i can't get this to work? Tks in advance Rinaldi -----Mensagem original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 16 de janeiro de 2004 11:52 Para: [EMAIL PROTECTED] Assunto: RE: [displaytag-user] More problems with Nested Tables Hi, I'm not sure what you are trying to achieve, but for nested table, I've used the below. <display:table width="100%" name="test" scope="session" id="parent" pagesize="2"> <display:column property="title" align="right"/> <display:column title="Related address" align="right"> <display:table width="100%" name="pageScope.parent.col" id="child" > <display:column width="100%" property="name" title="" align="right"/> </display:table> </display:column> <display:setProperty name="paging.banner.placement" value="top" /> <display:setProperty name="paging.banner.last" value=""/> </display:table> Where in session, I have "test" a Collection which has a String "title" and a collection "col". "col" contains "name". I'm using <%@ taglib uri="/WEB-INF/displaytag-11.tld" prefix="display" %> <%@ page import="java.util.*, org.displaytag.tags.TableTag"%> The code above is working fine. Thanks & Regards, Imphaa Wipro Technologies. Off Tel # 8520408 Extn # 2024 "Happiness lies in the way we take things!" -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rinaldi Maya Neto Sent: Friday, January 16, 2004 7:13 PM To: '[EMAIL PROTECTED]' Subject: [displaytag-user] More problems with Nested Tables Hi all, I'm using displaytag 1.0-b2 and get the nested tables feature to work out. Here is my sample code: <display:table name="sessionScope.lstDossies" id="protocolo" sort="list" align="center" pagesize="8" requestURI="areaTrabalhoPrepararVisualizacao.do?atualizar=nao"> <display:column title="<img src='../biblioteca/imagens/paginas/selecionarOpcao.gif' border='0' alt='Selecionar Dossi�s'>"> <input type='checkbox' name='ideDossie' value='<bean:write name="protocolo" property="ideProtocolo"/>' onClick="marcar(this);" style="text-align:center" headerClass="tableRowHeader"> </display:column> <display:column title="Vols"> <display:table name="<%="sessionScope.lstDossies.item[" + (parent_rowNum.intValue() -1)+ "].volumesCarga"%>" id="volume" sort="list" align="center"> <display:column title = "n." name="numVolume"/> </display:table> </display:column> <display:column property="numeroAnoProtocolo" title="N� Protocolo" sortable="true" align="center" headerClass="tableRowHeader" class="miniTableCell" /> <display:column property="linkTipoProtocolo" title="T�tulo" sortable="true" headerClass="tableRowHeader" class="miniTableCell" /> <display:column property="datCriacao" sortable="true" decorator="br.gov.camara.cenin.coens.sipro.decorator.DecoradorDataHora" title="Data Cria��o" headerClass="tableRowHeader" align="center" class="miniTableCell" /> </display:table> The problem is it keeps returning ServletException in:/WEB-INF/paginas/SIPRO/areaTrabalho.jsp] /WEB-INF/paginas/SIPRO/areaTrabalho.jsp(129,8) Attribute name invalid according to the specified TLD' as the TLD is invalid. This line is exactly the one where i put the nested <display:table> I used the last TLD, displaytag-12.tld... did't work, used displaytag-11.tld, no good I downgraded do displaytag-1.0 b1 and used displaytag.tld that comes with this distribution, didn't work too. Help please!! Thanks in advance __________________________________ Rinaldi Maya Neto, MSc Analista Legislativo - Inform�tica SEDOC/COENS Centro de Inform�tica C�mara dos Deputados Tel:318-7760 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user

