Robert Cole <robert.cole <at> db.com> writes:
> HOpefully this will be a pretty simple one. I've got a class that contains a
> public inner enum class. How do I refer to an element in the enumeration?
>
> I've tried "ognl: <at> path.to.my.class$InnerClass <at> EnumValue" but I get
> a ClassNotFoundException for the
> inner class. I've tried several variations but evidently not the right one.
I just tried it and it worked fine:
<span jwcid="@Insert" value="ognl:@[EMAIL PROTECTED]"/>
package testtextfield;
public class Foo {
public enum Bar { WINTER, SPRING, SUMMER, FALL }
}
--
Author of a book for learning Tapestry (www.agileskills2.org/EWDT)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]