I am surprised this worked for you. But can't the average way execute a static method?
On Sun, Jul 8, 2012 at 3:07 AM, JOSE L MARTINEZ-AVIAL <jlm...@gmail.com>wrote: > Well, after all it works just fine, I don't know what I was doing wrong. I > needed something more complicate than just a static field, I needed to > execute a static method, and then a getter from the returned object. The > final solution was: > > <param name="headers.Location">${@zzz.yyy.xxx.Myclass@getInstance > ().getValue()}</param> > > > 2012/7/7 JOSE L MARTINEZ-AVIAL <jlm...@gmail.com> > > Hi, > > Is it possible to have a result as follows: > > > > <result name="defaultLocaleLoginScreen" type="httpheader"> > > <param name="status">301</param> > > <param name="headers.Location">${@ > > zzz.yyy.xxx.MyClass@MyValue}</param> > > </result> > > > > Where MyValue is a static field of the class MyClass? I haven't been able > > to get it to work. Any ideas? >