Broken interface: forwardURL(HttpServletRequest, ForwardConfig)

2004-03-11 Thread Marino A. Jonsson
Hi guys,

I am a Apache Velocity-Tools developer and I just noticed you have removed
the  forwardURL(HttpServletRequest, ForwardConfig) method, that was
introduced in Struts 1.1, from RequestUtils in favour of
forwardURL(HttpServletRequest, ForwardConfig, ModuleConfig).  Any reason not
to deprecate first, before removing altogether?

cheers,
Marino




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



Trouble with using multiple struts-configs for a single module and Tiles

2003-10-29 Thread Marino A. Jonsson
Hi all,

I am using multiple modules, and the idea was to use the config for the
default module as a base config for other modules.  The other modules would
add module specific elements and/or override those defined in the base
config.  So for each of these sub-modules I would specify two configs, the
base config and the one specific to that module.  The base config includes
it's own tiles plugin and the sub-modules also have their own tiles plugins
with module-specific tiles definitions.

I was expecting the tiles plugin in the module-specific config to override
the one specified in the base-config for each module (like most other config
elements do).  Instead, for each sub-module, it initializes the tiles plugin
in the base config and when it comes to the module-specific plugin (in the
module-specific config) it tells me the Factory already exists for module
/foo No new creation.

Put in simple terms - if I specify more than one struts-config for a module,
and more than one of those configs has a tiles plugin definition, then I
have to use the one in the first config, instead of the latter one
overriding the first.

Is this as it should be?

cheers,
MarinĂ³




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