Adam-- Nice -- that's the right way to do it. I've not added documentation for these kind of "advanced" expression language features like type conversion and custom iteration. Probably won't get to it for 1.0, but I'll add documentation shortly after.
Also, there are a few enhancements that I'd like to make there including custom type converters and error handling on a per JavaBean property basis. Any thoughts you've got on the subject would be welcome. :) Eddie On 9/4/05, Rich Feit <[EMAIL PROTECTED]> wrote: > Nice sleuthing! Eventually this won't require reading the code to > figure out. :) > > Adam Jenkins wrote: > > >I figured it out > > > >add to beehive-netui-config.xml > > > ><type-converters> > > <type-converter> > > <type>MyEnum</type> > > <converter-class>MyConverter</converter-class> > > </type-converter> > ></type-converters> > > > >where MyConverter implements > >org.apache.beehive.netui.util.type.TypeConverter > > > >Cheers > > > >On Sun, 2005-09-04 at 07:19 +1000, Adam Jenkins wrote: > > > > > >>Hi All, > >> > >>Can action forms work with enums? If so, does anyone have an example? > >> > >>Cheers > >>Adam > >> > >> > >> > > > > > > > > >
