Error Rendering Viewcustomer.xhtml] The class 'java.lang.String' does not have the property 'desc'.

Error Rendering Viewcustomer.xhtml] The class 'java.lang.String' does not have the property 'desc'.

Im trying to display hashmap values(key and value) in jsf xhtml. can any one suggest me how to achieve this. Also I made an attempt in the following way which results in fail. Any help would be highly appreciated.

my xhtml part:

<h:panelGrid id="staticPanelGrid" columns="2" cellpadding="0">  
                                    <p:dataTable var="static" value="#{contactController.items1}" id="static_id" paginator="false" scrollable="yes">  
                                        <p:column width="150">  
                                            <f:facet name="header">  
                                                <h:outputText value="#{bundle.d_label}"/>  
                                            </f:facet>  
                                            <h:outputText value="#{static.desc}"/>  
                                        </p:column>  
                                        <p:column width="150">  
                   &nb

[1] [2] [3] [4] [5] [6] Next

Copyright © 2007-2012 www.chuibin.com Chuibin Copyright