Hi Dennis,
I missed that I should had checked out the last CVS, sorry.
I tried it and at least the set-method trick works! Thanks a lot. We will try the formatter too, which is a bit cleaner.


Just one small issue: checking out the jibx module and running the build script, ant complains that it cannot find a custom task.

Stefano

Dennis Sosnoski wrote:
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






--
Stefano Fornari                   [EMAIL PROTECTED]
Funambol CTO                      www.funambol.com

6472 Camden Ave #106              Via dei Valtorta 21
San Jose, CA 95120 (USA)          20127 Milano (Italy)
Tel.: +1 408 705 2044             Tel.: +39 02 2614 5383
Fax: +1 408 705 2044              Fax: +39 02 7005 60230

Your Synchronization Company



-------------------------------------------------------
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