Maybe you need to register a custom EntityResolver on the Digesters? Struts doesn't really expose this in a graceful way right now, for tiles and validator you could probably look at either subclassing the plugins and taking charge of how the Digester is configured.

See http://jakarta.apache.org/commons/digester/apidocs/org/apache/commons/digester/package-summary.html#doc.RegisteringDTDs

Joe


At 8:58 AM -0600 1/30/04, Matt Bathje wrote:
>
 regarding "entity includes in tiles-defs.xml (again)" -- both
 struts-config and tiles-definitions files can be specified using a
 comma-separated list of files (in web.xml for struts-config, and in
 the plugin descriptor in struts-config for tiles) -- isn't that a
 simpler way to solve the same problem of breaking down big config
 files?


The problem with that is, we have some forms (probably 5-6 of them) that have duplicated properties/validations. It would be nice to be able to do an entity include to include those duplicated validations in each form they are required in validation.xml.

If I get some free time I am going to look into this, but as I mentioned in:
http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg92220.html

I really think there is some sort of bug in either the plugin interface or
the tiles and validator plugins specifically that make the "root" for the
xml documents change to be %SystemRoot% or something like that.


Matt Bathje



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


--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining."
-- Jef Raskin


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



Reply via email to