You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Arthur Nogueira Neves (JIRA)" <ji...@apache.org> on 2009/08/17 22:57:59 UTC

[jira] Commented: (STR-2937) Iterate Tag uses EVAL_BODY_TAG and always buffers the body content - add option to include the body

    [ https://issues.apache.org/struts/browse/STR-2937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46656#action_46656 ] 

Arthur Nogueira Neves commented on STR-2937:
--------------------------------------------

How can I submit my resolution for this issue?Can i open a branch to this?

> Iterate Tag uses EVAL_BODY_TAG and always buffers the body content - add option to include the body
> ---------------------------------------------------------------------------------------------------
>
>                 Key: STR-2937
>                 URL: https://issues.apache.org/struts/browse/STR-2937
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Tag Libraries
>    Affects Versions: 1.2.9
>            Reporter: Peter Fassev
>             Fix For: 1.4.x
>
>
> The doStartTag() method of the logic:iterate Tag returns EVAL_BODY_TAG, which is equal to EVAL_BODY_BUFFERED. This is in many cases (I think in 99%) very inefficient, especially for large collections or large body contents. Please add an optional parameter, for instance "bufferBody=true|false", where the user can select, whether to include or to buffer the body of the tag. The default value may be "true", to prevent inconsistencies with older versions but I want to propose to make the default value "false" for the 1.3.x Version and to document the change in the migration tutorial.

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