Re: Struts 1.3: Arbitary key/value pair

2006-01-06 Thread Manfred Wolff
Thanks - works fine. Niall Pemberton schrieb: >The properties get set in the ActionMapping - not the Action, so you can do >mapping.getProperty("foo") to get the values. > >This feature works the same throughout - its available in the >"configuration" objects, not the object itself - so ActionMa

Re: Struts 1.3: Arbitary key/value pair

2006-01-06 Thread Joe Germuska
At 5:43 PM +0100 1/6/06, Manfred Wolff wrote: Hi everybody. Since Struts 1.3 it is possible to set an arbitary key/value pair to retrieve at runtime such as: In a document from the struts university (author Ted Husted) is an example to retrieve such pair: public ActionForward ex

Re: Struts 1.3: Arbitary key/value pair

2006-01-06 Thread Niall Pemberton
The properties get set in the ActionMapping - not the Action, so you can do mapping.getProperty("foo") to get the values. This feature works the same throughout - its available in the "configuration" objects, not the object itself - so ActionMapping which is the config for Action or FormBeanConfig

Struts 1.3: Arbitary key/value pair

2006-01-06 Thread Manfred Wolff
Hi everybody. Since Struts 1.3 it is possible to set an arbitary key/value pair to retrieve at runtime such as: In a document from the struts university (author Ted Husted) is an example to retrieve such pair: public ActionForward execute( ActionMapping mapping, Act