Re: Struts2.1.6 & Tiles 2.1

2009-02-11 Thread aarthy

Thanks Antonio..


Antonio Petrelli-3 wrote:
> 
> 2009/2/10 Jaarthy :
>>
>>org.apache.struts2.tiles.StrutsTilesListener
>>
> 
> Currently StrutsTilesListener does not work with Tiles 2.1.
> Please try to use the plain TilesListener:
> http://tiles.apache.org/framework/tutorial/configuration.html
> 
> Antonio
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Struts2.1.6---Tiles-2.1.1-tp21928113p21966752.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Struts2.1.6 & Tiles 2.1

2009-02-11 Thread stanlick
Thanks Antonio --

I'll give it a spin.

Peace,
Scott

On Wed, Feb 11, 2009 at 2:42 AM, Antonio Petrelli <
antonio.petre...@gmail.com> wrote:

> 2009/2/10 Jaarthy :
> >
> >org.apache.struts2.tiles.StrutsTilesListener
> >
>
> Currently StrutsTilesListener does not work with Tiles 2.1.
> Please try to use the plain TilesListener:
> http://tiles.apache.org/framework/tutorial/configuration.html
>
> Antonio
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Struts2.1.6 & Tiles 2.1

2009-02-11 Thread Antonio Petrelli
2009/2/10 Jaarthy :
>
>org.apache.struts2.tiles.StrutsTilesListener
>

Currently StrutsTilesListener does not work with Tiles 2.1.
Please try to use the plain TilesListener:
http://tiles.apache.org/framework/tutorial/configuration.html

Antonio

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: Struts2.1.6 & Tiles 2.1.

2009-02-10 Thread Griffith, Michael *
Gotcha, sorry I couldn't be more help.

MG 

-Original Message-
From: Jaarthy [mailto:aarthyj...@yahoo.com] 
Sent: Tuesday, February 10, 2009 6:14 PM
To: user@struts.apache.org
Subject: RE: Struts2.1.6 & Tiles 2.1.


the same was working fine with Struts2.0.6 and Tiles 2.0.

