That can only be answered by looking at your bean definition and
ensuring everything works properly. Maybe write a unit test that just
gets the manager and tests getAll - instead of going through your JSF
bean to do it.
Matt
On 10/5/07, WayneFH <[EMAIL PROTECTED]> wrote:
>
> As to my previous post showing Hibernate never selects, could this be somehow
> the wrong GenericManager for this backing bean? I'm lost. The GetAll works
> in the unit testing.
> Wayne
>
>
> mraible wrote:
> >
> > I would try printing our your results using a simple expression before
> > your datatable. Something like ${backingBean.caseItems}. If that
> > doesn't print out anything, there's probably something wrong with your
> > backing bean.
> >
> > Matt
> >
> > On 10/4/07, WayneFH <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> Please help, I created caseitem.xhtml just like persons.xhtml in AppFuse
> >> but
> >> it doesn't display any rows.
> >>
> >> I already created the POJO CaseItem, already setup Hibernate, already
> >> configured Spring and already wrote successful junit CaseItemListTest
> >> that
> >> passes the test and creates the rows.
> >>
> >> Also, dbunit is setup to load 2 rows into the caseitem table and I
> >> verified
> >> they are there.
> >>
> >> Still, caseitem.xhtml only displays the columns names but not the data.
> >>
> >> I'm a newbie to JSF and xhtml. Please provide some tips on how to debug
> >> this. I could do it easily in JSP. But I don't see where I can insert any
> >> log messages or get any clues to see why the xhtml isn't generating the
> >> data. I've gone over it with a fine tooth come to make sure I replaced
> >> "person" with "caseItem" etc. whereever appropriate. I'm lost.
> >>
> >> Sincerely,
> >> Wayne
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Help-with-JSF-xhtml-List-tf4571775s2369.html#a13049705
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > http://raibledesigns.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Help-with-JSF-xhtml-List-tf4571775s2369.html#a13063533
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]