WitchsCat / htmlbeanz

1 stars 0 forks source link

JAXB adaptation #4

Open WitchsCat opened 11 years ago

WitchsCat commented 11 years ago

We have to introduce special handling for JAXB-generated classes. Since the structure of JAXB based classes is to complicated, we have to introduce a simplification mechanism for this case. On top of that we have to introduce an additional mechanism for mapping the results from UI back to the model

BrownFurSeal commented 11 years ago

Cannot find JAXB at all. Did you mean XStream serializer? Not sure about "Since the structure of JAXB based classes is to complicated" - if you meant XStream, it uses classes from classpath. Regarding to mapping from UI to model - there is a method ModelViewController#applyChanges. Do you want to enhance it? It doesn't produce IllegalArgumentException or something else so far when I enter letters for Integer field. I'll see what's the problem.

WitchsCat commented 11 years ago

I mean if you use WSDL2Java you get gava classes that istead of fileds have something like JAXBElement this is the most common stuff that you get when generating for webservices. I can add a couple of examples tommorow