You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/08/20 11:33:34 UTC
[jira] Updated: (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:all-tabpanel ]
Paul Benedict updated STR-2937:
-------------------------------
Priority: Major (was: Critical)
Fix Version/s: 1.4.0
> 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: Taglibs
> Affects Versions: 1.2.9
> Reporter: Peter Fassev
> Fix For: 1.4.0
>
>
> 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.