On Jan 17, 2005, at 2:52 PM, Adam Ratcliffe wrote:

Hi Mark,

When I put together the original implementation I gave some thought to doing
it all on
the client-side, I was going to do something like load all of the data into
JS arrays as
currently the category tree isn't so extensive. A more responsive interface
would certainly
be good.


With way #2 if the category data was going to be loaded on demand I don't
believe client-side JS
is able to open a network socket to retrieve XML data from the server.

That's pretty much what document.load() does, and you can create a document using document.implementation.createDocument... except Internet Exploder used to not be able to do this, maybe it does now... see http://www.quirksmode.org/dom/importxml.html for how to do it differently in IE if necessary.


You can use the XMLHttpRequest object to load synchronously, if that's what you need (but you can probably instead use the onload handler of your XML-loading document to do whatever needs to be done).

One
way I can think of
doing this would be to load the data into a hidden-frame and get access to
it that way - is
that what you had in mind?
e

Bleah. :-)

I'll try way #1 first, the object that you suggested passing to showForm(),
is that possible? I
tried once before doing something like:
form.showForm("form-display-pipeline", bizData); and it
didn't seem to work.



Are you using the "v2" forms Flow API? That's how it's done in uh... v1, I guess. In v2 you would say


        var w = form.getWidget();
        w.bizData = theBizData;
        .
        .
        .
        form.showForm ("form-display-pipeline");

(if memory serves :-)

Have fun,
-ml-


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to