You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Syed Ibrahim <sy...@paradyne.co.in> on 2007/03/30 14:12:18 UTC

integrating Tiles in Struts2

Hi,

I have used tiles in Struts 1.3
But I am not able to integrate Tiles in Struts2.

I found on Apache website that tiles is an experimental feature. So is it
advisable to use tiles in Struts2?

If yes, please give me the steps to integrate tiles in struts2.

Thanks in advance.

Ibrahim.



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


Re: integrating Tiles in Struts2

Posted by Dave Newton <ne...@yahoo.com>.
--- Marco Carnevale <ma...@gmail.com> wrote:
> I was looking at the Confuence Documentation
> yesterday and I see the corrections have already
been
> made to the information in Confluence. Unfortunatly 
> the updates have not propogated to the link I 
> mentioned in the previous e-mail.

They'll get there; there's a lag.

d.



 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

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


Re: integrating Tiles in Struts2

Posted by Marco Carnevale <ma...@gmail.com>.
I was looking at the Confuence Documentation yesterday and I see the
corrections have already been made to the information in Confluence.
Unfortunatly the updates have not propogated to the link I mentioned in the
previous e-mail.

On 4/3/07, Greg Reddin <gr...@gmail.com> wrote:
>
> On 4/2/07, Marco Carnevale <ma...@gmail.com> wrote:
> >
> > I had a few issues while working with tiles 2 / struts 2.  Mainly the
> > problem I found was that the documentation I was reading(
> > http://struts.apache.org/2.x/docs/tiles-plugin.html ) has incorrect
> > information.
>
>
> Could you open a JIRA ticket and submit ths information so we'll know we
> need to fix it?
>
>    https://issues.apache.org/struts/secure/Dashboard.jspa
>
> Thanks,
> Greg
>

Re: integrating Tiles in Struts2

Posted by Greg Reddin <gr...@gmail.com>.
On 4/2/07, Marco Carnevale <ma...@gmail.com> wrote:
>
> I had a few issues while working with tiles 2 / struts 2.  Mainly the
> problem I found was that the documentation I was reading(
> http://struts.apache.org/2.x/docs/tiles-plugin.html ) has incorrect
> information.


Could you open a JIRA ticket and submit ths information so we'll know we
need to fix it?

    https://issues.apache.org/struts/secure/Dashboard.jspa

Thanks,
Greg

Re: integrating Tiles in Struts2

Posted by Marco Carnevale <ma...@gmail.com>.
I had a few issues while working with tiles 2 / struts 2.  Mainly the
problem I found was that the documentation I was reading(
http://struts.apache.org/2.x/docs/tiles-plugin.html ) has incorrect
information.

Correction #1: the taglib uri is NOT  <%@ taglib uri="http://struts
.apache.org/tags-tiles" prefix="tiles" %>

as shown in the example.  It IS <%@ taglib uri="http://tiles
.apache.org/tags-tiles" prefix="tiles" %>.
Correction #2: the tag is NOT <tiles:attribute name="header"/> as shown in
the example.  It is <tiles:insertAttribute name="header"/>

Once I realized these mistakes things became a lot easier.  I think the
errors in the link above are cut/paste errors from the previous version of
tiles.

Hope this helps.




On 3/30/07, Syed Ibrahim <sy...@paradyne.co.in> wrote:
>
> Hi,
>
> I have used tiles in Struts 1.3
> But I am not able to integrate Tiles in Struts2.
>
> I found on Apache website that tiles is an experimental feature. So is it
> advisable to use tiles in Struts2?
>
> If yes, please give me the steps to integrate tiles in struts2.
>
> Thanks in advance.
>
> Ibrahim.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: integrating Tiles in Struts2

Posted by Dave Newton <ne...@yahoo.com>.
--- Syed Ibrahim <sy...@paradyne.co.in> wrote:
> If yes, please give me the steps to integrate tiles
> in struts2.

Use the Tiles plugin. The S2 distro includes Tiles 2.

http://struts.apache.org/2.x/docs/tiles-plugin.html

I have had no significant issues with S2/T2 (so far)
and hopefully the TLD is fairly stable now. I do not
do anything even remotely sophisticated with T2,
though.

d.



 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

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