myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Bilski <>
Subject Re: Accessing multi level data from within my backing bean.
Date Mon, 13 Jul 2009 13:02:27 GMT
Hi Shaun,

Shaun Campbell wrote:
> I have a scenario which I would have thought would have been 
> straightforward.  I have a backing bean which provides a list of data 
> which I am able to display to my web page using:
>                        <h:dataTable value="#{}" var="job" 
>                                      styleClass="jobs" cellspacing="0" 
> cellpadding="0" border="0"
>                                      rowClasses="odd,even" 
> columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column">
> This all works fine but what I want to do now is do the same thing from 
> the job variable to print out a sub list for each job.  My job class has 
> a getOps() method which returns another list which I want to display.  
> No matter what I try to do to access this list I get an error.

Can you paste here this error of yours?

In your case I would use Tomahawks dataList for #{}, and 
for every job I would put dataTable with value=#{job.ops}.


Jacek Bilski

View raw message