GitHub user cnenning opened a pull request:

    https://github.com/apache/struts/pull/85

    WW-4594: Configure TilesDefs by annotating Actions

    Adds annotations for each element from `tiles.xml` to annotate actions. 
Those annotations are processed by a new class in tiles-plugin which is used by 
TilesResult.
    
    With those annotations it is possible to keep `tiles.xml` very short (e.g. 
just put layout in there) and configure concrete tiles-definitions just by 
annotating actions.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cnenning/struts master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/struts/pull/85.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #85
    
----
commit d9f4054b1367cd7ab6e3f22b9cc677f62def4e83
Author: cnenning <[email protected]>
Date:   2016-01-22T13:59:48Z

    fixed tiles showcase by setting dtd to 3.0

commit 9ac326aa2458fe43140c1b13b61c87752d282e3d
Author: cnenning <[email protected]>
Date:   2016-01-22T14:27:09Z

    Added tiles annotations, see WW-4594.
    
    Added tiles annotations, created StrutsTilesAnnotationProcessor to
    create Definitons from them and using it in TilesResult.

commit e50c37c5ba5781900edf53f9ec71b8649471d448
Author: cnenning <[email protected]>
Date:   2016-01-22T14:27:50Z

    added sample for tiles annotations

commit d76357fd829a3ea8ddca21d625c49b606cca88d5
Author: cnenning <[email protected]>
Date:   2016-01-25T10:23:10Z

    added tests for StrutsTilesAnnotationProcessor

commit a53deac7ce8732053edd43dddac329448055aef0
Author: cnenning <[email protected]>
Date:   2016-01-25T12:39:47Z

    updated javadoc

commit b1588ddc84d876a676bab66ad80ec34637e98536
Author: cnenning <[email protected]>
Date:   2016-01-25T12:50:45Z

    fixed line endings

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to