Using the AJAX Library

From DataFlex Wiki
Revision as of 10:36, 14 September 2007 by Jka (talk | contribs)
Jump to navigationJump to search

how to add the AJAX library to your workspace

Fetch the library from : http://www.dataaccess.nl/IframeText.asp?pageid=1378 and install it

  • select the workspace you want to use.
  • Right click in the class palette in Visual DataFlex Studio.
  • press "add/remove libraries".
  • press "Add Library"
  • navigate to where you installed the VDF AJAX library. I installed mine in "c:\programmer\Visual DataFlex AJAX Library 1.0" .
  • click on the sws file for the AJAX library
  • choose "yes" for relative pathing
  • chose "OK"


"The Good stuff"

You probably allready now how to create a datamodel Using DataDictionaries . Now just attach these Using WebObjects - this brings your existing datamodel to the ajax world. ( See AJAX Rating example for how to do that ).

Typical problems

  • if you get a http 500 , then you probably forgot to copy the files from the the AppHtml dir in the AJAX library to your project .
  • remember to set the correct access rights on your asp files.
  • Remember to have the same version installed on the server and in the webapplication AppHtml directory
  • Learn How to develop ASP pages