All I can tell you is I prefer not to have 2-line JSPs, that
Tiles+Struts supports putting the equivalent definitions into
tiles-defs.xml instead and pointing an action at the appropriate
definition, and that I've done it that way in every Struts app I've ever
built using Tiles.
Here's an exa
Greg Reddin ha scritto:
We've had some discussions on the dev list about restructuring the
tags in Tiles 2. The problem is that the tag means
multiple things. In some cases it means "insert this definition here"
(like your example above).
Chris, see also this JIRA issue:
http://issues.apa
On Oct 25, 2006, at 6:01 PM, Chris Pratt wrote:
Greg, to answer your question, "how do I think this should work?" One
improvement I can think of would be to allow this type of
construct. In the
tiles-defs.xml, specify a definition like:
[snip]
Then allow inserting, referencing and popu
On Oct 25, 2006, at 5:04 PM, Laurie Harper wrote:
Chris Pratt wrote:
Hmmm, I'm not using Tiles alone or Struts 2. I'm using the Tiles
integrated
into Struts 1.2.9. I've tried using the ForwardAction to forward
something
like:
But it doesn't work, it just returns 404's.
You probably
Greg, to answer your question, "how do I think this should work?" One
improvement I can think of would be to allow this type of construct. In the
tiles-defs.xml, specify a definition like:
http://struts.apache.org/dtds/tiles-config_1_1.dtd";>
/**
* Pa
In fact the Apache Tiles Web site example (
http://struts.apache.org/1.x/struts-tiles/examples.html right above the
header "Specify Attribute Types") seems to be promoting the two line file as
the right way to do things? I'm very confused... Doesn't anyone use Tiles?
(*Chris*)
On 10/25/06, Chr
Hmmm, I can't get that working can anyone point me at a working example?
All the examples I can find are extremely simple and don't use nested tiles.
(*Chris*)
On 10/25/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
Chris Pratt wrote:
> Hmmm, I'm not using Tiles alone or Struts 2. I'm using the
Chris Pratt wrote:
Hmmm, I'm not using Tiles alone or Struts 2. I'm using the Tiles
integrated
into Struts 1.2.9. I've tried using the ForwardAction to forward something
like:
But it doesn't work, it just returns 404's.
You probably want something like
where .tile.name is the name o
Hmmm, I'm not using Tiles alone or Struts 2. I'm using the Tiles integrated
into Struts 1.2.9. I've tried using the ForwardAction to forward something
like:
But it doesn't work, it just returns 404's.
As far as 2 definitions per page, I've been told by others on the list that
because you
On Oct 24, 2006, at 12:20 PM, Chris Pratt wrote:
First I have to create
an essentially empty file for each page that uses Tiles, something
like:
<%@ taglib prefix="tiles" uri="http://struts.apache.org/tags-tiles-
el"%>
First off, I'm assuming you're using Tiles 2? That may affect the
10 matches
Mail list logo