Hi,
The proposed solution solves the problem when using a struts action,
but it doesn't work when the targeted URL is a jsp page (as in the
actual tiles example).
I agree that my previous solution was too fast, and I haven't tested
it against older browsers ;-(
Peterkofsky, Don wrote:
Hi,
You are right that the actual code doesn't works well if you use an
action URL instead of a jsp URL.
The solution is to not set the page URI at all when computing the tabs
href. Like this, the browser use the original URL. To do this, simply
replace the offending line by:
// compu
Cedric -
I've been using Struts/Tiles to implement a tabbed display page, and in
general it works very nicely.
However, I think there is an oversight in the tabsLayout example, which will
cause a problem in use. This has to do with how the href is calculated for
the links in the tabs. In the i
Thanks, Cedric.
-Original Message-
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 5:27 AM
To: Struts Users Mailing List
Subject: Re: Tiles and tabbed display
Hi,
When you use Tiles tabs layout, the current body is inserted by
calling . This
Hi,
When you use Tiles tabs layout, the current body is inserted by
calling . This mean that you
should be able to put as link="aValue" any value allowed by the insert
tag (an URL or a tiles definition name).
To be short, you should be able to put the url of an action. Don't
forget to
All:
Okay, I successfully integrated Struts Tiles with my app, and it's
working very nicely, thank you.
Then I got the bright idea that I wanted a tabbed display, and since the
Tiles documentation shows a couple of examples of tabbed displays, I
thought, "Why not?".
Now that it's brought me to
6 matches
Mail list logo