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 rather than the ActionForm. Niall ----- Original Message ----- From: "Manfred Wolff" <[EMAIL PROTECTED]> Sent: Friday, January 06, 2006 4:43 PM > Hi everybody. > > Since Struts 1.3 it is possible to set an arbitary key/value pair to > retrieve at runtime such as: > > <action path="/EditSubscription" > extends="Editor"> > <set-property key="foo" value="bar" /> > </action> > > In a document from the struts university (author Ted Husted) is an example to retrieve such pair: > > > public ActionForward execute( > ActionMapping mapping, > ActionForm form, > HttpServletRequest request, > HttpServletResponse response) > throws Exception { > > string foo = getProperty("foo"); > > // ... > > In the nightly builds and in the newest subversion branch (366511) there is no getProperty() method > in the Action class. So does anybody know, how to retrieve such a pair von set-properties. > > Thanks a log > Manfred --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]