I have a JPA query which returns an aggregated list from a domain object. It looks something like this:
What this does is returns a list to my Action class that I can then iterate using the
Struts 2 iterator tag like so:
This works great for presenting lists with count relative displayed values, but when I try to display the list data in a select box, things don't work so well - meaning, I get nothing - I can't seem to access the indexed information. I've tried the following:
But the select box has no data.
Can anyone help steer me in the right direction? I'm trying to keep from having to either 1) write a separate procedure to generate this list or 2) have to build my own select list using a standard (more code to keep up with) approach:
Thanks