You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jennifer Lill <ul...@yahoo.com> on 2006/09/25 19:42:07 UTC
WSAD struts configuration file validation and tiles
I am having a problem with the "struts configuration file validator" in Websphere Studio Application Developer.
I currently have the validator turned on:
Windows> Preferences> Validation> Struts configuration file validator
For some/most of my tiles paths, the validator complains that:
Target XXX cannot be resolved in the context of the following modules: /
When I run the application these do work (because they are valid paths based using tiles).
I can turn the "struts configuration file validator" off and this eliminates the errors but I would like to still be able to use it as it provides other usefull errors.
Does anyone know:
(1) if there is a more recent version of the "struts configuration file validator" that understands tiles paths?
(2) a place to get the source code for this?
(3) Additional ways to configure this to avoid this error while still running the validator?
Here is an example of a path attribute that the validator does not like:
<action path="/xx/default" type="MyAction">
<forward name="success" path="xx.default" />
</action>
It complains:
Target xx.default cannot be resolved in the context of the following modules: /
but xx.default is a proper path based on a tiles definition.
Thanks!
-- Jennifer
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org