hello all,
this code results in an error
 
<f:view>
  <h:form id="savingsForm">
     <h:dataTable value="#{savingsBean.savingsList}" var="row" border="1">
       <h:column>
         <h:outputText value="#{row}"/>
       </h:column>
       <h:column>
         <h:inputText value="#{savingsBean.recentBlogEntries[#{row}]}"/>
     </h:column>
    </h:dataTable>
     <h:panelGroup>    
   <h:commandButton id="submitInsert" action="" value="Insert"/>
     </h:panelGroup>
  </h:form>
</f:view>
 
 
at this point 
 
<h:inputText value="#{savingsBean.recentBlogEntries[#{row}]}"/
 
recentBlogEntries is a Map. i tried, for hte sake of trying, to put in a List (savingsList, the one used for DataTable)all keys
of the Map, and tried to generate inputText for the Map by passing the value of #{row} (which woul dbe the key of the map)
 
it didnt work out..... is that impossible or is my syntax wrong somehow?
 
thanks and regards
 marco

Reply via email to