Hello Luca,
you can use the cspEventBroker to dynamically call a cache-server-method via
a HyperEvent (OnClick, OnChange, OnBlur etc.).
In current distributions this is done via a synchronus #server call using
"LiveConnect" and a small cspBroker-java-applet. This is not working with
all browsers and operationg-systems.

You can also use #call call which is asynchronus and is based on url-rewriting
of an iframe. IMHO this works with all browsers and os ... the disadvantage is
the asynchronus nature of it.

InterSystems wrc-online-support system and our isis-online-support system
(both csp-Apps.) are currently working and running with an upcoming beta-version
of the cspEventBroker.
This version can do synchronus #server calls via XMLHTTP-Requests by Default
(no java-applet and LiveConnect is needed). If the browser don't supports
XMLHTTP-Requests, the java-applet will be used instead.
This works great for now :-)

I don't know exactly but i assume this will be available in upcomming
cache 5.1 distribution.

Call InterSystems and ask for the cspXMLHTTP-EventBroker-Beta version.
This is all you need to do so ...

Regards...
Bernd!

Luca Manini wrote:
"Ram�n" == Ram�n Jim�nez <[EMAIL PROTECTED]> writes:


    Ram�n> Luke,
    >> I'm experimenting with XML and XMLHttpRequest to get a
    >> "dynamic" web interface where some widgets (es: select/option)
    >> get changed w/o posting depending on some other widget's value.

    Ram�n> are you using CSP by any chance? Because if yes, there's no
    Ram�n> real reason for doing this... Or none that I'm aware of?

    In which sense? I know CSP can create editing interfaces for
    objects; but what if I want a <select> in some cases and a list of
    check boxes in another one for the same "field", or a completly
    different (TM) <div> of interface for different values of a
    previous "field"?

    Ram�n> Ram�n




Reply via email to