[Laszlo-user] Mapping RPC values onto datasets

Yang a1pwak602 at sneakemail.com
Sat Jul 14 19:54:09 PDT 2007


I have ultimately chosen to use XML HTTP. I am using the new
com.sun.net.httpserver package in Java 6, so no getting my hands dirty
with any heavy duty servers, configurations, etc (would've been a pain
due to the complexity of my backend environment). Sending data back is
easy via dataset.serialize(). On the backend, Scala has handy XML
processing facilities in scala.xml.

On 7/12/07, Yang a1pwak602-at-sneakemail.com |laszlo|
<...> wrote:
> Is there a away for me to return an XML document (a string) via XMLRPC
> and map that onto a dataset?
>
> I'm finding that the mappings provided by dataobject/valueToElement()
> are a bit lacking. I know that datasets can be bound to raw XML by
> setting their src to an HTTP source, but at the moment I have no JSPs,
> only a Java XMLRPC server.
>
> Is there anything akin to innerHTML, such that I can just set that to
> be an XML string, and then my dataset will automagically become so?
>
> Thanks,
>
> Yang
>


More information about the Laszlo-user mailing list