Update Protocol

Last Updated: 9/13/2008



Sections above here:
Home  »  Development  »  Ajax

Sections below here:

    Topics in this section:
    IW Ajax Limitations
    Error Handling and Debugging
    Update Protocol
    Async Event Handling

    Search Documentation:

    Code Sample

    <response>
     <update>
      <control id="IWEDIT1">
       <left>10</left>
       <top>200</top>
       <value>Hello this is a value</value>
       <color>clRed</color>
      </control>
      <control id="IWLISTBOX1">
       <value op="append">A Value</value>
      </control>
      <control id="IWLISTBOX2">
       <value op="append" name="thename">the value</value>
       <value op="append" name="thesecondname>the second value</value>
       <value op="update" name="third">third value</value>
       <value op="remove">remove_this_value</value>
       <value op="remove" name="byname"></value>  </update>  <execute>
      <literal>alert("joe")</literal>
     </execute>
    </response>

    This describes several things:

    1. Updating the value of an edit control

    2. Adding a new value to a listbox

    3. Adding 2 new values with the style name/value to a listbox

    4. Updating an entry in the listbox

    5. Removing a value in the listbox by value

    6. Removing a value in the listbox by name


    Finally, there is an option to execute JS code directly sent by the server.



    (C) 2002-2009 - Atozed Software Ltd.