<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>In the spec within the part of the "Fields of a Web Bean", it says that <br><br>"If a field declaration has more than one direct child element, and at least one of these elements is not &lt;value&gt; element in<br>the Web Beans namespace, a DefinitionException is thrown by the Web Bean manager at initialization time."<br><br>Then, is it true that the following definition is correct ? iow, can the field decleration contains both the &lt;value&gt; field and the injection field?<br><br>&lt;mybean:myField&gt;<br>&nbsp;&nbsp;&nbsp; &lt;value&gt;15&lt;/value&gt;<br>&nbsp;&nbsp;&nbsp; &lt;mybean&gt;x.y.x.AnotherBean&lt;/mybean&gt;<br>&lt;/mybean:myField&gt;<br><br>Actually it also says that "An element that represents a field may declare an injected field, a producer field or a field with an initial value.".
 <br><br>is there a contradiction?<br><br>Thanks;<br><br>Gurkan<br></div></div><br>



      </body></html>