Greg Reddin <[EMAIL PROTECTED]> wrote: 
On Aug 30, 2006, at 8:40 AM, Mehdi Bahribayli wrote:

> II. I think you have misunderstood what I wanted to say. I think  
> there is no need for /subviews/welcome.jspf because it is used just  
> once and there is no need to put the contenet in a separate file. I  
> think both /subviews/welcome.jspf and /views/welcome.jsp are one  
> and same thing and should be integrated into one file. (5 elements  
> instead of 6 elements)

Can you post the contents of these 2 files?  It's hard to know  
exactly what you are talking about without seeing that.

One thing that has often bothered me about Tiles in a standalone web  
application is the need for a JSP page that "calls" a tiles  
definition.  If I understand your original question it sounds like  
this is what is bothering you too.  Consider the following from the  
Tiles 2.0 test application:

tiles-defs.xml
   
   

   

   

   

   

   


In this case you have a tile called "doc.mainLayout".  In most cases  
you want to have a URL that pulls in the doc.mainLayout and replaces  
the "body" component with something else.  Right now you have to  
create an intermediate JSP page:

intermediate.jsp


   


Right now, I don't think there's a way around that problem, but it's  
perhaps a missing feature in Tiles that we will eventually correct.   
More discussion on that in a separate thread.

Greg



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Yes, you get what I am talking about. So it is a missing feature of Tiles. Let 
us talk about it in the new thread that you opened.

Mehdi

                
---------------------------------
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.

Reply via email to