Sample WebSpeed cgi-wrapper & OpenRICO

rstanciu

Member
Download:
http://communities.progress.com/pcom/servlet/JiveServlet/download/101856-1-71239/site.zip


This is a sample web-site using webspeed (cgi-wapper method) in combination
with OpenRico which is a JavaScript library for rich internet applications.
In this example you can see a lot of gadgets like:


* rich browse
* pul-down panel
* user context management
* language translation
* look&feel management
* web-services call
* drag&drop
* custom editor
* treeview

Installation instructions:
=================
1) ... extract the zip anywhere (like: /home/site)

2) Create a UTF-8 database:
prodb sports2000 sports2000
as sports2000 is a undefined codepage you hava to convert to iso8859-1
first:
proutil -by sports2000 -C convchar convert iso8859-1
after:
proutil -by sports2000 -C convchar convert utf-8

3) Configure apache httpd.conf variables:

DocumentRoot "/home/site"
AddDefaultCharset utf-8

4) Load in the sports2000 the: site/dump/plus.df
by using these startup parameters:

-numsep 46
-numdec 44
-d dmy
-yy 1950
-yr4def
-cpcase basic
-cpcoll basic
-cpstream utf-8
-cpinternal utf-8
-cpterm utf-8
-charset utf-8
-cplog utf-8
-cpprint utf-8

5) Load in the sports2000 site/dump/*.d

6) Configure the webspeed broker WRKDIR to "/home/site"
(the same directory as apache DocumentRoot)
and the
srvrStartupParam= .... using the same startup parameters utf-8 !

7) to develop someting, take as starting procedure: proc/blank.p
In order to clean execute, all procedures have to pass over index.p
something like :

http://localhost/cgi-bin/wspd_cgi.sh/WService=wsbroker1/index.p?go=proc/blank.p

d'ont warry, index.p forwards all HTTP variables.

For text/labels use the function "tr" (translation)

Good Luck !
 

Attachments

  • Home->Browse.jpg
    Home->Browse.jpg
    76.4 KB · Views: 36
  • Home->DragAndDrop.jpg
    Home->DragAndDrop.jpg
    75.2 KB · Views: 35
  • Home->ListeCustomers.jpg
    Home->ListeCustomers.jpg
    85 KB · Views: 29
  • Home->TreeView.jpg
    Home->TreeView.jpg
    53.6 KB · Views: 22
  • Home->FCkeditor.jpg
    Home->FCkeditor.jpg
    62.8 KB · Views: 17
  • Home->Boxes.jpg
    Home->Boxes.jpg
    73.3 KB · Views: 20
  • Home->Animate .jpg
    Home->Animate .jpg
    75.3 KB · Views: 20
  • Home->2.jpg
    Home->2.jpg
    77.2 KB · Views: 25
Top