|
Hi All, I am iterating over a collection and want to display only a
single Object. I have a form property(pid) indicating the Object index within the collection. <logic:iterate name="products"
id="product" indexId="ctr"> <logic:equal
name="createInstanceForm" property="pid" value="<%=ctr%>"> This code generates the following error: Error: No applicable
overload for the method named "setValue"
was found in type "org/apache/struts/taglib/logic/CompareTagBase".
Perhaps you wanted the overloaded version "void setValue(java.lang.String
$1);" instead? ' But when I use a request parameter to indicate the index it
works fine: <bean:parameter name="pid"
id="pid" /> <logic:iterate name="products"
id="product" indexId="ctr"> <logic:equal
name="pid" value="<%=ctr%>"> Any help is much appreciated. Cheers,
|
- Re: logic:equal using form bean property? Greg Hess
- Re: logic:equal using form bean property? David Graham

