myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marius Petoi (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-2774) Remove MARK_DELETED attribute from the component
Date Thu, 15 Jul 2010 08:37:50 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888743#action_12888743
] 

Marius Petoi commented on MYFACES-2774:
---------------------------------------

As a matter of fact, looking over the FaceletCompositionContext, I see that all the stacks
are implemented using LinkedList objects. And from the speed point of view, the getLast method
of LinkedList is better than the size combined with get(index) of ArrayList. So, I shall use
LinkedList, like you did with all the other stacks.

> Remove MARK_DELETED attribute from the component
> ------------------------------------------------
>
>                 Key: MYFACES-2774
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2774
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: General, JSR-314
>    Affects Versions: 2.0.0
>            Reporter: Marius Petoi
>            Priority: Minor
>         Attachments: markDeletedFaceletContext.patch, markDeletedFaceletContext2.patch
>
>
> The ComponentSupport.MARK_DELETED attribute is used only inside one request. It doesn't
need to be saved in the state. It should be removed from the attributes of the component.
Instead a list of components marked for deletion should be included in the FaceletContext.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message