[OFBiz] Users - AJAX (again. sorry)
Fred Forester
foresterf at fredforester.org
Mon Apr 10 10:12:52 CDT 2006
I'm still sorta new to the xml thing. here is what I am sending back via
the event
<employees><employee><id>10010</id><firstName>Fred</
firstName><lastName>Forester</lastName></employee></employees>
and using this to try and parse it.
var employees = responseXML.getElementsByTagName("employees");
of course this is not parsing since employess.lenth = 0
tibor katelbach wrote:
> You can do the formating or parsing in java.
> I usually prepare well formed xhtml that I feed to my responseXML, that I
> insert directly into any given div with
> document.getElementbyId("divId").innerhtml
> = xhr_obj.responseXML
>
> Hope this helps
> Tibor
>
> On 4/10/06, Fred Forester <foresterf at fredforester.org> wrote:
>
>>
>>understood. this was strictly an experiment to see how/if ofbiz could
>>handle an ajax request. avoiding 100,000 S%(mith)s would be an excersise
>>for the reader. :)
>>
>>
>>
>>David Welton wrote:
>>
>>>>3) lookup all parties whos lastName is like 'lastName%' and return an
>>>>xml list of lastNames and personIds.
>>>
>>>
>>>When working on stuff like this - if it's not just for your own use,
>>>keep in mind that for some businesses, that could potentially be a
>>>*very* large list.
>>>
>>>--
>>>David N. Welton
>>> - http://www.dedasys.com/davidw/
>>>
>>>Linux, Open Source Consulting
>>> - http://www.dedasys.com/
>>>
>>>_______________________________________________
>>>Users mailing list
>>>Users at lists.ofbiz.org
>>>http://lists.ofbiz.org/mailman/listinfo/users
>>>
>>>
>>
>>_______________________________________________
>>Users mailing list
>>Users at lists.ofbiz.org
>>http://lists.ofbiz.org/mailman/listinfo/users
>>
>
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
More information about the Users
mailing list