Re: JavaScript + iBATIS

2006-09-26 Thread Clinton Begin
If you do decide to implement XML support, I don't recommend doing it this way :-)Instead, I'd add a couple of methods:.QueryForXML()Which would allow the mapping to still be to a Hashtable or a Domain Class, but it would translate the properties or Dictionary key/value pairs into the XML docum

Re: JavaScript + iBATIS

2006-09-26 Thread Gilles Bayon
No On 9/26/06, Rahul Singh ( Anant ) <[EMAIL PROTECTED]> wrote: Has this functionality filtered down to the .NET version yet? Rahul -- Cheers, Gilles http://www.amazon.com/gp/registry/6JCP7AORB0LE";>Wish List

Re: JavaScript + iBATIS

2006-09-26 Thread Rahul Singh ( Anant )
Has this functionality filtered down to the .NET version yet? RahulOn 9/25/06, Clinton Begin <[EMAIL PROTECTED]> wrote: Yep.  XML it is.  The _javascript_/DOM APIs are pretty simple for processing results from XML.  JSON is good too...but XML is supported more widely and by more tools.In iBATIS i

Re: JavaScript + iBATIS

2006-09-25 Thread Larry Meadors
BATIS > > You can find some json example using gwt > > http://code.google.com/webtoolkit/documentation/examples/ > > Rinaldo > > -Messaggio originale- > Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di > Larry Meadors > Inviato: lunedì 25 settembre 2006 1

Re: JavaScript + iBATIS

2006-09-25 Thread Clinton Begin
Yep.  XML it is.  The _javascript_/DOM APIs are pretty simple for processing results from XML.  JSON is good too...but XML is supported more widely and by more tools.In iBATIS it's as simple as: No beans, no maps, nothing.  You can also use xml as a parameter or a string as a result depending on ho

RE: JavaScript + iBATIS

2006-09-25 Thread Levan Dvalishvili
s Inviato: lunedì 25 settembre 2006 17.37 A: user-java@ibatis.apache.org Oggetto: Re: JavaScript + iBATIS One approach that I have seen with good results is working with JSON to create javascript objects with jsp. Larry On 9/25/06, Levan Dvalishvili <[EMAIL PROTECTED]> wrote: > I would say

Re: JavaScript + iBATIS

2006-09-25 Thread Larry Meadors
One approach that I have seen with good results is working with JSON to create javascript objects with jsp. Larry On 9/25/06, Levan Dvalishvili <[EMAIL PROTECTED]> wrote: I would say returning XML instead of java bean and sending it to client would be one of the straight forward ways to do it

RE: JavaScript + iBATIS

2006-09-25 Thread Levan Dvalishvili
I would say returning XML instead of java bean and sending it to client would be one of the straight forward ways to do it would not it? Maybe running a little XSL filter prior ? Levan Dvalishvili Support Lead  US Verticali,Inc (646) 736 - 6075 -Original Message- From: Fred Janon [mail