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*,putL
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
---
EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/jUnit-Testing-Problem-with-Tiles-tp18131822p18134225.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscrib
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
---
without initialization Tiles won't work.
>
> Antonio
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message
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
nnot understand.
>
> Antonio
>
> ---------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/jUnit-T
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 th
e, 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-tp18131822p18133546.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
> 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-tp18131
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
--
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
gt;>
>
> Have you got a "classpath-defs.xml" anywhere in your code? If not, remove
> it.
>
> Antonio
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTE
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
-
At least they made it to the tournament :(
Dave Newton wrote:
--- 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
---
--- 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: [EMA
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 an
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
--- 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
> Choose one and configure it. I suggest to use StrutsTilesListener
> only. Configuring it means putting a context parameter. See:
> http://tiles.apache.org/tutorial/configuration.html
>
> Antonio
>
> ---
2008/6/26 ezgi <[EMAIL PROTECTED]>:
>
> This is the tiles.defs.xml :
>
>
>org.apache.struts2.tiles.StrutsTilesListener
>
>
>
>
>tiles
>
>org.apache.tiles.web.start
---
> 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-tp18131822p18132170.html
Sent from the Struts - User mailing lis
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 yo
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
--
derstand 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. What can
be the solution;?
Thanks
jUnit newbie Ezgi :)
--
View this message in context:
http://www.nabble.com/jUnit-Testing-
-- 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 tha
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
>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 po
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: [EMAI
Hi,
by quickly looking at your struts.xml, it seems that the result type misses:
jsp/home.jsp
^
I think it should now work
Cheers
Ghislain
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 questi
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 n
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"
I don't know why setting validate=true would change how Tiles constructs
the page, but a couple of observations which might help:
- your action mapping doesn't have an 'input' attribute defined to tell
Struts what to display if validation fails
- your form bean extends ActionForm, not Validat
Thanks for your answer.
If i set validate="true" the layout is not applied. I see only the page
"createuser.jsp"
If i set validate="false" it works fine...
Why?
Ok here my config files:
If you nee more informations, just say it.
struts-config.xml
You can certainly use automatic validation together with Tiles, so
that's not the problem. You'll need to post your relevant
struts-config.xml excerpts and tiles-defs, and possibly relevant bits of
JSP so we can see what you're doing wrong.
L.
Sebastian Marten wrote:
After several hours of s
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 p
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:
U
Hi,
I am not getting any exception in log.
Antonio Petrelli wrote:
>
> jaikarthi ha scritto:
>>
>>
>> > value="/WEB-INF/pages/tiles/header.jsp"/>
>>
>>
>>
>>
>> ...
>>
>> > path="/jspException"
>> type
jaikarthi ha scritto:
...
path="/jspException"
type="com.sen.exception.JspExceptionHandlerAction"
scope="request" >
redirect="false/>
my action class gets executed and success is forwarded,b
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
My header and footer remains same in all pages.
in my
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 re
nabble.com/Reg-%3A-JSP-Exception-Handling-Problem-with-Tiles-tf2202000.html#a6096810
Sent from the Struts - User forum at Nabble.com.
-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 r
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 targ
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 tha
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, h
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 hav
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
i
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 Wendelstein
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 l
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 yo
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 struts-config.x
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
(2) item in tiles-defs.xml
There are 2 ways of doing it.
1) Get the "pageheading" in the layout.jsp and pass it on to the header.jsp
2) If you need the "pageheading" inside the heading.jsp, it's better to make
the "header" a separate definition and use the "pageheading" directly in the
header.jsp
Hi There,
I am stuck at one place while working with tiles, please help.
I have my tiles-defs.xml as this:
AND /WEB-INF/tiles/layout.jsp as this:
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-html.tl
problem..
Again, apologies, everything is working just fine..
Regards
marco
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: 27 April 2005 15:34
To: Marco Mistroni; 'Struts Users Mailing List'
Subject: RE: problem with Tiles & Struts 1.3 / Found exce
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" p
Its in the tiles 1.3 jar (i.e. struts-tiles-1.3.0-dev.jar)
Niall
- Original Message -
From: "Marco Mistroni" <[EMAIL PROTECTED]>
Sent: Wednesday, April 27, 2005 2:58 PM
> Hello Joe,
> I am not blaming Struts 1.3 :-)
> I am actually more concerned with Tiles by itself, since I was not
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
Jus
t some classes
Were moved 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
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]
e 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
struts-tiles.tld?
Do I need additional files?
I tried to put the two logging files m
gt;
> 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
> struts-tiles.tld?
>
(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 struts
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 alone
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 the
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.
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 for
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
-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 is excut
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
> 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 t
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.
This works fine with Struts. However, Tile
75 matches
Mail list logo