1 Reply Latest reply on May 5, 2007 12:55 AM by Tony Herstell

    EL and an emelemtn out of a LinkedHashSet

    Tony Herstell Master

       

      <!-- Keywords -->
      <tr>
       <td>
       <h:outputText value="#{messages.no_keywords}" rendered="#{advertisingCampaign.keywords == null}"/>
       <h:dataTable id="resultantKeywordsTable" var="eachResultantKeyword" value="#{advertisingCampaign.keywords}"
      rendered="#{advertisingCampaign.keywords != null}">
       <h:column>
       <f:facet name="header">
       <h:outputText value="#{messages.label_keywords}" />
       </f:facet>
       <h:outputText value="eachResultantKeyword.keyword"/>
       </h:column>
       </h:dataTable>
       </td>
      </tr>
      


      this
      <h:outputText value="eachResultantKeyword.keyword"/>

      should be
      <h:outputText value="#{eachResultantKeyword.keyword}"/>

      but this does not work:

      javax.faces.el.PropertyNotFoundException: /WEB-INF/pages/advertisingCampaignWizard/sideProgressMenu.xhtml @316,71 value="#{eachResultantKeyword.keyword}": Bean: java.util.LinkedHashSet, property: keyword
       at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:58)
      


      Any suggestions as it does exist...?