Hi
I am having a problem with a simple Tiles based site using the
classicLayout.
The problem is that the menu only appears on the first page - if I select a
link to another page the footer,body and copyright are rendered but the
menu is missing.
Here is the tiles-defs.xml ;
?xml version=1.0
Ok, fixed my previous problem:
'org.apache.struts.tiles.ActionComponentServlet' has been removed.
So instead of that I now use the plug-in tag. Strangely enough it returns
white pages with an empty HTML body with only a queer ONUNLOAD in it,
sometimes. What goes wrong? With Struts 1.1 everything
02, 2003 11:56
To: Struts Users Mailing List
Subject: Problem with tiles and protected jsps
I originally had my jsps under WEB-INF to prevent them from direct access,
which worked just fine. However, the standards I'm working with dictate that
the jsps be located above WEB-INF. In order to prevent
I originally had my jsps under WEB-INF to prevent them from direct access,
which worked just fine. However, the standards I'm working with dictate that
the jsps be located above WEB-INF. In order to prevent access to my jsps I
added a security-constraint in web.xml, blocking access to the jsps.
Hey guys, just wanted to check if anyone had a problem
with tiles after upgrading to rc2. All I get is a
blank page now where tiles used, regular sections work
without a problem after changing perform() to
execute()
Sincerely,
Fedor
__
Do you Yahoo!?
SBC Yahoo
:
tiles:insert page=/layouts/Layout.jsp flush=true
tiles:put name=header
value=/users/user10/header.jsp /
tiles:put name=menu
value=/users/user10/menu.jsp /
I wonder why this was changed.
Thanks,
Fedor
--- Fedor Smirnoff [EMAIL PROTECTED] wrote:
Hey guys, just wanted to check if anyone had a
problem
: Problem with Tiles definitions in XML File
Hi Christian,
When inserting in a definition on a jsp page, you want to use the
definition attribute. beanName can be used if the page you are
inserting is in a java bean. Here is an example:
tiles:insert definition=blablub flush=true /
Hope this helps
Dear list!
I've a problem with Tiles definitions in an XML file.
I searched a lot in my Struts books (Ted Husted and Chuck Cavaness) and
in Google, but I didn't find a clue to solve it :(
Here's the symptom:
My JSP wants to use a definition and fails with this error
Engineer
InfoNow Corporation
From: Christian Ambach [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
Date: Tue, 1 Jul 2003 23:15:01 +0200
To: [EMAIL PROTECTED]
Subject: Problem with Tiles definitions in XML File
Dear list!
I've a problem with Tiles definitions in an XML
The following tiles insert
tiles:insert attribute=header /
tiles:insert attribute=menubar/
now places the menubar above the header. Nothing i dio changes this and
the behaviour was correct in RC1. Note that my menubar definition uses a
ControllerUrl.
bye
Hi all,
I just started working with tiles and struts. I have the following files xmls in
the web-inf directory. I am working with the example given in the site
http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilestrut.html
When I try to access the jsp files, there seems to
Hello,
Does your action exist ? Try to access the action directly from the
browser, does it works ?
Cedric
S.Bharathi wrote:
Hi all,
I just started working with tiles and struts. I have the following files xmls in
the web-inf directory. I am working with the example given in the
How do you access an Action class directly from a browser?
-Original Message-
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 5:32 AM
Does your action exist ? Try to access the action directly from the
browser, does it works ?
--
To unsubscribe,
Subject: Nightly Build 04/09/02 - Problem with Tiles
From: Matt Raible [EMAIL PROTECTED]
===
I updated to the nightly build tonight and when running Tiles, I get the
error below. I was using a recent build (2-3 weeks) for the past couple
weeks and it's been running fine - anything change
Subject: RE: Weird problem with tiles and struts forward.
From: Brendan Grainger [EMAIL PROTECTED]
Date: Sun, 31 Mar 2002 21:37:59 -0500
To: Struts Users Mailing List [EMAIL PROTECTED]
Hi Jack,
As I said earlier I had exactly the same problem as you and so now I've done
a little
--- Struts Newsgroup [EMAIL PROTECTED] wrote:
Subject: Re: Weird problem with tiles and struts
forward.
From: Jack Gao [EMAIL PROTECTED]
===
Hi, Brendan
Yes, it works Thank you guys so much
Yes, the problem is the controller for tiles, after
I add it in my
struts-config.xml
It's in the installation documentation.
-Original Message-
From: Sanjay Choudhary [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 11:31 AM
To: Struts Users Mailing List
Subject: Re: Weird problem with tiles and struts forward.
Hi Brendan,
I was also facing the same problem
servlet 2.2 before and changed it to servlet 2.3 a few days ago.
-Original Message-
From: Robert Morse [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 30, 2002 7:24 PM
To: Struts Users Mailing List
Subject: RE: Weird problem with tiles and struts forward.
Yes. In fact, I changed all
Subject: Re: Weird problem with tiles and struts forward.
From: Jack Gao [EMAIL PROTECTED]
===
So, what you changed to make it work? To me, it still doesn't work, even I
use servlet 2.3 (I'm using Tomcat 4.0.3) DOCTYPE, and struts 1.1 DOCTYPE.
same configuration with forward to a jsp, it works
Subject: Re: Weird problem with tiles and struts forward.
From: Jack Gao [EMAIL PROTECTED]
===
Well, I don't think this is the problem.
If I had to use forward attribute instead of forward tag, How can I forward
to different page depend on the result?
Jack
Wellie W. Chao [EMAIL PROTECTED
]
Subject: Re: Weird problem with tiles and struts forward.
Subject: Re: Weird problem with tiles and struts forward.
From: Jack Gao [EMAIL PROTECTED]
===
Well, I don't think this is the problem.
If I had to use forward attribute instead of forward tag, How can I forward
to different page depend
List
Subject: RE: Weird problem with tiles and struts forward.
Yes, that would be a problem. I'm building some pages now that will make use
of findForward, so I'll let you know if I experience success with the
forward elements within an action block. If I have problems too, then it's
probably
Subject: Re: Weird problem with tiles and struts forward.
From: Jack Gao [EMAIL PROTECTED]
===
Hi, Brendan
Yes, it works Thank you guys so much
Yes, the problem is the controller for tiles, after I add it in my
struts-config.xml file, I got it work!
Thanks a lot in deed
=tiles %
tiles:insert definition=register.success/
-Original Message-
From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 8:40 PM
To: [EMAIL PROTECTED]
Subject: Weird problem with tiles and struts forward.
Subject: Weird problem with tiles and struts forward
that operate
with each other.
-Original Message-
From: Wellie W. Chao [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 30, 2002 5:13 AM
To: Struts Users Mailing List
Subject: RE: Weird problem with tiles and struts forward.
I don't think you can use a tiles definition in forward path={xxx}/. You
Newsgroup @[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 29, 2002 8:40 PM
Subject: Weird problem with tiles and struts forward.
Subject: Weird problem with tiles and struts forward.
From: Jack Gao [EMAIL PROTECTED]
===
Hi, List
I'm new with this struts and tiles issues.
My
PROTECTED]]
Sent: Saturday, March 30, 2002 9:11 AM
To: Struts Users Mailing List
Subject: RE: Weird problem with tiles and struts forward.
Using path = register.success is perfectly fine. When I had this problem,
I think the issue was the version of Tiles being used with Struts 1.1. Try
getting
PROTECTED]
Sent: Saturday, March 30, 2002 10:40 AM
Subject: RE: Weird problem with tiles and struts forward.
Are you saying you tried it and got it to work? I saw it in the docs, but
I
never could get it to work with struts 1.1 beta, so I assumed it was a
desired feature that hasn't yet been
Yes. In fact, I changed all of the references to Tiles definitions. I'm
using the 02/05/2002 nightly.
-Original Message-
From: Wellie W. Chao [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 30, 2002 7:41 AM
To: Struts Users Mailing List
Subject: RE: Weird problem with tiles and struts
Subject: Re: Weird problem with tiles and struts forward.
From: Jack Gao [EMAIL PROTECTED]
===
Thanks for the reply group.
Yes, I'm using struts 1.1 beta. But the tutorial looks work fine, it also
use forward to a tiles definition, why? And since I already use
ActionComponentServlet (Actually
Subject: Re: Weird problem with tiles and struts forward.
From: Jack Gao [EMAIL PROTECTED]
===
Well, I tried to get nightly build from apache, earlest one 20020316 and
latest one 20020330. Both of them doesn't work for me.
20020316 has same problem, 20020330 even can not found MESSAGE resources
:@[EMAIL PROTECTED]]
Sent: Saturday, March 30, 2002 7:55 PM
To: [EMAIL PROTECTED]
Subject: Re: Weird problem with tiles and struts forward.
Subject: Re: Weird problem with tiles and struts forward.
From: Jack Gao [EMAIL PROTECTED]
===
Thanks for the reply group.
Yes, I'm using struts 1.1 beta
to
work? Get those going before your own stuff.
-Original Message-
From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
Sent: Saturday, March 30, 2002 5:10 PM
To: [EMAIL PROTECTED]
Subject: Re: Weird problem with tiles and struts forward.
Subject: Re: Weird problem with tiles and struts
Subject: Re: Weird problem with tiles and struts forward.
From: Jack Gao [EMAIL PROTECTED]
===
I also update to web-app_2_3.dtd and struts-config_1_1.dtd.
But I didn't found any place need to update except !DOCTYPE
Any idea which part need to update?
Thanks
Jack
Brendan Grainger [EMAIL
Subject: Weird problem with tiles and struts forward.
From: Jack Gao [EMAIL PROTECTED]
===
Hi, List
I'm new with this struts and tiles issues.
My problem is: when define a jsp page in struts-config.xml to forward to if
success or failed, it works fine. But if I jump to tiles, and forward
Hello,
It looks like the web server do an error catching on a request basis rather
than on a include basis.
When you use the server general mechanism, via a declaration in web.xml, the
exception is catch by the top level page where the request start. As Tiles insert
mechanism catch any
Here is little bit of explanaition of problem I have tracked down.
In order for aplication to run in JBuilder with Tomcat and struts I have
nostrutstomcat32.jar in lib/ext directory of JBuilder. However if I
substitute ActionServlet definition in web.xml with Tiles ActionServlet I
get
Hello Fellow Travelers,
I think that I have found a problem with tiles in orion. This problem only shows
itself when I deploy my web module (war) to my orion server. I do my development in
JDeveloper and everything works swimmingly. Also I have the tiles and struts sample
applications
Tiles tutorial is now merged in tiles-doc, under tiles-doc/tutorial. Also,
Tiles require a Jaxp1.1 compliant XML parser.
Cedric
BinhMinh Nguyen wrote:
Hi,
I am a big fan of your Components, it woks very
pretty. But since you rename Component to Tiles
things are not pretty any
Hi,
I am a big fan of your Components, it woks very
pretty. But since you rename Component to Tiles
things are not pretty any more:)
I have hard time switching one Components to Tiles
, I did every things following your instrcutions, and
it is still not working.
Even when I just copy directly
40 matches
Mail list logo