struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orshoe <ors...@yahoo.com>
Subject Struts 2 Dojo tld struts-dojo-tags issue for Ajax validation
Date Tue, 07 Aug 2007 19:37:27 GMT

Hi,
I am trying to set up Struts 2 ajax-validation for my application, but the
application is not finding the struts-dojo-tags tld. Can anyone tell me
where I can find the tld jar, or if there is a dojo plugin for struts2 that
is shipped separately from the core. I am using Struts 2.0.9, and Freemarker
code in my view. I am getting the following error trace:
===================================================================================
Could not find webapp resource /struts-dojo-tags
The problematic instruction:
----------
==> assignment: sx=JspTaglibs["/struts-dojo-tags"] [on line 3, column 1 in
WEB-INF/decorators/main.jsp]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: Could not find webapp resource
/struts-dojo-tags
	at freemarker.ext.jsp.TaglibFactory.loadTaglib(TaglibFactory.java:423)
	at freemarker.ext.jsp.TaglibFactory.access$300(TaglibFactory.java:105)
	at freemarker.ext.jsp.TaglibFactory$Taglib.load(TaglibFactory.java:401)
	at freemarker.ext.jsp.TaglibFactory.get(TaglibFactory.java:158)
	at
freemarker.core.DynamicKeyName.dealWithStringKey(DynamicKeyName.java:136)
	at
freemarker.core.DynamicKeyName._getAsTemplateModel(DynamicKeyName.java:94)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
	at freemarker.core.Assignment.accept(Assignment.java:90)
	at freemarker.core.Environment.visit(Environment.java:196)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:196)
	at freemarker.core.Environment.process(Environment.java:176)
	at freemarker.template.Template.process(Template.java:232)
	at
org.apache.struts2.sitemesh.FreeMarkerPageFilter.applyDecorator(FreeMarkerPageFilter.java:159)
	at
org.apache.struts2.sitemesh.TemplatePageFilter.applyDecorator(TemplatePageFilter.java:113)
	at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:62)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
====================================================================================
-- 
View this message in context: http://www.nabble.com/Struts-2-Dojo-tld-struts-dojo-tags-issue-for-Ajax-validation-tf4232272.html#a12040957
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message