This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
In any case, I assume the property is an indexed property? Or is the property value returning an array or List? Keeping such details secret isn't going to help you get an answer.
Joined: Aug 18, 2010
My apologies it is sideId.
As for the property, I am not too sure, the code is code from a Russian outfit who built the original app, I have been tasked with getting it all up to the 21st century etc and to add more functionality. I am converting it all to run in Tomcat 7 etc.
What I can tell you though is that the property in the ActionForm is declared as follows:
OK, that looks like an indexed property -- which I rarely use because they're quite cantankerous (as you are discovering).
The only suggestions I might have are: to rewrite the bean to avoid indexed properties, or, now that you know the term "indexed property", use it to look up information on how to make sure that they are declared in an appropriate manner for use with the JSTL and EL.
Sorry for not having a more concrete answer -- but as I said, I avoid indexed properties because they're just too much trouble to deal with.
I don't know if this will help or not but there is a 'feature' of the struts tags that I remember from years ago.
If you are providing a dynamic value as an attribute to a struts tag, then it must be completely dynamic, not a mix of static text and expression.