(Oops - that should read 'Subtle problem...')
Hello All,
I've dug a bit deeper and I still think something rather strange is happening deep in
the bowels of Struts/Tiles.
If my tile definition uses the controllerClass attribute to specify a controller for
my JSP, then I am stuck
Hello All,
I am using Struts with Tiles to build a nested layout, and have hit some wierdness:
any comments/help much appreciated.
Background: I'm constructing a webapp allowing a 'client' to view useful info (e.g.
about their account), and also allowing an 'admin' to view the client's info.
I
hi all,
i am new to Struts. A question about configuring Tiles
and Struts. Hear are my files:
struts-config.xml
-
..
plug-in
className=org.apache.struts.tiles.TilesPlugin
set-property
property=pathnames
value=WEB-INF/tiles-defs.xml/
/plug-in
..
global
,
David
-Original Message-
From: lixin chu [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 04, 2004 8:10 AM
To: [EMAIL PROTECTED]
Subject: Config Tiles with Struts
hi all,
i am new to Struts. A question about configuring Tiles
and Struts. Hear are my files:
struts-config.xml
, 2004 8:10 AM
To: [EMAIL PROTECTED]
Subject: Config Tiles with Struts
hi all,
i am new to Struts. A question about configuring
Tiles
and Struts. Hear are my files:
struts-config.xml
-
..
plug-in
className=org.apache.struts.tiles.TilesPlugin
set-property
The PlugIn takes the liberty of setting your
RequestProcessor to the TilesRequestProcessor for
you.
You only really need to worry about it if you
choose to use a custom RequestProcessor of your
own; in that case, you'd need to extend the
TilesRequestProcessor if you want to use Tiles
Hi
i am using Tiles with the Plugin.tag in
the struts-config.xml
now i saw in the source, that TilesPlugin
uses the TilesRequestProcessor.
okay, however - but i saw in one config-file, that
i could add the TilesRequestProcessor in the config of
struts.
since now i only used the plugin in the
To anyone who may advice:
Can I know how to control the size of the tab pane display area, such that it is
always a fix size. Currently it is auto resize based on the content of my page in the
display area.
Besides, how can I pass the parameter to tiles-defs.xml, in which I define the
I can't seem to find any good examples of how to do this. I would like to
have a nested tile inside of my body.jsp. For example I have a definition.
definition name=tiles.mainLayout path=/WEB-INF/jsp/common/layout.jsp
put name=title value=Tiles Blank Site /
put
%
%@ taglib uri=/tags/struts-tiles.tld prefix=tiles %
table border=0 cellpadding=0 cellspacing=0 style=margin-bottom:10px
tr
td height=16px valign=top align=left width=16pximg
src=/image/pod_corner_ul.gif alt= width=16 height=16 border=0/td
td align=left height=16px nowrap background=/image
Hello,
We are using struts and tiles for view component of our application.
We are facing the problem of setting the title for the jsp. The title has to be taken
from the properties file and it depends upon the body of the tiles. Any pointer how to
do this.
my jsp file is as follows
.
-Original Message-
From: deepaksawdekar [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 11:45 AM
To: Struts Users Mailing List
Subject: Tiles and Struts.
Hello,
We are using struts and tiles for view component of our application.
We are facing the problem of setting the title
=titleKey classname=java.lang.String /
html:html
head
titlebean:message key=%= titleKey % //title
!-- other header stuff --
/head
...
Now in your actual JSP (whichever one contains your code snipper below):
%@ taglib uri=/tags/struts-tiles prefix=tiles %
tiles:insert page=../common
/tr
tr
td
!-- pie --
tiles:insert attribute=footer/
/td
/tr
/table
/body
/html:html
3. Several pages with associated body pages, for example:
- page.jsp
%@ taglib uri=/tags/struts-tiles prefix=tiles %
tiles:insert definition=brm.consola flush=true
tiles:put
Just found the solution: I hadn't included the struts taglibs in my body JSP
page!!
- Original Message -
From: Paula Coll Lapido [EMAIL PROTECTED]
To: struts-user [EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 12:13 PM
Subject: Tiles and Struts: JSP page doesn't compile
I am currently
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,
I have a small site built with Tiles and Struts. On each page I have a
standard left navigation. At the bottom of the navigation is a login box.
What I'd like to do is have the user be able to login on any page on my site.
On successful login, I just want to return the user to the page
PROTECTED]
Sent: Tuesday, March 11, 2003 8:29 PM
Subject: How do I return to the calling page? Tiles and Struts
Hi,
I have a small site built with Tiles and Struts. On each page I have a
standard left navigation. At the bottom of the navigation is a login box.
What I'd like to do is have the user
:29 PM
Subject: How do I return to the calling page? Tiles and Struts
Hi,
I have a small site built with Tiles and Struts. On each page I have a
standard left navigation. At the bottom of the navigation is a login box.
What I'd like to do is have the user be able to login on any page
Hi,
I am getting the following exception while starting of the application server.
[5/2/02 22:03:18:389 GMT+05:30] 3dd27426 SystemOut U Parse Error at line 2 column
24: Element type component-definitions must be declared.
But i defined this in tileDefinitions.xml
Hello,
When i query a page for the first time since the server started, i got two
errors :
9-Dec-2002 1:44:29 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 60 column 60: Element type plug-in must be
declared.
... and ...
9-Dec-2002 1:44:29 PM
Yes there is an order for all elements in struts-config.xml see the dtd
spec. for details.
David
From: Rémy Giard [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Problem with plug-in tag for tiles in struts-config.xml. Wrong
version
Hi Remy,
!DOCTYPE struts-config PUBLIC
-//Apache Software Foundation//DTD Struts
Configuration 1.0//EN
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd;
Do you have any clue ?
Can you see anything wrong ??
Is there an order for specifying the
I'm trying to set up Struts 1.1 beta to use Tiles.
Question: What modification do I make to struts-config.xml
to tell it where my tiles definition file is?
Apparently the plug-in no longer applies or Struts 1.1?
Thanks!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
You use the TilesPlugin to configure Tiles.
David
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: using tiles with Struts 1.1
Date: Tue, 3 Dec 2002 10:31:01 -0800
I'm trying to set up Struts 1.1 beta to use Tiles.
Question
Also, you know that deprecated does not mean you cannot use the tags,
right? The tags still are good. I am not suggesting anything, but
deprecating a tld is not really deprecating, is it? If you want to use
it, use it. Like Yogi said about the striking baseball players (only in
reverse):
On Wed, 27 Nov 2002, Philip Tsai wrote:
Date: Wed, 27 Nov 2002 20:01:45 -0800
From: Philip Tsai [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: AccessControlException when plugging in Tiles with Struts 1.1b2
Hello list!
I have
1.1b2 and Tiles Plugin on RedHat 7.1 and JDK 1.4 (on my host's
webserver, which uses Ensim's virtual private server), catalina.out shows the
following exception trace. When I comment out the Tiles plugin in
struts-config.xml, the exception disappears and everything runs fine . So I
know
Since the Template Tag now is deprecated, how do I mangage to solve this
issue with Tiles?
ContentMap cm = ContentMap contentMap = new ContentMap();
contentMap.put(top, new Content(page1.java, false));
contentMap.put(left, new Content(page2.java, false));
The tiles-blank-* files are shipped with the tiles distribution from
the original tiles site ;-)
www.lifl.fr/~dumoulin/tiles
Both distributions are the same, except some extra war files.
Cedric
Wendy Smoak wrote:
Cedric wrote:
Tiles is now in the main trunck of Struts. The tiles
Cedric wrote:
Tiles is now in the main trunck of Struts. The tiles contrib folder is
not maintained, and should normally not be present.
Use tiles-documentation.war instead.
Thank you! I'm just trying to get started with tiles, and I grabbed
everything I could find with 'tiles' in the name
I have two essentially identical pairs of Struts actions and Tiles
definitions, which are behaving differently, and problematically.
I have these two actions in a sub-application struts-config:
action
path=/fwpagetemplate
type
Hi,
You can use Tiles without Struts. If you want also the definition
capability, you need to initialize the Tiles factory. This can be done
by using the TilesServlet (as you do). In this case, Tiles factory
config is specified in web.xml. You don't need the TilesPlugin because
you
Hi,
We are using Sturts 1.0.1 with Tiles, and have come across an issue, which I will
attempt to describe below:
Explanation of usage:
The application is run within OC4J latest release
we use a jsp file to include common page information, it also includes the following
line at the head of
: RE: Tiles and Struts
1.0.2?
Caterpillar: Confidential Green
: RE: Tiles and Struts
1.0.2
I am looking for the Tiles version that works with Struts 1.0.2. Google,
the Tiles site, etc have not helped. I have seen mention of a file called
tilesForStruts1.0.jar but I cannot find anywhere. (Of course I would love
to upgrade to the latest of everything Struts/Tiles/etc but VAJ
:[EMAIL PROTECTED]]
Sent: woensdag 24 juli 2002 18:04
To: Struts Users Mailing List
Subject: Tiles and Struts 1.0.2?
I am looking for the Tiles version that works with Struts
1.0.2. Google,
the Tiles site, etc have not helped. I have seen mention of
a file called
tilesForStruts1.0.jar
Thank Eddie ;-)
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 16 juli 2002 17:11
To: Struts Users Mailing List
Subject: Re: using tiles in struts 1.1b ?
See the other thread entitled Struts 1.1 + Tiles -- if you've just
subscribed, try searching
Hi all,
I have downloaded the Struts 1.1b, and I'm going through the tutorial in the
example application 'struts-tiles', which doesn't seem to be updated to the
version 1.1b of Struts.
I've got most things working, but now I'm stuck on 6.6 Definitions as
Forward.
Question:
How do I get my
in struts 1.1b ?
Hi all,
I have downloaded the Struts 1.1b, and I'm going through the tutorial in
the
example application 'struts-tiles', which doesn't seem to be updated to
the
version 1.1b of Struts.
I've got most things working, but now I'm stuck on 6.6 Definitions as
Forward.
Question:
How do I
See the other thread entitled Struts 1.1 + Tiles -- if you've just
subscribed, try searching the archives for it. Cedric (the Tiles
maintainer) just posted a nice reply to my question :-)
Regards,
Eddie
[EMAIL PROTECTED] wrote:
Hi all,
I have downloaded the Struts 1.1b, and I'm going
Why not plugIn ?
What functionality is lost if using tiles' plugIn ?
Just out of curiosity.
William.
From: Vincent Stoessel [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Tiles And Struts
Date: Wed, 26 Jun
if using tiles' plugIn ?
Just out of curiosity.
William.
From: Vincent Stoessel [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Tiles And Struts
Date: Wed, 26 Jun 2002 11:42:50 -0400
Thanks. That's what
Hello,
For now, the Tiles plugin is not available.
If you use Struts1.1, I think you can use the definitions-config file without
ActionComponentServlet. In Struts 1.1, the servlet is only used to initialize the
tiles definition factory, which in turn read the config file. So, if you
Just out of curiosity, what functionality is lost
by using tiles' ActionComponentServlet ?
Thanks
Ricardo de Souza Moura wrote:
Can I use a plugIn to Tiles ?
I am not wanting to use the ActionComponentServlet, but I am wanting to
use the definitions-config param.
There are some way ?
By using tiles ActionComponentServlet , no Struts functionalities are lost. You
gain one : the ability to use Tiles definitions names as Struts forward.
Note that Struts1.1 also require the TilesRequestProcessor to enable Tiles.
Cedric
Vincent Stoessel wrote:
Just out of curiosity
Thanks. That's what I thought.
I was wondering why the original poster id not want to use it.
Cedric Dumoulin wrote:
By using tiles ActionComponentServlet , no Struts functionalities are lost. You
gain one : the ability to use Tiles definitions names as Struts forward.
Note
Thanks to all !!!
_
Converse com amigos on-line, conheça o MSN Messenger:
http://messenger.msn.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Why I need to put org.apache.struts.tiles.ActionComponentServlet at the
servlet element in the web.xml file ?
I noticed that if my servlet is the default action servlet of the Struts, my
Tile samples work fine too.
Why?
_
Chegou
AFAIK If you configure tiles with an xml file, the
ActionComponentServlet is in charge of reading that configuration and
forwarding to the correct definitions.
If you just use a jsp page to tell which template/tiles to use, the
action servlet isn't used.
-Dennis
On Mon, 2002-06-24 at 14:26,
thanks
From: Dennis Muhlestein [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Tiles and Struts
Date: 24 Jun 2002 14:41:08 -0600
AFAIK If you configure tiles with an xml file, the
ActionComponentServlet
people
on the list, it seem the only way to get tiles with struts forwards to work
is to upgrade to Struts 1.1.
I've made numerous attempts at getting it to work with Struts 1.0 with no
luck.
Using the tiles-blank-struts1-0.war provided with tiles,
1) I added the following action
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
forward elements do not work. If I experience success, then we can compare
web.xml, struts-config.xml, and tiles-defs.xml files to see how mine differ
from yours.
-Original Message-
From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
Sent: Sunday, March 31, 2002 9:25 PM
To: [EMAIL PROTECTED
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
.
On Wed, 13 Mar 2002, Hill, Donald wrote:
Date: Wed, 13 Mar 2002 09:48:54 -0500
From: Hill, Donald [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List (E-mail) [EMAIL PROTECTED]
Subject: FW: Tiles and struts action
-Original Message
PROTECTED]
Subject: Re: Tiles and struts action
Did you ever figure out the solution to the Response has been committed
problem? I am now having a similar problem with a custom tag. I have a tag
called checkLogin that I place in a page like so:
-
%@ taglib uri=/WEB-INF/app.tld prefix=app
list for Struts and Tiles related question is
struts user list ;-), so I move this thread there.
Cedric
Hill, Donald wrote:
I am trying to use a struts action in a tile definition, something like
this.
definition name=site.mainLayout path=/layouts/classicLayout.jsp
put name=title value
-Original Message-
From: Hill, Donald
Sent: Tuesday, March 12, 2002 12:44 PM
To: 'Jakarta Tag Libraries Users List' (E-mail)
Subject: Tiles and struts action
I am trying to use a struts action in a tile definition, something like
this.
definition name=site.mainLayout path
Thanks for the previous reply Cedric ( I deleted it so
I can't reply to it).
I am still having a problem.
I am using tiles-docs.war file.
I downloaded the latest binary zip file and the
tilesforstruts1-0.jar file does not seem to fix my
problem -- i get the exact same error -- no
classdeffound
79 matches
Mail list logo