You shouldn't need a dedicated class with the corrected CVS code, just the test/get/set methods.

Handling this may get simpler with the beta 4 code generation changes. It's kind of an odd case for data binding, though - not really binding to any value, just to a presence flag.

- Dennis

Stefano Fornari wrote:

Hi Dennis,
thanks for this. Honestly I do not like that approach. I had to map the tag with a structure to a dedicated class instead of a simple boolean or Boolean. What I would like to see is a better support directly in the jibx mapping/runtime.


Thanks again.
Stefano

Dennis Sosnoski wrote:


Hi Stefano,

See my "Re: [jibx-users] Map empty element to boolean" message, just sent. This approach still requires a little extra code, but at least it works. Does that fit your needs?

- Dennis






------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ jibx-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to