Consultor Eletrônico



Kbase P21276: "Unable to run Web object" running code from workshop editor
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

FACT(s) (Environment):

WebSpeed 3.x

SYMPTOM(s):

"Unable to run Web object '<path of the file>'"

The following code was run from the WebSpeed Workshop > editor:

FIND FIRST customer.
{&OUT} customer.name.

The above code runs from the scripting lab.

CAUSE:

In the editor if the above code was run, it will not recognize the "{&OUT}" unless the cgidefs.i as "{src/web/method/cgidefs.i}" or wrap-cgi.i as "{src/web2/wrap-cgi.i}" is referenced.

FIX:

Reference the include file at the beginning of the file as:

{src/web/method/cgidefs.i}

or

{src/web2/wrap-cgi.i}