paul nisset wrote:
As far as I can tell, I'm not addresing 'title' as a property of the list .
See above. You are not.I'm addressing it as as a property of each object/entry in the list.
That may be what it appears to be doing, but it's not. It's emitting whatever the entry evaluates to as a string.${lesson[0]} correctly displays the value of the 'title' property
paul nisset wrote:Thanks for taking a look.
This is the method that is returning the list.
sessionFactory is a Hibernate SessionFactory that is wired in via Spring.
paul nisset wrote:
I set the lessonlist variable on both the Request and the Session because I was unsure which variable the foreach loop items property was looking at.
paul nisset wrote:It is something to do with the way Hibernate produces the list .
If you have a bad day in October, have a slice of banana cream pie. And this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|