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-
24 matches
Mail list logo