Using the AJAX Library: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
Jka (talk | contribs)
mNo edit summary
Jka (talk | contribs)
mNo edit summary
Line 15: Line 15:
== "The Good stuff" ==
== "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 ).
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 ==
== Typical problems ==

Revision as of 10:36, 14 September 2007

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