You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tiles.apache.org by Antonio Petrelli <an...@gmail.com> on 2007/07/24 15:34:06 UTC
Re: Tiles 2.0.4 doesn´t work with displaytag
2007/7/24, Pedro Herrera <pe...@hotmail.com>:
>
>
> My application works fine within tiles 2.0.3 and displaytag 1.1.
>
> I was going to test with tiles 2.0.4 and several errors appear to select a
> page.
Can you post the errors you receive, please?
Antonio
Re: Tiles 2.0.4 doesn´t work with displaytag
Posted by Pedro Herrera <pe...@hotmail.com>.
OK . It´s working well !!!!
In table tag(displaytag) the requestURI parameter must be selected.
<dt:table name="alunos" export="true" excludedParams="*"
pagesize="15" id="row" requestURI="alunoLista.action">
bla bla bla .....
</dt:table>
Thanks Antonio
Pedro Herrera
Antonio Petrelli-3 wrote:
>
> 2007/7/24, Pedro Herrera <pe...@hotmail.com>:
>>
>>
>> Yes, I' am using Strus 2.0.9. I´m testing the new release.
>
>
> I think I understood the problem.
> Displaytag uses the latest *forward* to be used to create URLs to
> manipulate
> order, pages, etc.
> In Struts 2.0.9/Tiles 2.0.4 a bug was fixed:
> https://issues.apache.org/struts/browse/WW-1724
> Before the fix, the Tiles layout was included in the response, while,
> after
> the fix, the engine *forwards* to the layout page. Therefore, you will
> have
> the layout JSP in your URLs!
> I think your only option is to override the URL in displaytag.
>
> Antonio
>
>
--
View this message in context: http://www.nabble.com/Tiles-2.0.4-doesn%C2%B4t-work-with--displaytag-tf4135960.html#a11764557
Sent from the tiles users mailing list archive at Nabble.com.
Re: Tiles 2.0.4 doesn´t work with displaytag
Posted by Antonio Petrelli <an...@gmail.com>.
2007/7/24, Pedro Herrera <pe...@hotmail.com>:
>
>
> Yes, I' am using Strus 2.0.9. I´m testing the new release.
I think I understood the problem.
Displaytag uses the latest *forward* to be used to create URLs to manipulate
order, pages, etc.
In Struts 2.0.9/Tiles 2.0.4 a bug was fixed:
https://issues.apache.org/struts/browse/WW-1724
Before the fix, the Tiles layout was included in the response, while, after
the fix, the engine *forwards* to the layout page. Therefore, you will have
the layout JSP in your URLs!
I think your only option is to override the URL in displaytag.
Antonio
Re: Tiles 2.0.4 doesn´t work with displaytag
Posted by Pedro Herrera <pe...@hotmail.com>.
Yes, I' am using Strus 2.0.9. I´m testing the new release.
Herrera
Antonio Petrelli-3 wrote:
>
> 2007/7/24, Pedro Herrera <pe...@hotmail.com>:
>>
>> /siscur//alunoLista.action?d-16544-p=2 2 ,
>
>
>
> Are you using Struts 2 together with Tiles?
> In this case remember that:
> Struts 2.0.8 is compatible only with Tiles 2.0.3
> The upcoming Struts 2.0.9 will be compatible only with Tiles 2.0.4 (and
> hopefully future versions).
>
> Antonio
>
>
--
View this message in context: http://www.nabble.com/Tiles-2.0.4-doesn%C2%B4t-work-with--displaytag-tf4135960.html#a11763968
Sent from the tiles users mailing list archive at Nabble.com.
Re: Tiles 2.0.4 doesn´t work with displaytag
Posted by Antonio Petrelli <an...@gmail.com>.
2007/7/24, Pedro Herrera <pe...@hotmail.com>:
>
> /siscur//alunoLista.action?d-16544-p=2 2 ,
Are you using Struts 2 together with Tiles?
In this case remember that:
Struts 2.0.8 is compatible only with Tiles 2.0.3
The upcoming Struts 2.0.9 will be compatible only with Tiles 2.0.4 (and
hopefully future versions).
Antonio
Re: Tiles 2.0.4 doesn´t work with displaytag
Posted by Pedro Herrera <pe...@hotmail.com>.
<dt:table name="alunos" export="true" excludedParams="*" pagesize="15"
id="row">
.... bla bla
</dt:table>
code snipped (html source) :
TILES 2.0.4 -- href to siteLayout.jsp (error)
868 items found, displaying 1 to 15.[First/Prev] <strong>1</strong>,
/siscur/jsp/template/siteLayout.jsp?d-16544-p=2 2 ,
/siscur/jsp/template/siteLayout.jsp?d-16544-p=3 3 ,
/siscur/jsp/template/siteLayout.jsp?d-16544-p=4 4 ,
/siscur/jsp/template/siteLayout.jsp?d-16544-p=5 5 ,
/siscur/jsp/template/siteLayout.jsp?d-16544-p=6 6 ,
/siscur/jsp/template/siteLayout.jsp?d-16544-p=7 7 ,
/siscur/jsp/template/siteLayout.jsp?d-16544-p=8 8 [
/siscur/jsp/template/siteLayout.jsp?d-16544-p=2 Next /
/siscur/jsp/template/siteLayout.jsp?d-16544-p=58 Last ]
just changing the .jars to TILES 2.0.3 - href to .action (OK !!)
868 items found, displaying 1 to 15.[First/Prev] <strong>1</strong>,
/siscur//alunoLista.action?d-16544-p=2 2 ,
/siscur//alunoLista.action?d-16544-p=3 3 ,
/siscur//alunoLista.action?d-16544-p=4 4 ,
/siscur//alunoLista.action?d-16544-p=5 5 ,
/siscur//alunoLista.action?d-16544-p=6 6 ,
/siscur//alunoLista.action?d-16544-p=7 7 ,
/siscur//alunoLista.action?d-16544-p=8 8 [
/siscur//alunoLista.action?d-16544-p=2 Next /
/siscur//alunoLista.action?d-16544-p=58 Last ]
Herrera
Antonio Petrelli-3 wrote:
>
> 2007/7/24, Pedro Herrera <pe...@hotmail.com>:
>>
>>
>> My application works fine within tiles 2.0.3 and displaytag 1.1.
>>
>> I was going to test with tiles 2.0.4 and several errors appear to select
>> a
>> page.
>
>
>
> Can you post the errors you receive, please?
>
> Antonio
>
>
--
View this message in context: http://www.nabble.com/Tiles-2.0.4-doesn%C2%B4t-work-with--displaytag-tf4135960.html#a11763460
Sent from the tiles users mailing list archive at Nabble.com.