<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><P>Hi all</P>
<P>&nbsp;</P>
<P>I have two simple classes : The parent class has a field that is an enum. The other class inherits from the parent class.</P>
<P>Under Guvnor, everything is OK for the parent class : when I add a constraint on the "enum" field, I see a listbox with enum values</P>
<P>But for sub-class, the same field has no listbox, but only a free value text input.</P>
<P>&nbsp;</P>
<P>Can you confirm this is a bug? I use Guvnor 5.2.Final.</P>
<P>Thanks !</P>
<P><BR>The code :</P><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2><FONT face="Courier New, courier, monaco, monospace, sans-serif"><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>
<P align=left><STRONG><FONT face="Courier New, courier, monaco, monospace, sans-serif">public</FONT></STRONG></FONT></FONT><FONT face="Courier New, courier, monaco, monospace, sans-serif"><FONT color=#000000 size=2> </FONT><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2><STRONG>enum</STRONG></FONT></FONT></FONT><FONT size=2><FONT color=#000000 face="Courier New, courier, monaco, monospace, sans-serif"> Status {</FONT></P>
<P align=left></FONT><I><FONT color=#0000c0 size=2><FONT color=#0000c0 size=2><STRONG><FONT face="Courier New, courier, monaco, monospace, sans-serif">&nbsp;&nbsp;&nbsp; OK</FONT></STRONG></I></FONT></FONT><STRONG><FONT face="Courier New, courier, monaco, monospace, sans-serif"><FONT size=2>, </FONT><I><FONT color=#0000c0 size=2><FONT color=#0000c0 size=2>KO</I></FONT></STRONG></FONT></FONT><STRONG><FONT face="Courier New, courier, monaco, monospace, sans-serif"><FONT size=2>, </FONT><I><FONT color=#0000c0 size=2><FONT color=#0000c0 size=2>UNKNOWN</I></FONT></STRONG></FONT></FONT><FONT size=2><STRONG><FONT face="Courier New, courier, monaco, monospace, sans-serif">;</P>
<P align=left><FONT face="Courier New, courier, monaco, monospace, sans-serif"></FONT></P></FONT></STRONG><STRONG><FONT face="Courier New, courier, monaco, monospace, sans-serif">
<P align=left><FONT face="Courier New, courier, monaco, monospace, sans-serif">}</FONT></P>
<P></FONT></STRONG></FONT></FONT><FONT face="Courier New, courier, monaco, monospace, sans-serif"><STRONG>public</STRONG></FONT></FONT></FONT><FONT face="Courier New, courier, monaco, monospace, sans-serif"><FONT size=2> </FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>class</B></FONT></FONT></FONT><FONT size=2><FONT face="Courier New, courier, monaco, monospace, sans-serif"> MotherClass {</FONT></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2><FONT face="Courier New, courier, monaco, monospace, sans-serif">&nbsp;&nbsp;&nbsp; private</FONT></B></FONT></FONT><FONT face="Courier New, courier, monaco, monospace, sans-serif"><FONT size=2> Status </FONT><FONT color=#0000c0 size=2><FONT color=#0000c0 size=2>status</FONT></FONT></FONT><FONT size=2><FONT face="Courier New, courier, monaco, monospace, sans-serif">; // and corresponding get/set</FONT></P>
<P align=left><FONT face="Courier New, courier, monaco, monospace, sans-serif"></FONT></P></FONT><FONT size=2>
<P align=left><FONT face="Courier New, courier, monaco, monospace, sans-serif">}</FONT></P><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>
<P align=left><FONT face="Courier New, courier, monaco, monospace, sans-serif">public</FONT></B></FONT></FONT><FONT face="Courier New, courier, monaco, monospace, sans-serif"><FONT size=2> </FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>class</B></FONT></FONT></FONT><FONT face="Courier New, courier, monaco, monospace, sans-serif"><FONT size=2> SubClass </FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>extends</B></FONT></FONT></FONT><FONT size=2><FONT face="Courier New, courier, monaco, monospace, sans-serif"> MotherClass {</FONT></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2><FONT face="Courier New, courier, monaco, monospace, sans-serif">&nbsp;&nbsp;&nbsp; private</FONT></B></FONT></FONT><FONT face="Courier New, courier, monaco, monospace, sans-serif"><FONT size=2> String </FONT><FONT color=#0000c0 size=2><FONT color=#0000c0 size=2>message</FONT></FONT></FONT><FONT size=2><FONT face="Courier New, courier, monaco, monospace, sans-serif">; // and corresponding get/set</FONT></P>
<P align=left><FONT face="Courier New, courier, monaco, monospace, sans-serif">}</FONT></P>
<P align=left><FONT face="Courier New"></FONT>&nbsp;</P></FONT></FONT></div></body></html>