Re: Tiles in 1.3.9

2008-04-04 Thread Antonio Petrelli
2008/4/4, Mihai Scripca <[EMAIL PROTECTED]>: > > dont you think it would be better practice naming tiles like this: > tile.def (*.def are like .jsp but virtual pages) > > and only class tiles should be named with dot first like this .class-name? Well, there is no guideline/best practice defined

Re: Tiles in 1.3.9

2008-04-04 Thread Mihai Scripca
dont you think it would be better practice naming tiles like this: tile.def (*.def are like .jsp but virtual pages) and only class tiles should be named with dot first like this .class-name? i point the issue by myself. the main issue is i have not given the in struts-config.xml. after i giv

Re: Tiles in 1.3.9

2008-04-04 Thread balaji.m.cs
i point the issue by myself. the main issue is i have not given the in struts-config.xml. after i give its working... thanks for giving me the best pratices on tiles... if u still find any issues in my code pls say so that i can have a correction Lukasz Lenart wrote: > > Hi, > >> >>

Re: Tiles in 1.3.9

2008-04-04 Thread Antonio Petrelli
2008/4/4, Lukasz Lenart <[EMAIL PROTECTED]>: > > Hi, > > > > > > > > forward=".tiles-defs"/> > > > > > > tiles-defs.xml > > Good catch Lukasz! Now I remember that: *Struts-Tiles does not support forward actions, only forwards inside normal actions* Antonio

Re: Tiles in 1.3.9

2008-04-04 Thread Lukasz Lenart
Hi, > > > > > tiles-defs.xml There is good practice to start Tiles definitions with dot -> .tiles-defs I don't see ant forwards in your struts-config.xml, could you past them here? Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart

Re: Tiles in 1.3.9

2008-04-03 Thread Antonio Petrelli
2008/4/4, balaji.m.cs <[EMAIL PROTECTED]>: > > java.lang.IllegalArgumentException: path must begin with a "/" What's the path that you are calling? Antonio