Argh :)
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 nameitem/name requiredtrue/required rtexprvaluetrue/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]
Re: Argh :)
In JSP 1.2, you can't automatically use the JSTL expression language in your own tags. You'll need to add support for that yourself by calling the JSTL expression evaluator. As has come up on this list before, we don't currently provide instructions for doing this because the final interface is in flux. But it'll settle down before JSTL 1.0 is released. -- Shawn Bayern Author, JSP Standard Tag Library http://www.jstlbook.com (coming this summer from Manning Publications) On Wed, 20 Mar 2002, John Baker wrote: 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 nameitem/name requiredtrue/required rtexprvaluetrue/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 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
argh
What does this mean: Unable to convert string '%= myActivity %' to class com.teamenergy.libraries.activity.WebActivity for attribute activity: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager myActivity is an instance of WebActivity, declared as such. The tld spec looks like this: tag namereportConfigSetup/name tagclasscom.teamenergy.web.tags.ReportConfigSetupTag/tagclass attribute nameactivity/name requiredtrue/required rtexprvaluetrue/rtexprvalue /attribute etc And the class has a setActivity(WebActivity) method. So ok, what's wrong? :) 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]