From: Anthony E. <me...@an...> - 2003-04-09 21:59:41
|
I can confirm that using the CVS right now will result in being able to use includes. There are two ways to locate the included file. If you use the path attribute then the path will sent through to the resource monitor as is. If you use the file attribute then the path will be relative to the formproc.xml configuration file. For example: <include file="formproc-include.xml" monitor="true"/> Would look for a file relative to the formproc.xml file. This will use the default resource loader which is the VFSResourceLoader. Alternatively: <include path="formproc-include.xml" loader="com.anthonyeden.lib.resource.ClassPathResourceLoader" monitor="true"/> Would look in the classpath and the path attribute would be passed straight through to the resource loader. Take a look at example-app for a working example. I still need to work on the example webapps before I put out a new release. Sincerely, Anthony Eden Eliot Sykes wrote: > Hi formproccers, > > Please can someone confirm that they have a configuration working that > makes use of the include element in formproc.xml. It would also be a > great help if you could post the actual configuration here too. I have > been unsuccessful in getting this to work, > com.anthonyeden.lib.resource.ResourceException gets thrown when I try to > use it, and I have tried all manners of configurations and loaders and > made sure the included file is present but have still had no joy :(. > > Thanks in advance for any help, > Eliot > > > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs service. > ________________________________________________________________________ |