Thanks to everyone who responded. Everyone recommended doing this:
Try this:
forward name=defaulttile redirect=true path=default.layout/
Still doesn't seem to work. I get the feeling I'm missing something so
insanely stupid that its tough to figure out. I'm not sure how to get
any more debug
:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 1:45 PM
To: Struts Users Mailing List
Subject: Re: Tiles Definition problem
Thanks to everyone who responded. Everyone recommended doing this:
Try this:
forward name=defaulttile redirect=true path=default.layout/
Still doesn't seem to work. I get
David.
Thank you very much. I knew I was missing something very simple. I had 2
books I had been referencing, Programming Jakarta Struts and Struts In
Action. I guess I missed the forward thing in those docs.
Thanks again, its working great.
--
Bryce Fischer [EMAIL PROTECTED]
Bryce,
You're welcome.
-David
-Original Message-
From: Bryce Fischer [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 3:55 PM
To: Struts Users Mailing List
Subject: Re: Tiles Definition problem
David.
Thank you very much. I knew I was missing something very simple. I had 2
Bryce,
You don't have to write the path wbeginning witha a slash.
Try this:
forward name=defaulttile redirect=true path=default.layout/
Antonio Gonzalez
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Bryce,
Try taking our your leading slash on the /default.layout tile reference:
forward name=defaulttile redirect=true path=default.layout/
If you didn't put a slash in your tile name, don't use it with a slash in
your definition. Tiles are specific to the 'name=something', not path
specific.
I don't think you want the slash when you reference your page.
try this:
global-forwards
forward name=defaulttile redirect=true path=default.layout/
/global-forwards
instead of:
global-forwards
forward name=defaulttile redirect=true
path=/default.layout/
I am not sure I understand what you are saying here, but I think I know
where you are heading...
You action mapping looks okay... When your action sends it to wiz1, it
will go to the tiles definition below and build it there...
Is this what you were looking for?
--
This was not bad for getting to know tiles also...
http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilestrut.html
-Original Message-
From: Chmura, William B.
Sent: Tuesday, June 18, 2002 1:25 PM
To: struts-user
Subject: RE: Tiles definition problem
I am not sure I understand
9 matches
Mail list logo