I'm having a devil of a time trying to find how the html:select works. I was told to use this instead of logic:iterate. The problem is, I keep getting the error "No getter method available for property marketAF for bean under name marketList".
What I created was a List of MarketAF, which contains market, marketCd, and some other items to control how the select will look (if it will be a multiple or a dropdown). I then set up the as so:
I have no clue how to proceed. I've tried a host of things for the past three hours and haven't been able to figure this one out. It seems to be stuck at the select. I don't know why it is expecting a getter for the marketAF, unless it is expecting that I passed a List into another variable.
I tried that - created class ReturnList and loaded the List to that. It definitely didn't like that.
David, does the phrase "no kidding" apply here? I am asking a question about what I need to do. I have spent several hours trying to learn how to do this properly and have had no success. I do not understand how to make the list function within the html:select. It gives me an error regardless of what I do. How do I get a list that is loaded to marketList (request attribute). How do I get the collection of marketAF's into the html:select? If you can help, thank you. If you can't, please refer your nonconstructive critiques to your personal journal. Thank you.
Pat Flickner wrote:Bear, sorry, I saw jstl and posted it here.
No problem -- but why would you associate Struts tags with the JSTL?
If you can't, please refer your nonconstructive critiques to your personal journal.
as my late mother (who would revert to French when angry) used to say: "Change ton salaud d'attitude!"
Do not let your frustration leech out into your posts. Lashing out at those in a position to help you is not a winning strategy.
Pat Flickner wrote:Got it. I just get very frustrated with the people who "help" via ridicule.
I've read David's post a dozen times and I fail to see the ridicule. He simply asked a legitimate question. You know that you've read the documentation -- but he has no way of knowing that. And, to be frank, looking at a lot of the posts, it's clear that a lot of people post here instead of looking at the docs.
If you look for insults, you'll see them everywhere. Even where none is intended.
And thanks for the French. I think I heard that phrase several times when I was young.
Most of the French I know consists of swears and cursing as that was the only times my parents (the first generation of my family to be born in the US) would speak their first language.
I'm about bald by now from pulling out my hair.