Griffith, Michael * wrote:
> 
> Jaarthy,
> 
> It looks like your  tag is trying to point to a tile, vs. an 
> action that returns the tile result.
> 
> Here's an example:
> 
>   href="%{projectList}">
> 
> 
> 
>   
>type="tiles">list-project.panel
>   
> 
> 
> 
> 
>  
>   
>  
>   
>value="/component/search-results.jsp"/>
> 
> 
> HTH,
> 
> MG
>  
> 
> -Original Message-----
> From: Jaarthy [mailto:aarthyj...@yahoo.com]
> Sent: Tuesday, February 10, 2009 3:40 PM
> To: user@struts.apache.org
> Subject: Re: Struts2.1.6 & Tiles 2.1.
> 
> 
> Here is my
> 
> web.xml
> --
> 
> 
> 
>   xmlns="http://java.sun.com/xml/ns/j2ee";
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
> 
>   
>   Struts 2 
>   Struts 2
>   
>   
>   This context parameter specifies
the name and location
>   of the Spring root application context
file.
>   contextConfigLocation
>   
> classpath*:applicationContext*.xml
>   
>   
>   
>   This context parameter specifies
the name and location
>   of the Tiles Definitions file.
>   
> org.apache.tiles.DEFINITIONS_CONFIG
>   
> /WEB-INF/classes/tiles-defs.xml
>   
>   
>   
>   
>   org.apache.tiles.evaluator.AttributeEvaluator
>   
>   
>   
>   org.apache.tiles.evaluator.el.ELAttributeEvaluator
> 
>   
> 
>   
>   
>   struts2
>
> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAnd
> Ex
> ecuteFilter
>   
>   
>   
> openSessionInViewFilter
>   /*
>   
>   
> struts2
> /*
> 
>   
> 
> 
> struts2
>
> org.apache.struts2.dispatcher.FilterDispatcher la
> ss>
> 
> actionPackages
> com.as.sample.webapp.action
> 
> 
> 
>   
>   
>   
>   org.apache.struts2.tiles.StrutsTilesListener
>   
> 
> 
> 
> struts.xml
> --
> 
> 
>  "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
> "http://struts.apache.org/dtds/struts-2.0.dtd";>
> 
> 
>   
>class="org.apache.struts2.views.tiles.TilesResult" default="true" />
>   
>   
>   
>   login
>   
>  
> 
> 
> tiles-defs.xml
> --
> 
> 
>   Foundation//DTD Tiles Configuration 2.0//EN"
> "http://tiles.apache.org/dtds/tiles-config_2_0.dtd";>
> 
> 
> 
> 
>   
>   
>   
>   
>   
> 
> 
> In my home page,when i click on the login link  "title="login">Login I get an error page,In the logs I see a warning 
> message WARN:"Unable to find the definition 'login'.
> 
> Where am I going wrong?
> 
> Aarthy
> 
> 
> Lukasz Lenart wrote:
>> 
>> 2009/2/10 Jaarthy :
>>> I am trying to integrate Struts2.1.6 with tiles2.1.1. When I click 
>>> on
> 
>>> the login link,I am getting "Unable to find the definition"warning 
>>> Message in my logs.Any help on this issue will be appreciated.
>> 
>> Sorry, I loose my magic ball, you will have to provide more details.
>> 
>> 
>> Regards
>> --
>> Lukasz
>> http://www.lenart.org.pl/
>> 
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>> 
>> 
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/Struts2.1.6---

RE: Struts2.1.6 & Tiles 2.1.

2009-02-10 Thread Jaarthy

the same was working fine with Struts2.0.6 and Tiles 2.0.

Griffith, Michael * wrote:
> 
> Jaarthy, 
> 
> It looks like your  tag is trying to point to a tile, vs. an
> action that returns the tile result. 
> 
> Here's an example:
> 
> 
> 
> 
> 
> 
>   
>type="tiles">list-project.panel
>   
> 
> 
> 
> 
>  
>  
> 
> 
>   
>value="/component/search-results.jsp"/>
> 
> 
> HTH,
> 
> MG
>  
> 
> -Original Message-
> From: Jaarthy [mailto:aarthyj...@yahoo.com] 
> Sent: Tuesday, February 10, 2009 3:40 PM
> To: user@struts.apache.org
> Subject: Re: Struts2.1.6 & Tiles 2.1.
> 
> 
> Here is my 
> 
> web.xml
> --
> 
> 
> 
>   xmlns="http://java.sun.com/xml/ns/j2ee";
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
> 
>   
>   Struts 2 
>   Struts 2
>   
>   
>   This context parameter specifies
> the name and location 
>   of the Spring root application context
> file.
>   contextConfigLocation
>   
> classpath*:applicationContext*.xml
>   
>   
>   
>   This context parameter specifies
> the name and location 
>   of the Tiles Definitions file.
>   
> org.apache.tiles.DEFINITIONS_CONFIG
>   
> /WEB-INF/classes/tiles-defs.xml
>   
>   
>   
>   
>   org.apache.tiles.evaluator.AttributeEvaluator
>   
>   
>   
>   org.apache.tiles.evaluator.el.ELAttributeEvaluator
> 
>   
> 
>   
>   
>   struts2
>
> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndEx
> ecuteFilter
>   
>   
>   
> openSessionInViewFilter
>   /*
>   
>   
> struts2
> /*
> 
>   
> 
> 
> struts2
>
> org.apache.struts2.dispatcher.FilterDispatcher ss>
> 
> actionPackages
> com.as.sample.webapp.action
> 
>  
> 
>   
>   
>   
>   org.apache.struts2.tiles.StrutsTilesListener
>   
> 
> 
> 
> struts.xml
> --
> 
> 
>  "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
> "http://struts.apache.org/dtds/struts-2.0.dtd";>
> 
> 
>   
>class="org.apache.struts2.views.tiles.TilesResult" default="true" />
>   
>   
>   
>   login
>   
>  
> 
> 
> tiles-defs.xml
> --
> 
> 
>   Foundation//DTD Tiles Configuration 2.0//EN"
> "http://tiles.apache.org/dtds/tiles-config_2_0.dtd";>
> 
> 
> 
> 
>   
>   
>   
>   
>   
> 
> 
> In my home page,when i click on the login link  "title="login">Login I get an error page,In the logs I see a warning
> message WARN:"Unable to find the definition 'login'.
> 
> Where am I going wrong?
> 
> Aarthy
> 
> 
> Lukasz Lenart wrote:
>> 
>> 2009/2/10 Jaarthy :
>>> I am trying to integrate Struts2.1.6 with tiles2.1.1. When I click on
> 
>>> the login link,I am getting "Unable to find the definition"warning 
>>> Message in my logs.Any help on this issue will be appreciated.
>> 
>> Sorry, I loose my magic ball, you will have to provide more details.
>> 
>> 
>> Regards
>> --
>> Lukasz
>> http://www.lenart.org.pl/
>> 
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>> 
>> 
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/Struts2.1.6---Tiles-2.1.1-tp21928113p21943239.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Struts2.1.6---Tiles-2.1.1-tp21928113p21945765.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: Struts2.1.6 & Tiles 2.1.

2009-02-10 Thread Griffith, Michael *
Jaarthy, 

It looks like your  tag is trying to point to a tile, vs. an
action that returns the tile result. 

Here's an example:







list-project.panel





 
 






HTH,

MG
 

-Original Message-
From: Jaarthy [mailto:aarthyj...@yahoo.com] 
Sent: Tuesday, February 10, 2009 3:40 PM
To: user@struts.apache.org
Subject: Re: Struts2.1.6 & Tiles 2.1.


Here is my 

web.xml
--



http://java.sun.com/xml/ns/j2ee";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>


Struts 2 
Struts 2


This context parameter specifies
the name and location 
of the Spring root application context
file.
contextConfigLocation

classpath*:applicationContext*.xml



This context parameter specifies
the name and location 
of the Tiles Definitions file.

org.apache.tiles.DEFINITIONS_CONFIG

/WEB-INF/classes/tiles-defs.xml




org.apache.tiles.evaluator.AttributeEvaluator



org.apache.tiles.evaluator.el.ELAttributeEvaluator





struts2
   
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndEx
ecuteFilter



openSessionInViewFilter
/*


struts2
/*




struts2
   
org.apache.struts2.dispatcher.FilterDispatcher

actionPackages
com.as.sample.webapp.action

 




org.apache.struts2.tiles.StrutsTilesListener




struts.xml
--


http://struts.apache.org/dtds/struts-2.0.dtd";>







login

   


tiles-defs.xml
--


 http://tiles.apache.org/dtds/tiles-config_2_0.dtd";>











In my home page,when i click on the login link Login I get an error page,In the logs I see a warning
message WARN:"Unable to find the definition 'login'.

Where am I going wrong?

Aarthy


Lukasz Lenart wrote:
> 
> 2009/2/10 Jaarthy :
>> I am trying to integrate Struts2.1.6 with tiles2.1.1. When I click on

>> the login link,I am getting "Unable to find the definition"warning 
>> Message in my logs.Any help on this issue will be appreciated.
> 
> Sorry, I loose my magic ball, you will have to provide more details.
> 
> 
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

--
View this message in context:
http://www.nabble.com/Struts2.1.6---Tiles-2.1.1-tp21928113p21943239.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Struts2.1.6 & Tiles 2.1.

2009-02-10 Thread Jaarthy

Here is my 

web.xml
--



http://java.sun.com/xml/ns/j2ee";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>


Struts 2 
Struts 2


This context parameter specifies the name 
and location 
of the Spring root application context 
file.
contextConfigLocation

classpath*:applicationContext*.xml



This context parameter specifies the name 
and location 
of the Tiles Definitions file.

org.apache.tiles.DEFINITIONS_CONFIG

/WEB-INF/classes/tiles-defs.xml




org.apache.tiles.evaluator.AttributeEvaluator



org.apache.tiles.evaluator.el.ELAttributeEvaluator





struts2
   
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter


openSessionInViewFilter
/*


struts2
/*




struts2
   
org.apache.struts2.dispatcher.FilterDispatcher

actionPackages
com.as.sample.webapp.action

 




org.apache.struts2.tiles.StrutsTilesListener




struts.xml
--


http://struts.apache.org/dtds/struts-2.0.dtd";>







login

   


tiles-defs.xml
--


 http://tiles.apache.org/dtds/tiles-config_2_0.dtd";>











In my home page,when i click on the login link
Login  
I get an error page,In the logs I see a warning message WARN:"Unable to find
the definition 'login'.

Where am I going wrong?

Aarthy


Lukasz Lenart wrote:
> 
> 2009/2/10 Jaarthy :
>> I am trying to integrate Struts2.1.6 with tiles2.1.1. When I click on the
>> login link,I am getting "Unable to find the definition"warning Message in
>> my
>> logs.Any help on this issue will be appreciated.
> 
> Sorry, I loose my magic ball, you will have to provide more details.
> 
> 
> Regards
> -- 
> Lukasz
> http://www.lenart.org.pl/
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Struts2.1.6---Tiles-2.1.1-tp21928113p21943239.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Struts2.1.6 & Tiles 2.1.

2009-02-10 Thread Lukasz Lenart
2009/2/10 Jaarthy :
> I am trying to integrate Struts2.1.6 with tiles2.1.1. When I click on the
> login link,I am getting "Unable to find the definition"warning Message in my
> logs.Any help on this issue will be appreciated.

Sorry, I loose my magic ball, you will have to provide more details.


Regards
-- 
Lukasz
http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org