(The solution may be obvious. I may just be tired and not thinking clearly. Also, I suppose that the solution might be strictly JSP-related. If so, I'll move this
thread.)
Using the logic:iterate tag, I'm iterating over an array.
For each component (bean) in the array, I'd like to use one of its properties to form the value of the styleId attribute of the html:link tag.
I'd like to replace that XXX with a property of the bean.
I've tried just inserting
<bean:write name="beanName" property="bar"/>
but it throws an exception (concerning an unterminated tag). I've tried inserting
<%= ((BeanType)beanName).getBar() %>
but this just gets interpretted as plain text. I've tried inserting
"<%= ((BeanType)beanName).getBar() %>"
but it throws an exception (concerning an unterminated tag).
So, how is this to be accomplished?
[ April 16, 2004: Message edited by: Dirk Schreckmann ]