A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
JSF
Author
Arraylist with name,value how do i get the name out ?
Frank Jacobsen
Ranch Hand
Joined: May 17, 2002
Posts: 335
posted
Jan 30, 2009 00:39:36
0
Works fine, but how do i get the value of Fund.YEAR_TO_DATE out on my jsp,
is that possible ?
In my BB:
performanceDetailList = new ArrayList(11); performanceDetailList.add(Fund.YEAR_TO_DATE, fundReturnsYTD);
In my jsp:
<t:dataTable value="#{FundDetailsBB.performanceDetail}" var="fundReturn" id="_idFundReturn"> <t:column id="_idPeriod" headerstyleClass="AlignLeft"> <f:facet name="header"> <h:outputText value="#{periods['period']}" id="_idPeriodColumn" /> </f:facet> <h:outputText value="#{fundReturn.periodName}" id="_idPeriodName" /> </t:column> </t:dataTable>
Frank
I agree. Here's the link:
http://aspose.com/file-tools
subject: Arraylist with name,value how do i get the name out ?
Similar Threads
Question on how to sort tomahawk datatable
selectBooleanCheckbox
inputText in dataTable
Component ID .... has already been found in the view with t:dataScroller.
t:datatable error in tomahwak 1.1.7
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter