Re: Merging Tiles body into tile definition

2002-11-20 Thread Cedric Dumoulin


Brian Topping wrote:


Hue, Dirk,

Thanks for your input.  I tried with 
and found that to work just great.

Maybe I shouldn't care, but Dirk, do you know a subtle advantage to using
type="string" instead of direct="true"?


 Both are the same.
 type="string" is the original tiles syntax, while direct="true" is the 
syntax to be compatible with the template library.

  Cedric


I'm quite happy, I'm just getting started on this app, but I can go back
through on the limited number of files that I have and merge the body file
for each presentation item, keeping the source tree more manageable for the
future.

have a great day,

-b

 

-Ori


 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Merging Tiles body into tile definition

2002-11-08 Thread Brian Topping
Hue, Dirk,

Thanks for your input.  I tried with 
and found that to work just great.

Maybe I shouldn't care, but Dirk, do you know a subtle advantage to using
type="string" instead of direct="true"?

I'm quite happy, I'm just getting started on this app, but I can go back
through on the limited number of files that I have and merge the body file
for each presentation item, keeping the source tree more manageable for the
future.

have a great day,

-b

> -Original Message-
> From: Hue Holleran [mailto:hueh@;softwareskills.net]
> Sent: Friday, November 08, 2002 10:44 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Merging Tiles body into tile definition
> 
> 
> Sorry if this is lame, do you need a direct="true" on the 
>  assume you're using a  not a 
>  in the template so you may need to 
> indicate direct here?
> 
> Hue.
> 
> -Original Message-
> From: Brian Topping [mailto:topping@;digidemic.com]
> Sent: 08 November 2002 15:39
> To: [EMAIL PROTECTED]
> Subject: Merging Tiles body into tile definition
> 
> 
> Good day all, happy Friday!
> 
> I'm building another application using tiles (hopefully this 
> one will ship
> sooner than the others :-) and coming across the geometric 
> explosion of tiles
> and body files, wondering if there is a solution that others 
> are using that I
> might be able to take advantage of. 
> 
> The basic problem is that of having one file for the 
> "tiles:insert" statement
> and the tiles body file that it references.  In the basic 
> case, my setup
> looks like:
> 
> * login.jsp
> <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles-1.1";
> prefix="tiles" %>
> 
>   
>   
>   
>   
> 
> 
> * login_body.jsp
> 
> <%@ page language="java" %>
> 
> 
> What I would like to do is merge these in the form of:
> 
> <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles-1.1";
> prefix="tiles" %>
> <%@ page language="java" %>
> 
>   
>   
>   
>   
>  
> 
> 
> Makes sense, should work according to the javadoc and the tag 
> code, but I
> can't get my head around the reason that it doesn't.  The 
> point where the
> content should be inserted into the template is untouched.  Any ideas?
> 
> best regards,
> 
> Brian
> 
> --
> To unsubscribe, e-mail:   
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




Re: Merging Tiles body into tile definition

2002-11-08 Thread Postfach 4711
Hello Brian,

you should use

instead of


Friday, November 8, 2002, 4:38:55 PM, you wrote:

BT> Good day all, happy Friday!

BT> I'm building another application using tiles (hopefully this one will ship
BT> sooner than the others :-) and coming across the geometric explosion of tiles
BT> and body files, wondering if there is a solution that others are using that I
BT> might be able to take advantage of. 

BT> The basic problem is that of having one file for the "tiles:insert" statement
BT> and the tiles body file that it references.  In the basic case, my setup
BT> looks like:

BT> * login.jsp
BT> <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles-1.1";
prefix="tiles" %>>
BT> 
BT>   
BT>   
BT>   
BT>   
BT> 

BT> * login_body.jsp

BT> <%@ page language="java" %>
BT> 

BT> What I would like to do is merge these in the form of:

BT> <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles-1.1";
prefix="tiles" %>>
BT> <%@ page language="java" %>
BT> 
BT>   
BT>   
BT>   
BT>   
BT>  
BT> 

BT> Makes sense, should work according to the javadoc and the tag code, but I
BT> can't get my head around the reason that it doesn't.  The point where the
BT> content should be inserted into the template is untouched.  Any ideas?

BT> best regards,

BT> Brian

BT> --
BT> To unsubscribe, e-mail:   
BT> For additional commands, e-mail: 



-- 
Best regards,
Dirk


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Merging Tiles body into tile definition

2002-11-08 Thread Hue Holleran
Sorry if this is lame, do you need a direct="true" on the  not a  in the template so you may
need to indicate direct here?

Hue.

-Original Message-
From: Brian Topping [mailto:topping@;digidemic.com]
Sent: 08 November 2002 15:39
To: [EMAIL PROTECTED]
Subject: Merging Tiles body into tile definition


Good day all, happy Friday!

I'm building another application using tiles (hopefully this one will ship
sooner than the others :-) and coming across the geometric explosion of
tiles
and body files, wondering if there is a solution that others are using that
I
might be able to take advantage of.

The basic problem is that of having one file for the "tiles:insert"
statement
and the tiles body file that it references.  In the basic case, my setup
looks like:

* login.jsp
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles-1.1";
prefix="tiles" %>

  
  
  
  


* login_body.jsp

<%@ page language="java" %>


What I would like to do is merge these in the form of:

<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles-1.1";
prefix="tiles" %>
<%@ page language="java" %>

  
  
  
  
  


Makes sense, should work according to the javadoc and the tag code, but I
can't get my head around the reason that it doesn't.  The point where the
content should be inserted into the template is untouched.  Any ideas?

best regards,

Brian

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>

<>--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>


Merging Tiles body into tile definition

2002-11-08 Thread Brian Topping
Good day all, happy Friday!

I'm building another application using tiles (hopefully this one will ship
sooner than the others :-) and coming across the geometric explosion of tiles
and body files, wondering if there is a solution that others are using that I
might be able to take advantage of. 

The basic problem is that of having one file for the "tiles:insert" statement
and the tiles body file that it references.  In the basic case, my setup
looks like:

* login.jsp
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles-1.1";
prefix="tiles" %>

  
  
  
  


* login_body.jsp

<%@ page language="java" %>


What I would like to do is merge these in the form of:

<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles-1.1";
prefix="tiles" %>
<%@ page language="java" %>

  
  
  
  
  


Makes sense, should work according to the javadoc and the tag code, but I
can't get my head around the reason that it doesn't.  The point where the
content should be inserted into the template is untouched.  Any ideas?

best regards,

Brian

--
To unsubscribe, e-mail:   
For additional commands, e-mail: