Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Incorrect Return Value of function AppeonGetClientType in Appeon.

2 posts in Appeon (partner product) Last posting was on 2011-12-16 12:22:12.0Z
Christian Diaz Posted on 2011-12-14 16:41:24.0Z
From: Christian Diaz <cjdiaz@motovalle.com>
Reply-To: cjdiaz@motovalle.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
Newsgroups: sybase.public.appeon
Subject: Incorrect Return Value of function AppeonGetClientType in Appeon.
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4ee8d1b4@forums-1-dub>
Date: 14 Dec 2011 08:41:24 -0800
X-Trace: forums-1-dub 1323880884 10.22.241.152 (14 Dec 2011 08:41:24 -0800)
X-Original-Trace: 14 Dec 2011 08:41:24 -0800, vip152.sybase.com
Lines: 29
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2845
Article PK: 13623

Hi,

I have the following code in PowerScript:


1. MessageBox("Info", AppeonGetClientType() )

2. If AppeonGetClientType() = 'PB' then
3. MessageBox("Info", "If AppeonGetClientType() = PB IS TRUE" )
4. lcd_obj = findClassDefinition ("cdfc_"+ls_clase)
5. lb_ancestor = lnv_metaclass.of_isAncestorClass(lcd_obj,
"u_wizardpage")
6. Else
7. MessageBox("Info", "If AppeonGetClientType() = PB IS FALSE" )
8. End If

Both in the PowerBuilder environment and WEB environment (Appeon) when
it is being run always returns 'PB'.

The MessageBox in the line #1 always returns 'PB' and the messagebox
always appears with the message "If AppeonGetClientType () = PB IS TRUE"
ie always AppeonGetClientType function () returns 'PB'.

Someone has an idea of ​​what is happening?

I'm using :
PB 12.0 uild 5530
Appeon Version 6.5.0202.00 in .Net.


Matthias Posted on 2011-12-16 12:22:12.0Z
From: "Matthias" <novalid@email.com>
Newsgroups: sybase.public.appeon
References: <4ee8d1b4@forums-1-dub>
In-Reply-To: <4ee8d1b4@forums-1-dub>
Subject: Re: Incorrect Return Value of function AppeonGetClientType in Appeon.
Lines: 50
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=response
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18197
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18463
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4eeb37f4$1@forums-1-dub>
Date: 16 Dec 2011 04:22:12 -0800
X-Trace: forums-1-dub 1324038132 10.22.241.152 (16 Dec 2011 04:22:12 -0800)
X-Original-Trace: 16 Dec 2011 04:22:12 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2846
Article PK: 21911

Hi Christian,

try to use the AppeonExtfuncs object which is provided in
appeon_workarounds.pbl!
Appeon recommends calling the functions of the AppeonExtfuncs object.

Here my code:
AppeonExtFuncs funs
funs = Create AppeonExtFuncs

MessageBox("Info", funs.of_GetClientType() )

Regards,
Matthias




"Christian Diaz" <cjdiaz@motovalle.com> schrieb im Newsbeitrag
news:4ee8d1b4@forums-1-dub...

> Hi,
>
> I have the following code in PowerScript:
>
>
> 1. MessageBox("Info", AppeonGetClientType() )
>
> 2. If AppeonGetClientType() = 'PB' then
> 3. MessageBox("Info", "If AppeonGetClientType() = PB IS TRUE" )
> 4. lcd_obj = findClassDefinition ("cdfc_"+ls_clase)
> 5. lb_ancestor = lnv_metaclass.of_isAncestorClass(lcd_obj,
> "u_wizardpage")
> 6. Else
> 7. MessageBox("Info", "If AppeonGetClientType() = PB IS FALSE" )
> 8. End If
>
> Both in the PowerBuilder environment and WEB environment (Appeon) when it
> is being run always returns 'PB'.
>
> The MessageBox in the line #1 always returns 'PB' and the messagebox
> always appears with the message "If AppeonGetClientType () = PB IS TRUE"
> ie always AppeonGetClientType function () returns 'PB'.
>
> Someone has an idea of ​​what is happening?
>
> I'm using :
> PB 12.0 uild 5530
> Appeon Version 6.5.0202.00 in .Net.
>