DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36149>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36149

           Summary: map keys are not consistently coerced
           Product: Taglibs
           Version: 1.0.6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: Standard Taglib
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When I create an entry in a map with the key 330707, it is interpreted as a 
String.  However, when I retrieve an entry in a map with the key 330707, it is 
interpreted as a Number.

<jsp:useBean id="franchiseShortName" class="java.util.HashMap" 
type="java.util.Map" />
<c:set target="${franchiseShortName}" property="${330707}" value="SLP" />
<c:out value="${franchiseShortName[330707]}" /> Doesn't Work!
<c:out value="${franchiseShortName['330707']}" /> Works!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to