[JIRA-OS] Created: (WW-301) Ognl map functionality missing

[email protected]
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-301


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WW-301
    Summary: Ognl map functionality missing
       Type: Bug

     Status: Assigned
   Priority: Major

    Project: WebWork
 Components: 
             Value Stack
   Versions:
             2.0-beta1

   Assignee: Patrick Lightbody
   Reporter: Ben Hall

    Created: Fri, 12 Sep 2003 9:26 AM
    Updated: Fri, 12 Sep 2003 9:26 AM
Environment: Win2k
JDK1.4.1_01
Tomcat 4.1.24

Description:
As part of OGNL it is possible to put a map of objects into a stack and access the objects from the stack through the key in the map.  This functionality was present in the beta1 release but in the current CVS head it's missing.

An example of how this functionality worked follows:

Map m = new HashMap();
m.put("bean1", new Bean());
m.put("bean2", new SomeOtherBean());
stack.push(m);

It is then possible to access these objects using either:

$stack.findValue("bean1")

or

$bean2




---------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.