On Thu, 18 Jul 2002, MacLeod, Kenny wrote:
> Date: Thu, 18 Jul 2002 12:00:29 +0100
> From: "MacLeod, Kenny" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: Retrieving mapping props as a Map
>
> Folks,
>
> Is it possible to obtain the <set-property> items of an action mapping as a
> Map object, rather than have the digester attempt to invoke them as bean
> properties?
>
> I have a situation where I need to be able to pass arbitrary properties to
> the mapping, so the reflection mechnaism won't work. Rather, I need access
> to those properties as a data structure.
>
> Any suggestions much appreciated,
>
There is no current mechanism to do this kind of thing. One approach
would be to use the general purpose "parameter" property to pass a
reference to some external resource file that contains all the stuff that
your particular action needs to configure itself.
> kenny
>
Craig
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>