Argh, this is driving me nuts.

Consider this:

        <c:forEach var="item" items="${request.allItems}">
            <c:if test="${session.selection != item}">
                  (<team:itemPath item="${item}" factory="<%= factory %>" />)
               </div>
            </c:if>
         </c:forEach>

Now you see the <team: tag? Well I get this useful error:

Unable to convert string '${item}' to class
com.teamenergy.libraries.blend.domain.Item for attribute item:
java.lang.IllegalArgumentException: Property Editor not registered with the
PropertyEditorManager

My tld looks like:

      <attribute>
         <name>item</name>
         <required>true</required>
         <rtexprvalue>true</rtexprvalue>
      </attribute>

So I'm assuming rtexprvalue == true means I can do this, but it keeps 
interpreting ${items} as a String, which is highly unuseful. :(

Any ideas?


John

-- 
John Baker, BSc CS.
Java Developer, TEAM/Slb. http://www.teamenergy.com
Views expressed in this mail are my own.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to