You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/09/18 12:52:36 UTC
[jira] Resolved: (STR-813) Added functionality when extending
another definition
[ https://issues.apache.org/struts/browse/STR-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli resolved STR-813.
----------------------------------
Resolution: Won't Fix
Assignee: (was: Struts Developers)
This feature will not be added in Tiles 1. See:
https://issues.apache.org/struts/browse/TILES-83
> Added functionality when extending another definition
> -----------------------------------------------------
>
> Key: STR-813
> URL: https://issues.apache.org/struts/browse/STR-813
> Project: Struts 1
> Issue Type: Improvement
> Components: Tiles 1 Plugin
> Affects Versions: Nightly Build
> Environment: Operating System: All
> Platform: All
> Reporter: Tim Pedone
> Priority: Minor
>
> I have run into a problem that could be solved with a minor tweak to
> the "extends" paradigm. I have a component that creats a breadcrumb trail
> across the top of the page like: Home -> User Managment -> New User. I've
> implemented this using putList but what I'd like to happen is that when I
> create a definition that extends the list, I'd like the new items to be
> appeneded to the list insteaad of replacing them:
> <definition name="homeBreadCrumbDef" path="/breadCrumbsLayout.jsp">
> <putList name="items">
> <item value="Home"
> link="/rep/do/home"
> classtype="org.apache.struts.tiles.beans.SimpleMenuItem"/>
> </putList>
> </definition>
> <definition name="repBreadCrumbDef" extends="homeBreadCrumbDef">
> <putList name="items">
> <item value="User Management"
> link="/rep/do/user"
> classtype="org.apache.struts.tiles.beans.SimpleMenuItem"/>
> </putList>
> </definition>
> In this case, "items" in repBreadCrumbDef replace "items" in homeBreadCrumbDef
> but I'd like it to append to it so both "Home" and "User Management" are in
> the "items" list. This could probably be implemented with an attribute of
> putList (continue="true") or the likes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.