How to access Map in JSF
- by Muneeswaran Balasubramanian
Hi to all,
  I have try to access the map in jsf
  using C:foreach.But i can't access
  that in jsf by using"#" symbol.But i
  can access it using "$" symbol.But i
  need to access to displayed using jsf
  component h:outputtext.My sample
  code is
h:form binding="#{MapInJsf.initForm}">
                <c:forEach items="#{MapInJsf.nameMap}" var="nameMap">
                    <%--<li>${nameMap.key}</li>--%> I cann access it
                    <%--<h:outputText value="#{nameMap}"/>--%>
                    <h:outputText value="Name2 : #{nameMap.key}"/>
                   <h:outputText value="Last Name1 : #{nameMap.value}"/>
                </c:forEach>
            </h:form>
what i do wrong and how can i access that?My Ref link is
Dynamic value binding of JSF component
Please help me.