Jim,
sounds like you haven't realised that tiles attributes are not given
global scope. You have to explicitly useAttribute each time. That
includes when you nest a child tile - you must useAttribute on it
first, and then have it put again in-between the inserts for the child.
On 03/02/2004
Hi,
I was able to render the client side javascript (Dynamic as well static
javascript) using the Struts Validator framework. The validations are done
properly on the invalid data. [Errors are displayed]. But I can see from the
server logs that form is submitted. Ideally it should not have
put name=foo value=${bar} type=string/definition/page /
On 2 Mar 2004, at 22:15, Anderson, James H [IT] wrote:
There's something I'm not understanding :-( I've got the following
tiles definitions.
definition name=.mainLayout
path=/tiles/layouts/mainLayout1.jsp
put name=header
To: Struts Users Mailing List
Subject: Re: Tiles problem
put name=foo value=${bar} type=string/definition/page /
On 2 Mar 2004, at 22:15, Anderson, James H [IT] wrote:
There's something I'm not understanding :-( I've got the following
tiles definitions.
definition name=.mainLayout
path=/tiles
:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 4:40 PM
To: Struts Users Mailing List
Subject: Re: Tiles problem
put name=foo value=${bar} type=string/definition/page /
On 2 Mar 2004, at 22:15, Anderson, James H [IT] wrote:
There's something I'm not understanding :-( I've got the following
tiles
Dhiraj,
I think you have an incorrect understanding of tiles. Using your
information, you should probably setup a main template with your 3 pieces
(header, menubar, and copyright) PLUS the body-content one. That way, you
can make a tile that extends that template and simply overrides the
, December 23, 2003 12:19 AM
To: Struts Users Mailing List
Subject: RE: Tiles Problem!!!
Dhiraj,
I think you have an incorrect understanding of tiles. Using your
information, you should probably setup a main template with your 3 pieces
(header, menubar, and copyright) PLUS the body-content one
Lukas,
How are you trying to 'forward' to your tile? Certain logic:tags don't
foward to tiles - it's in their documentation. Please provide examples of
your forward tags, relevant action .../ tags, and how you are trying to
'forward' to it.
Regards,
David
-Original Message-
From:
Return Receipt
Your RE: Tiles problem?
document
Mailing List
Betreff: RE: Tiles problem?
you could pass it along with the tile.
tiles:insert attribute=billingAddress
tiles:put name=billing beanName=.../
/tiles:insert
or re-access it from whichever scope it was put in.
Yann
-Original Message-
From: Roland Berger [mailto
you could pass it along with the tile.
tiles:insert attribute=billingAddress
tiles:put name=billing beanName=.../
/tiles:insert
-Original Message-
From: Roland Berger [mailto:[EMAIL PROTECTED]
Sent: Monday, September 08, 2003 8:22 AM
To: Struts
Subject: Tiles problem?
Hi
you could pass it along with the tile.
tiles:insert attribute=billingAddress
tiles:put name=billing beanName=.../
/tiles:insert
or re-access it from whichever scope it was put in.
Yann
-Original Message-
From: Roland Berger [mailto:[EMAIL PROTECTED]
Sent: Monday, September
Users Mailing List [EMAIL PROTECTED]
eroad.com cc:
Subject: Re: tiles problem
]To: Struts Users Mailing List
[EMAIL PROTECTED]
eroad.com cc:
Subject: Re: tiles problem
So to clarify, you have a tree with nodes on the left, and when the user
clicks on a node, it causes a submit so that the content on the right is
changed?
You need to submit the node's id with your request form, so that the
tree can be redisplayed in a drilled-down state displaying that node.
:
Subject: Re: tiles problem
08/13/03 03:50 PM
Got it running . .. Thx
-Original Message-
From: Panjrath, Charu
Sent: Wednesday, July 02, 2003 2:08 PM
To: Struts Users Mailing List
Subject: Tiles Problem
Hi,
I am trying to create a simple welcome page using tiles. I picked up the code from
'Struts Kick Start' - Chapter 16
Using
koen boutsen rta:
When I put the login-tile in the input
attribute, I get an error. I tried to put a tiles-definition in the input attribute, and that didn't work either.
In all my input attributes I have names of tiles definitions. It works
well providing the tiles plugin configured.
Tib
Hi,
How do you insert your tiles ? Do you use the tiles:insert
name=home.main tag, an action forward name =home.main / or
something else ? You should use one of insert or forward.
Cedric
Stephen Smithstone wrote:
Hi all got a problem with a tiles contoller heres the controller code
i get to the tile via an org.apache.struts.actions.ForwardAction with
home.main as the parameter
On Friday 04 April 2003 1:50 pm, Cedric Dumoulin wrote:
Hi,
How do you insert your tiles ? Do you use the tiles:insert
name=home.main tag, an action forward name =home.main / or
something
Am Freitag, 25. Oktober 2002 13:58 schrieb Marco Machmer:
Am Freitag, 25. Oktober 2002 12:31 schrieb Hue Holleran:
Hi,
We had a few probs getting tiles to run with Tomcat 4.1.12 but have now
sorted all those issues - to be honest some were with Java Sec Mgr, some
with the
Sound like an error in your struts-tiles.dtd file. Maybe you have an
old or corrupted version. Try to replace it with a fresh one.
Cedric
Marco Machmer wrote:
hy,
if i start tomcat 4.1.12 with struts used in my webapplication i get the
following error on server console (server started
Am Freitag, 25. Oktober 2002 12:31 schrieb Hue Holleran:
Hi,
We had a few probs getting tiles to run with Tomcat 4.1.12 but have now
sorted all those issues - to be honest some were with Java Sec Mgr, some
with the tiles-documentation.war supplied in 1.1b2 - changing to the
nightly build and
, October 23, 2002 11:50 AM
To: Struts Users Mailing List
Subject: Re: [TILES] Problem using struts actions in tile's template
Hi,
Danny has well explained what is happening. The problem is that Struts
RequestProcessor do a forward in response to the forward in the config
file. If you use
Think of the template.jsp is the servlet that currently running, and
rendering text in response to the broser. Your other section on the
template.jsp, the content and the header, do a dynamic include which in
result as a forward to the intented jsp. We all know that once the server
start writing
Hi,
Danny has well explained what is happening. The problem is that Struts
RequestProcessor do a forward in response to the forward in the config
file. If you use the Tiles servlet, your code should work because the
TilesRequestProcessor check if the response has already been committed.
If
!!
Ken
-Original Message-
From: Cedric Dumoulin [mailto:cedric;apache.org]
Sent: Wednesday, October 23, 2002 11:50 AM
To: Struts Users Mailing List
Subject: Re: [TILES] Problem using struts actions in tile's template
Hi,
Danny has well explained what is happening. The problem
Ken, (long time no type)
It's hard (for me at least) to determine the problem from those spots of
code, but I have a working example that (I think) will demonstrate just what
you are trying to do.
The site it listed below (in my sig block) and the source is available here:
, October 14, 2002 10:50 AM
To: Struts Users Mailing List
Subject: Re: Tiles problem with Struts action path - Tiles and tabbed
disp lay
The action mapping is available in the request (!) under the key of
o.a.s.Globals.MAPPING_KEY.
Peterkofsky, Don wrote:
Cedric -
While this solution
Hi,
I suspect that the Tiles definition factory is not properly
initialized. The initialization has changed between Struts1.0 and
struts1.1b2, to follow the new struts request processing.
You need now a TilesRequestProcessor which is set by the TilesPlugin.
You don't need the
Cedric -
While this solution will work in IE browsers and Netscape 6+ browsers, it
isn't a particularly robust solution, as it relies on the URL in the browser
location string, and this varies depending on the particular browser
version (try your solution on Netscape 4.7, and see what happens).
The action mapping is available in the request (!) under the key of
o.a.s.Globals.MAPPING_KEY.
Peterkofsky, Don wrote:
Cedric -
While this solution will work in IE browsers and Netscape 6+ browsers, it
isn't a particularly robust solution, as it relies on the URL in the browser
location
: Monday, October 14, 2002 10:50 AM
To: Struts Users Mailing List
Subject: Re: Tiles problem with Struts action path - Tiles and tabbed
disp lay
The action mapping is available in the request (!) under the key of
o.a.s.Globals.MAPPING_KEY.
Peterkofsky, Don wrote:
Cedric -
While this solution
33 matches
Mail list logo