[JIRA-OS] Created: (WW-295) IteratorTag to put itself onto the stack
| Newsgroups | gmane.comp.java.open-symphony.cvs |
|---|---|
| Message-ID | <[email protected]> |
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-295
Here is an overview of the issue:
---------------------------------------------------------------------
Key: WW-295
Summary: IteratorTag to put itself onto the stack
Type: Improvement
Status: Assigned
Priority: Major
Project: WebWork
Versions:
2.0-beta1
Assignee: Patrick Lightbody
Reporter: Mike Mosiewicz
Created: Fri, 5 Sep 2003 2:46 PM
Updated: Fri, 5 Sep 2003 2:46 PM
Description:
I think that IteratorTag should push itself on the stack (and pop it away when it's finished).
This way you are able for example to built visible components that are iterator-aware.
For example you could assume that you have a reusable visual component that may be used inside iterations. In case when iterator is actually accessible somewhere, the component may be able to get current iteration status without knowing any context variables that iterator exported.
Currently you have to put variable-name contract between components. In case when iterator is on the stack, no such contract is necessary, cause the component is able to answer the question "is there any iterator I'm called from?".
This also means that iterator status should not be optional. Instead it should rather be lazy-initialized.
Maybe I'll just commit a patch.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.opensymphony.com/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf