This is a variation of the same problem listed on the status page. For now, if you want to set the default value you'll need to either do it in the constructor or use a pre-set method for this purpose.

 - Dennis

Venkatesh Prasad Ranganath wrote:

Hi,

I have the following snippet and I am trying to force a default value of -1 in the exprIndex field when the <expr> element is missing.

<structure name="expr" usage="optional">
<value style="attribute" name="index" field="exprIndex" type="int" default="-1"/>
</structure>


However, that is not happening. Any clues what may be wrong and how to correct it?






-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to