Thanks Devin It's a solution, but if I put in the inherited definition an attribute with a the null value (<put name="menu" value="null" />) it must work, isn't it? I think this is a bug of the distribution that it'll be repaired in next build.
Best regards ------------------------------------------------------------- Miguel �ngel Medina L�pez Logic Factory: www.logic-factory.com Granada - Espa�a ----- Original Message ----- From: "Richards, Devin N (Devin)" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, September 24, 2002 8:54 PM Subject: RE: Tiles extend > we just created a JSP that contained only a and passed that in place of the null. > > -Devin > > > -----Original Message----- > From: Miguel Angel Medina Lopez [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 2:44 PM > To: Struts Users Mailing List > Subject: Re: Tiles extend > > > Thank you Padma > > I have resolved the problem. I'm using EasyStruts for JBuilder and the > source code for the tiles-defs.xml when I extend a definitions put the > attribute path="", then the class you say detect that the path isn't null. I > have edited the file and erase this attribute, and it's work. Sorry. > > Now, I have a new error extending tiles definitions. I want to override an > attribute with the value null, so isn't appear in the definitive page. The > code: > <definition name="privado.default" > path="/WEB-INF/paginas/plantillas/plantillaPrivada.jsp"> > <put name="menu" value="/WEB-INF/paginas/comunes/menuPrivado.jsp" > /> > <put name="cabecera" > value="/WEB-INF/paginas/comunes/cabeceraPrivado.jsp" /> > </definition> > <definition name="privado.error" extends="privado.default"> > <put name="menu" value="null" /> > </definition> > > With this the application use the value of the parent.If the value of the > attribute is a real JSP, not the null value, it's works fine. > > Can you help me. Thank you > > ------------------------------------------------------------- > Miguel �ngel Medina L�pez > Logic Factory: www.logic-factory.com > Granada - Espa�a > > > > > ----- Original Message ----- > From: "Padma Ginnaram" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > Sent: Tuesday, September 24, 2002 6:46 PM > Subject: RE: Tiles extend > > > I had a simillar problem using tiles(version prior to 1.1) and enclosed is > an email discussing the issue. See if this fix works for you. > > - Padma > > -----Original Message----- > From: Miguel Angel Medina Lopez [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 12:30 PM > To: Struts Users Mailing List > Subject: Tiles extend > > > Hi all: > > I'm developing my first aplication with struts and tiles. I define the tiles > in a XML file and I wanted to extend a definition. In the documentation said > when I extend a definition only must fill the attributes "name" and > "extends", but not "path" because it's extended. However when I did that an > error occur (Cannot get request dispatcher for path). If I put the same path > in both definitions it works fine. Is it a bug or always a must fill the > path attribute. > > I'm using Struts 1.1 beta2. > > Thank you > > ------------------------------------------------------------- > Miguel �ngel Medina L�pez > Logic Factory: www.logic-factory.com > Granada - Espa�a > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > -------------------------------------------------------------------------- -- > ---- > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

