struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken McWilliams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-3931) Create tiles-3 plugin supporting a compatible result type
Date Sat, 20 Apr 2013 04:09:18 GMT

    [ https://issues.apache.org/jira/browse/WW-3931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13637112#comment-13637112
] 

Ken McWilliams commented on WW-3931:
------------------------------------

Previously was interested in getting conventions and tiles to co-operate,
because tiles definitions are up to the developer the best that can be done
is create a location string which is passed to tiles and require that the
tiles users implement appropriate tiles.

Anyways here is something I'm using in my own project I find it helpful and
if you can think of a way to include any of this code let me know:
http://stackoverflow.com/questions/16116142/how-to-integrate-struts-conventions-with-tiles-such-that-the-benefit-of-conventi/16116396#16116396

You can see in this solution I'm just using ".jsp" really in a general
solution just the ( namespace + "#" + actionName ) should be passed a tiles
user can account for the specific extension, I think it was just lazyness
for the way it is in that example.

And Lukasz thank you very much for the help!




                
> Create tiles-3 plugin supporting a compatible result type
> ---------------------------------------------------------
>
>                 Key: WW-3931
>                 URL: https://issues.apache.org/jira/browse/WW-3931
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Tiles
>    Affects Versions: 2.1.3, 2.3.7
>            Reporter: Ken McWilliams
>            Assignee: Lukasz Lenart
>            Priority: Minor
>              Labels: patch, tiles
>             Fix For: 2.3.12
>
>         Attachments: TilesResult.java
>
>
> The current struts2 plug-in uses an older version of tiles (version 2.0.6) this version
is lacking some very useful features (one being using OGNL expressions within tiles definitions).
Although many new features can be added by manually upgrading the tiles version to 2.2.2 however
breaking changes to the API mean that the struts2 plugin no longer functions with higher versions
of tiles. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message