Do you get any warning messages from the variable resolver regarding null values? Verify through a breakpoint in getAlbum_date() that the method is called.
Mathias > -----Original Message----- > From: Julien Martin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 25, 2005 5:09 PM > To: MyFaces Discussion > Subject: Re: dataList component > > > Thanks for the prompt reply, > > I have removed the columns as indicated and I now have this: > > <x:dataList value="#{AlbumsAction.albums}" var="item" > layout="unorderedList"> > <h:outputText value="#{item.value.album_date}"/> > </x:dataList> > > It has the same behavior i.e. an empty bullet (there is only > one element as > of now) with nothing else... > > Julien. > > > ----- Original Message ----- > From: "Broekelmann, Mathias" <[EMAIL PROTECTED]> > To: "MyFaces Discussion" <[email protected]> > Sent: Wednesday, May 25, 2005 5:04 PM > Subject: RE: dataList component > > > Hi Julien, > > Since a x:datalist do not have columns you may not use h:column in a > datalist. > > <x:dataList value="#{AlbumsAction.albums}" var="item" > layout="unorderedList"> > <h:outputText value="#{item.value.album_date}"/> > </x:dataList> > > Mathias > > > -----Original Message----- > > From: Julien Martin [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, May 25, 2005 5:00 PM > > To: MyFaces Discussion > > Subject: x:dataList component > > > > > > Hello, > > > > I use the x:dataList component. Note that I want to display a > > hashmap. Using > > the forEach tag I would have something like that: > > [code] > > <c:out value="${item.value.album_date}"/> > > [/code] > > > > but because I use the x:dataList I have a h:outputText > > instead of the c:out. > > Here it is: > > > > [code] > > <h:outputText value="#{item.value.album_date}"/> > > [/code] > > > > This does not seem to work. I just get the list's bullet with > > nothing else. > > Here is the full code: > > > > [code] > > <x:dataList value="#{AlbumsAction.albums}" var="item" > > layout="unorderedList"> > > <h:column> > > <h:outputText value="#{item.value.album_date}"/> > > </h:column> > > </x:dataList> > > [/code] > > > > Can anyone help please? > > > > Thanks in advance, > > > > Julien. > > > > > > > > > >

