how web.xml load several tile files?

2011-07-28 Thread Emi Lu

Good afternoon,

Tiles2.2.2 + struts2.2.3.

Web.xml
=
   context-param
param-name
  org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
/param-name
param-value
  /WEB-INF/tiles/t1.xml,
  /WEB-INF/tiles/t2.xml
/param-value
   /context-param

Only t1.xml is found; but t2.xml cannot be found.

Can someone tell why? If this way does not work, how to load several 
tile files?


Thanks a lot!
Emi

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



Re: how web.xml load several tile files?

2011-07-28 Thread Dave Newton
Did you try the tiles list?

Dave
 On Jul 28, 2011 4:28 PM, Emi Lu em...@encs.concordia.ca wrote:
 Good afternoon,

 Tiles2.2.2 + struts2.2.3.

 Web.xml
 =
 context-param
 param-name
 org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
 /param-name
 param-value
 /WEB-INF/tiles/t1.xml,
 /WEB-INF/tiles/t2.xml
 /param-value
 /context-param

 Only t1.xml is found; but t2.xml cannot be found.

 Can someone tell why? If this way does not work, how to load several
 tile files?

 Thanks a lot!
 Emi

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



Re: how web.xml load several tile files?

2011-07-28 Thread mmckenzie
Try removing the return after  t1.xml,

Mitch



From:   Dave Newton davelnew...@gmail.com
To: Struts Users Mailing List user@struts.apache.org, 
em...@encs.concordia.ca
Date:   07/28/2011 03:30 PM
Subject:Re: how web.xml load several tile files?



Did you try the tiles list?

Dave
 On Jul 28, 2011 4:28 PM, Emi Lu em...@encs.concordia.ca wrote:
 Good afternoon,

 Tiles2.2.2 + struts2.2.3.

 Web.xml
 =
 context-param
 param-name
 org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
 /param-name
 param-value
 /WEB-INF/tiles/t1.xml,
 /WEB-INF/tiles/t2.xml
 /param-value
 /context-param

 Only t1.xml is found; but t2.xml cannot be found.

 Can someone tell why? If this way does not work, how to load several
 tile files?

 Thanks a lot!
 Emi

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




Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu

Hi Dave,

Could you give an example?

Emi


On 07/28/2011 04:30 PM, Dave Newton wrote:

Did you try the tiles list?

Dave

On Jul 28, 2011 4:28 PM, Emi Lu em...@encs.concordia.ca
mailto:em...@encs.concordia.ca wrote:
  Good afternoon,
 
  Tiles2.2.2 + struts2.2.3.
 
  Web.xml
  =
  context-param
  param-name
  org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
  /param-name
  param-value
  /WEB-INF/tiles/t1.xml,
  /WEB-INF/tiles/t2.xml
  /param-value
  /context-param
 
  Only t1.xml is found; but t2.xml cannot be found.
 
  Can someone tell why? If this way does not work, how to load several
  tile files?
 
  Thanks a lot!
  Emi
 
  -
  To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
mailto:user-unsubscr...@struts.apache.org
  For additional commands, e-mail: user-h...@struts.apache.org
mailto:user-h...@struts.apache.org
 



--
Emi Lu, ENCS, Concordia University, Montreal H3G 1M8
em...@encs.concordia.ca+1 514 848-2424 x5884

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



Re: how web.xml load several tile files?

2011-07-28 Thread mmckenzie
context-param id=struts_tiles
 
param-nameorg.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG/param-name
 
param-value/WEB-INF/classes/t1.xml,/WEB-INF/classes/t2.xml/param-value
/context-param

Mitch



From:   Emi Lu em...@encs.concordia.ca
To: Dave Newton davelnew...@gmail.com
Cc: Struts Users Mailing List user@struts.apache.org
Date:   07/28/2011 03:38 PM
Subject:Re: how web.xml load several tile files?



Hi Dave,

Could you give an example?

Emi


On 07/28/2011 04:30 PM, Dave Newton wrote:
 Did you try the tiles list?

 Dave

 On Jul 28, 2011 4:28 PM, Emi Lu em...@encs.concordia.ca
 mailto:em...@encs.concordia.ca wrote:
   Good afternoon,
  
   Tiles2.2.2 + struts2.2.3.
  
   Web.xml
   =
   context-param
   param-name
   org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
   /param-name
   param-value
   /WEB-INF/tiles/t1.xml,
   /WEB-INF/tiles/t2.xml
   /param-value
   /context-param
  
   Only t1.xml is found; but t2.xml cannot be found.
  
   Can someone tell why? If this way does not work, how to load several
   tile files?
  
   Thanks a lot!
   Emi
  
   -
   To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 mailto:user-unsubscr...@struts.apache.org
   For additional commands, e-mail: user-h...@struts.apache.org
 mailto:user-h...@struts.apache.org
  


-- 
Emi Lu, ENCS, Concordia University, Montreal H3G 1M8
em...@encs.concordia.ca+1 514 848-2424 x5884

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




Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu

On 07/28/2011 04:36 PM, mmcken...@wernervas.com wrote:

Try removing the return after  t1.xml,


No. That does not work! Still cannot find t2.xml! How!

Emi






From:   Dave Newtondavelnew...@gmail.com
To: Struts Users Mailing Listuser@struts.apache.org,
em...@encs.concordia.ca
Date:   07/28/2011 03:30 PM
Subject:Re: how web.xml load several tile files?



Did you try the tiles list?

Dave
  On Jul 28, 2011 4:28 PM, Emi Luem...@encs.concordia.ca  wrote:

Good afternoon,

Tiles2.2.2 + struts2.2.3.

Web.xml
=
context-param
param-name
org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
/param-name
param-value
/WEB-INF/tiles/t1.xml,
/WEB-INF/tiles/t2.xml
/param-value
/context-param

Only t1.xml is found; but t2.xml cannot be found.

Can someone tell why? If this way does not work, how to load several
tile files?

Thanks a lot!
Emi

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







--
Emi Lu, ENCS, Concordia University, Montreal H3G 1M8
em...@encs.concordia.ca+1 514 848-2424 x5884

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



Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu

On 07/28/2011 04:36 PM, mmcken...@wernervas.com wrote:

Try removing the return after  t1.xml,


Ok, it works. Sorry about the previous email. Hope it fix the whole thing.

Thanks a lot! Strange, tile2.0.7 enter works.

Anyhow, it works.

Great!
Emi







From:   Dave Newtondavelnew...@gmail.com
To: Struts Users Mailing Listuser@struts.apache.org,
em...@encs.concordia.ca
Date:   07/28/2011 03:30 PM
Subject:Re: how web.xml load several tile files?



Did you try the tiles list?

Dave
  On Jul 28, 2011 4:28 PM, Emi Luem...@encs.concordia.ca  wrote:

Good afternoon,

Tiles2.2.2 + struts2.2.3.

Web.xml
=
context-param
param-name
org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
/param-name
param-value
/WEB-INF/tiles/t1.xml,
/WEB-INF/tiles/t2.xml
/param-value
/context-param

Only t1.xml is found; but t2.xml cannot be found.

Can someone tell why? If this way does not work, how to load several
tile files?

Thanks a lot!
Emi

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







--
Emi Lu, ENCS, Concordia University, Montreal H3G 1M8
em...@encs.concordia.ca+1 514 848-2424 x5884

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