Mmm... I've update my Eclipse to Web Tools Platform 3.4 to use with
TPTP 4.5 (the profiler) and my tiles.xml doen's work anymore.
22 errors:
The content of element type definition must match
(icon?,display-name?,description?,put*,putList*)
Any ideas?
Thancs
Gianluca
2008/11/6 Gianluca Musella [EMAIL PROTECTED]:
Mmm... I've update my Eclipse to Web Tools Platform 3.4 to use with
TPTP 4.5 (the profiler) and my tiles.xml doen's work anymore.
22 errors:
The content of element type definition must match
(icon?,display-name?,description?,put*,putList*)
This
to
tiles.defs.xml as suggested, but it gave an XML parse exception. What can
be the solution;?
Thanks
jUnit newbie Ezgi :)
--
View this message in context:
http://www.nabble.com/jUnit-Testing-Problem-with-Tiles-tp18131822p18131822.html
Sent from the Struts - User mailing list archive at Nabble.com
2008/6/26 ezgi [EMAIL PROTECTED]:
If I include the tiles part in struts.xml, it gives a NullPointerException :
Did you add the StrutsTilesListener in your web.xml?
http://cwiki.apache.org/confluence/display/WW/Tiles+Plugin
Did you configure Tiles correctly?
Antonio
2008/6/26 ezgi [EMAIL PROTECTED]:
If you look at the tutorial I refer, you can understand that I am not the
only one who have this problem. I try to set the configuration file to
tiles.defs.xml as suggested, but it gave an XML parse exception.
Can we see the Tiles definition files that you
: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/jUnit-Testing-Problem-with-Tiles-tp18131822p18132170.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
2008/6/26 ezgi [EMAIL PROTECTED]:
This is the tiles.defs.xml :
listener
listener-class
org.apache.struts2.tiles.StrutsTilesListener
/listener-class
/listener
servlet
servlet-nametiles/servlet-name
/tutorial/configuration.html
Antonio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/jUnit-Testing-Problem-with-Tiles
--- On Thu, 6/26/08, Antonio Petrelli [EMAIL PROTECTED] wrote:
The problem is that you are using StrutsTilesListener (that
loads /WEB-INF/tiles.xml by default), TilesServlet and
TilesFilter at the same time.
Two is one, one is none! Three is... three is right out.
You're just mad because of
2008/6/26 Dave Newton [EMAIL PROTECTED]:
--- On Thu, 6/26/08, Antonio Petrelli [EMAIL PROTECTED] wrote:
The problem is that you are using StrutsTilesListener (that
loads /WEB-INF/tiles.xml by default), TilesServlet and
TilesFilter at the same time.
Two is one, one is none! Three is... three
2008/6/26 ezgi [EMAIL PROTECTED]:
I tried three of them seperatley, but it did not work.
Please clarify, what do you mean with it did not work? Do you
receive an exception at startup?
Should I modify the configuration variable in the BaseStrutsTestCase? I did
not add there
web.xml and
--- On Thu, 6/26/08, Antonio Petrelli [EMAIL PROTECTED] wrote:
Eh? I know I am supposed to laugh, but since I am Italian
could you explain it a little ;-)
Or cry; Spain whupped ya' 4-2.
Dave
-
To unsubscribe, e-mail: [EMAIL
2008/6/26 Al Sutton [EMAIL PROTECTED]:
At least they made it to the tournament :(
Ah now I got it. You know, I removed the tournament from my memory
after the penalty kicks :-D
I see the positive point though, Donadoni is going away and Lippi is
coming back.
Antonio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/jUnit-Testing-Problem-with-Tiles-tp18131822p18132968.html
Sent from the Struts
2008/6/26 Antonio Petrelli [EMAIL PROTECTED]:
2008/6/26 Al Sutton [EMAIL PROTECTED]:
At least they made it to the tournament :(
Ah now I got it. You know, I removed the tournament from my memory
after the penalty kicks :-D
Oh by the way, Al, I have to say one little secret.
We sent you
2008/6/26 ezgi [EMAIL PROTECTED]:
I have just replaced the code with the new one, isn't it the one you
suggested?
Yes, but you had to adapt it to your needs.
By the way, do you still receive a parsing error, at startup?
Antonio
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/jUnit-Testing-Problem-with-Tiles-tp18131822p18133212.html
Sent from the Struts - User mailing list archive at Nabble.com
2008/6/26 ezgi [EMAIL PROTECTED]:
If I add the location of web.xml or any other thing to here
private static final String CONFIG_LOCATIONS = file:src/struts.xml ;
I got a parsing error. I am not very experienced with tiles, I just test the
code in a big project. The problem is , if I do not
-Problem-with-Tiles-tp18131822p18133546.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
2008/6/26 ezgi [EMAIL PROTECTED]:
In my action, I have a reference to Http request and it requires to access
the HttpServletRequest object, so I can not easily test the action with just
calling the execute method and comparing the result. So, I have found out a
solution from the link that I
in context:
http://www.nabble.com/jUnit-Testing-Problem-with-Tiles-tp18131822p18133751.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
2008/6/26 ezgi [EMAIL PROTECTED]:
If you look at the link, you can understand the problem. Whose
initialization is the one that you can't understand?
I see, but I am sorry, without initialization Tiles won't work.
Antonio
-
.
Antonio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/jUnit-Testing-Problem-with-Tiles-tp18131822p18133946.html
2008/6/26 ezgi [EMAIL PROTECTED]:
How can I initialize tiles in this context?
In some ways, you have to manage to put StrutsTilesListener, or at
least its code, but I don't really know how to do it.
I suggest to ask the BaseStrutsTestCase developers.
Antonio
/jUnit-Testing-Problem-with-Tiles-tp18131822p18134225.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I suppose that it is a Tiles issue.
I must admit that the code inside the TilesDecorationFilter does not
convince me... Amit, can you repost this question to the Tiles Users Mailing
list? I think that it is a Tiles bug.
http://tiles.apache.org/mail.html
Thanks
Antonio
Hi,
Thanks, I have posted
Amit,
looks like problem is with your struts.xml. You have set Tiles Result but
your result is jsp page. I think you need to change it to tile definition.
Try below...
struts.xml
struts
package name=default extends=struts-default
result-types
-- Raghuveer Rawat wrote --
Amit,
looks like problem is with your struts.xml. You have set Tiles Result but
your result is jsp page. I think you need to change it to tile definition.
Hi,
Thanks for the response. Thats not my problem. I do not need
TilesDecorationFilter for that.
Hi,
I am trying to get TilesDecorationFilter
(http://tiles.apache.org/tutorial/advanced/utils.html) to work with
struts2.0.9 without any success. Can anyone please help me figure out
where am I going wrong? I am not sure if this is a tiles list question
or struts?
Tiles is decorating jsps but
2007/11/6, Amit Rana [EMAIL PROTECTED]:
I am trying to get TilesDecorationFilter
(http://tiles.apache.org/tutorial/advanced/utils.html) to work with
struts2.0.9 without any success. Can anyone please help me figure out
where am I going wrong? I am not sure if this is a tiles list question
or
Hi,
by quickly looking at your struts.xml, it seems that the result type misses:
action name=home class=com.tj.actions.HomeAction
result type=tilesjsp/home.jsp/result
^
/action
I think it should
Oups, and I forgot the fact that the result has to be defined in the
tiles.xml file, it will not work by just adding the result type.
--
Ghislain
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi,
I can not make Tiles work with the 2.0.5, and I have the same problem with
the Showcase app bundled with this version. It is exactly the same log :
org.apache.jasper.JasperException: /common/layoutTemplate.jsp(8,9) Aucun
tag attribute dans la librairie de tag importée avec le préfixe tiles
, if I set validate=false in the struts config.
So I can't use the validate method of the bean?
Is there an alternative for this method?
Best regards,
Sebastian Marten
Sebastian Marten schrieb:
Hello List,
I have a problem with Struts Tiles.
First I wrote all sub-page's for a very little Web shop
of searching i found the problem.
All pages work, if I set validate=false in the struts config.
So I can't use the validate method of the bean?
Is there an alternative for this method?
Best regards,
Sebastian Marten
Sebastian Marten schrieb:
Hello List,
I have a problem with Struts Tiles.
First I
of the bean?
Is there an alternative for this method?
Best regards,
Sebastian Marten
Sebastian Marten schrieb:
Hello List,
I have a problem with Struts Tiles.
First I wrote all sub-page's for a very little Web shop.
Then i started with tiles and created a simple test layout.
Nothing special
Hello List,
I have a problem with Struts Tiles.
First I wrote all sub-page's for a very little Web shop.
Then i started with tiles and created a simple test layout.
Nothing special, but it works.
I have several normal pages, like the page katliste.jsp
I click the link to the related action
After several hours of searching i found the problem.
All pages work, if I set validate=false in the struts config.
So I can't use the validate method of the bean?
Is there an alternative for this method?
Best regards,
Sebastian Marten
Sebastian Marten schrieb:
Hello List,
I have a problem
-Problem-with-Tiles-tf2202000.html#a6096810
Sent from the Struts - User forum at Nabble.com.
It seems that your message has been corrupted. Try to resend it.
jaikarthi ha scritto:
Hi,
I am trying to handle JSP Exception in my Project. We are using Tiles
plug in in our project.
My Layout definition is
My header and footer
Hi,
please find the problem
Hi,
I am trying to handle JSP Exception in my Project. We are using Tiles
plug in in our project.
My Layout definition is
definition name=page.layout path=/WEB-INF/pages/tiles/Layout.jsp
put name=title value=/
put
jaikarthi ha scritto:
definition name=page.layout path=/WEB-INF/pages/tiles/Layout.jsp
put name=title value=/
put name=header value=/WEB-INF/pages/tiles/header.jsp/
put name=body value= /
put name=footer value=/WEB-INF/pages/tiles/footer.jsp/
Hi,
I am not getting any exception in log.
Antonio Petrelli wrote:
jaikarthi ha scritto:
definition name=page.layout path=/WEB-INF/pages/tiles/Layout.jsp
put name=title value=/
put name=header
value=/WEB-INF/pages/tiles/header.jsp/
put
Ahmed Hashim ha scritto:
I solved the problem
I think you are right, I can not call any tiles definition directly without
calling an action
I made a generic action definition to view my pages
check the solution in my blog
http://www.egjug.org/struts_action_foward_to_Tiles
Ahmed Hashim
Thanks Antonio,
Actually in my application I didn't allow the user to expose any jsp using
the action. I used this techniques for a certain type of pages using a
specific pattern in the generic action.
So, I think it is more secure.
Thanks.
Ahmed Hashim
On 4/14/06, Antonio Petrelli [EMAIL
I solved the problem
I think you are right, I can not call any tiles definition directly without
calling an action
I made a generic action definition to view my pages
check the solution in my blog
http://www.egjug.org/struts_action_foward_to_Tiles
Ahmed Hashim
On 4/10/06, Dave Newton [EMAIL
Ahmed Hashim ha scritto:
...
but i remember that I can request the page directly...
You remember wrong! You cannot request a Tiles definition directly. You
have at least to write a simple JSP page with tiles:insert tag.
You can invoke a Tiles definition directly only through a forward, if
Ahmed Hashim wrote:
I tried to forward to loginPage.page from the action and it is working fine,
but i remember that I can request the page directly...
any suggestion?
You can use tile definitions as input or forward attribute values in
your Struts config file; is that what you mean?
Dave
what is wrong with this configuration?
?xml version=1.0 encoding=UTF-8?
!DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts
Configuration 1.2//EN http://struts.apache.org/dtds/struts-config_1_2.dtd
struts-config
data-sources /
form-beans
form-bean name=loginForm
I think you should add an action in the action-mappings section for
loginPage action. You request have not been processed by tiles yet.
// Yang
On 4/9/06, Ahmed Hashim [EMAIL PROTECTED] wrote:
what is wrong with this configuration?
?xml version=1.0 encoding=UTF-8?
!DOCTYPE struts-config
I tried to forward to loginPage.page from the action and it is working fine,
but i remember that I can request the page directly...
any suggestion?
On 4/9/06, Yang Sun [EMAIL PROTECTED] wrote:
I think you should add an action in the action-mappings section for
loginPage action. You request
I change the MessageResources.properties, update the servlet context, export
the files to the webapp directory in tomcat and when view the page i've got
this error:
(i don't know if this are the correct steps! i'm using linux and the sysdeo
plugin don't start the tomcat for me like many
copy tools.jar from jdk directory to {TomcatBaseDir}/common/lib
to make it work.
vinicius [EMAIL PROTECTED]
01/31/2006 02:13 PM
Please respond to Struts Users Mailing List
To: user@struts.apache.org
cc:
Subject:problem struts+tiles+eclipse+tomcat5+j2sdk
to Struts Users Mailing List
To: user@struts.apache.org
cc:
Subject:problem struts+tiles+eclipse+tomcat5+j2sdk-sun
I change the MessageResources.properties, update the servlet context,
export
the files to the webapp directory in tomcat and when view the page
Hey all,
So I am trying to get outbound url rewriting working using the Tuckey
URLRewrite Filter (http://tuckey.org/urlrewrite/) with Struts 1.2.7
with Tiles 1.1.
It appears that my outbound rules are not even being evaluated when the
Struts target is a tile. As a result none of my links
On Dec 15, 2005, at 5:14 PM, Randy Shepherd wrote:
So I am trying to get outbound url rewriting working using the
Tuckey URLRewrite Filter (http://tuckey.org/urlrewrite/) with
Struts 1.2.7 with Tiles 1.1.
It appears that my outbound rules are not even being evaluated when
the Struts
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I should clarify one thing. The target JSP when made a tile, is
included in the body of the tile definition tag that extends a
template., If I make the target JSP the path, and do not have the
definition inherit from a template, then the outbound
On Nov 19, 2005, at 2:11 PM, Laurie Harper wrote:
I haven't been tracking the status of the 'standalone Tiles' work,
but I believe it's either done or close to done.
I haven't had much time to work on Standalone of late. I've been
trying to shore up the doc for the Struts version. But,
Hi,
I want to use Tiles with JSF and without Struts.
Is there a tiles.jar available anywhere, or have I to install struts.jar?
Best regards,
Götz
--
Mit freundlichen Grüßen,
Dr. Götz Wankelmuth
-
Dr. Götz Wankelmuth
Weiherstr. 4a
D-90530
Götz Wankelmuth wrote:
Hi,
I want to use Tiles with JSF and without Struts.
Is there a tiles.jar available anywhere, or have I to install struts.jar?
Not yet (at least not released), but it's being worked on. I haven't
been tracking the status of the 'standalone Tiles' work, but I believe
On 11/19/05, Laurie Harper [EMAIL PROTECTED] wrote:
Götz Wankelmuth wrote:
Hi,
I want to use Tiles with JSF and without Struts.
Is there a tiles.jar available anywhere, or have I to install struts.jar
?
Not yet (at least not released), but it's being worked on. I haven't
been
Thank you Richard for the answering... Since my app is written in a lower J2EE
version so I have to use strutstest_2.0.0.jar which doesn't support
verifyTilesForward() method.
Any other suggestions? Thanks.
Richard Yee [EMAIL PROTECTED] wrote:
Carl,
Check the CactusStrutsTestCase javadoc.
Carl,
Check the CactusStrutsTestCase javadoc. You should use
verifyTilesForward instead of verifyForward(). There is also a
verifyInputTilesForward() too.
-Richard
Carl Smith wrote:
Is there any helps here? Thank you in advance.
Carl Smith [EMAIL PROTECTED] wrote:
I am sorry for this a
Is there any helps here? Thank you in advance.
Carl Smith [EMAIL PROTECTED] wrote:
I am sorry for this a little long question, but you will be finding it
interesting... Simply put, I have (1),(2) and (3), then we I run struts
testing, I got error described as (4)
(1) item in
Firstly, when starting a new topic it's a better idea to post a new
message rather than replying to an existing one. Anyone not following
the thread you reply on wont see you message if you do that.
As far as your problem goes, it's not clear what the problem is because
it doesn't look like
I am sorry for this a little long question, but you will be finding it
interesting... Simply put, I have (1),(2) and (3), then we I run struts
testing, I got error described as (4)
(1) item in struts-config.xml
action path=/MyAction
type=my.actions.myAction
name=myForm
Hi There,
I am stuck at one place while working with tiles, please help.
I have my tiles-defs.xml as this:
tiles-definitions
definition name=.mainLayout path=/WEB-INF/tiles/layout.jsp
put name=title value=Welcome to Net Model/
put name=pageheading value=/
put name=header
Hello all,
HUUGE apologies to Struts 1.3 Tiles 1.3 team..
Tiles worked just fine..it was me that in migrating app
From 1.2 to 1.3 I removed one plugin that was storing
Some data in applicationContext
The null pointer exception in tiles made me think that
Tiles was the problem
org.apache.struts.taglib.tiles to org.apache.struts.tiles.taglib)
So I have replaced all org.apache.struts.taglib.tiles
to org.apache.struts.tiles.taglib, but still when
running
My application I got exception.
Can anyone spot whats the problem
with tiles? Am I using the correct struts-tiles.tld?
Do I need
application I got exception.
Can anyone spot what's the problem with tiles? Am I using the correct
struts-tiles.tld?
Do I need additional files?
I tried to put the two logging files mentioned in the Tiles documentation in
my \classes directory, but still
I am experiencing same problem
all org.apache.struts.taglib.tiles to
org.apache.struts.tiles.taglib, but still when running
My application I got exception.
Can anyone spot what's the problem with tiles? Am I using the correct
struts-tiles.tld?
Do I need additional files?
I tried to put the two logging files mentioned
http://svn.apache.org/builds/struts/maven/nightly/
-Original Message-
From: ziggler [mailto:[EMAIL PROTECTED]
Sent: 27 April 2005 09:09
To: Struts Users Mailing List
Subject: Re: problem with Tiles Struts 1.3
where is struts1.3?
On 4/27/05, Marco Mistroni [EMAIL PROTECTED] wrote
to a different package (from org.apache.struts.taglib.tiles
to org.apache.struts.tiles.taglib)
So I have replaced all org.apache.struts.taglib.tiles to
org.apache.struts.tiles.taglib, but still when running
My application I got exception.
Can anyone spot what's the problem with tiles? Am I using the correct
1.1. does not work with Tiles 1.3
Thanx and regards
marco
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: 27 April 2005 14:10
To: Marco Mistroni; user@struts.apache.org
Subject: RE: problem with Tiles Struts 1.3 / Found exception stack
Trace
Just
At 2:58 PM +0100 4/27/05, Marco Mistroni wrote:
I am not blaming Struts 1.3 :-)
I am actually more concerned with Tiles by itself, since I was not
Able to use the same .tld file that I was able to use with Struts 1.1
Yes, we should make sure to note that on the migrating to Struts
1.3
bump
Dakota Jack,
Still interested in how you would provide an implementation since you
mention you didn't like the view being tightly bound.
Rick Reumann wrote the following on 1/27/2005 10:49 AM:
Dakota Jack wrote the following on 1/27/2005 12:24 AM:
For me, and of course I speak for myself
Dakota Jack wrote the following on 1/27/2005 12:24 AM:
For me, and of course I speak for myself alone, I could not stand the
view being so tightly bound as your suggestion. Maybe I misunderstand
what you are doing.
The reason I like the approach I favor is that you can write the
Struts code in
For those who care. The question I posed was how do people deal with the
situation when using Tiles where they often need to create titles and or
information for headers that is slightly dynamic. For example rather
than simply have a Title or label that says...
User Selection you might want a
snip
On Wed, 26 Jan 2005 16:12:17 -0500, Rick Reumann [EMAIL PROTECTED] wrote:
If someone has a better way to handle this, please let me know.
/snip
I don't know if this is better or not, but I really prefer having
some sort of module or area or whatever you want to call it that
handles state
Hi Every body,
I developed a page using tiles and used struts-html tags in template page. As a result
when main page is excuted struts-html tags in template page are not rendered. How to
get Struts-html tags rendred when calling template page in main page?
Amit Gupta
-Original Message-
From: Amit Gupta [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 06, 2004 12:55 AM
To: Struts Users Mailing List
Subject: problem with tiles
Hi Every body,
I developed a page using tiles and used struts-html tags in template page.
As a result when main page
Greetings:
Perhaps you can help me with a real problem I am having using Tiles.
I have an understanding of how to use Tiles; I have several pages that
use several parts of JSPs, as illustrated by the example below:
%@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles %
tiles:insert
Greetings:
Perhaps you can help me with a real problem I am having using Tiles.
I have an understanding of how to use Tiles; I have several pages that
use several parts of JSPs, as illustrated by the example below:
%@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles %
tiles:insert
Hi,
Our application resides on a machine which does not
have a direct connection to the internet. So, I have
changed all the references to dtds to be on the local
machine.
The struts the tiles config file reference their
dtds in the same directory.
!DOCTYPE tiles-definitions PUBLIC
From: Ashwin D [mailto:[EMAIL PROTECTED]
Our application resides on a machine which does not
have a direct connection to the internet. So, I have
changed all the references to dtds to be on the local
machine.
If you leave the dtds alone, and leave them inside the .jar files, and
refer to
85 matches
Mail list logo