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.

Help needed for unsupported function

6 posts in Appeon (partner product) Last posting was on 2004-03-10 04:16:38.0Z
Stelios Posted on 2004-02-19 11:09:30.0Z
Reply-To: "Stelios" <stebas@mdm.gr>
From: "Stelios" <stebas@mdm.gr>
Newsgroups: sybase.public.appeon
Subject: Help needed for unsupported function
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Original-NNTP-Posting-Host: 212.205.169.203
Message-ID: <40349c15@forums-2-dub>
X-Original-Trace: 19 Feb 2004 03:20:53 -0800, 212.205.169.203
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 19 Feb 2004 02:50:46 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 19 Feb 2004 03:09:30 -0800
X-Trace: forums-1-dub 1077188970 10.22.108.75 (19 Feb 2004 03:09:30 -0800)
X-Original-Trace: 19 Feb 2004 03:09:30 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:91
Article PK: 12376

Hi,


I am using Appeon 2.7 beta2 and i want to import an xml string which
returns from a function into a datawindow.This can be done in Powerbuilder
by the function ImportString but unfortunately Appeon doesnt support it :((.
Is there any other way to do this in Appeon?

Thanks


Stelios


Julie Jiang Posted on 2004-02-20 12:35:26.0Z
From: "Julie Jiang" <julie.jiang@appeon.net>
Newsgroups: sybase.public.appeon
References: <40349c15@forums-2-dub>
Subject: Re: Help needed for unsupported function
Lines: 217
Organization: Appeon Corporation
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0157_01C3F7F1.82772050"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4922.1500
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800
NNTP-Posting-Host: 61.144.207.53
X-Original-NNTP-Posting-Host: 61.144.207.53
Message-ID: <4035ff0e@forums-1-dub>
Date: 20 Feb 2004 04:35:26 -0800
X-Trace: forums-1-dub 1077280526 61.144.207.53 (20 Feb 2004 04:35:26 -0800)
X-Original-Trace: 20 Feb 2004 04:35:26 -0800, 61.144.207.53
X-Authenticated-User: appeon
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:95
Article PK: 12378

Hi Stelios,
 
Indeed, there is one way to make the ImportString functionality work in Appeon. Here is what Appeon engineer suggests:
 
Workaround (using appeon_workarounds.pbl.  For details about appeon_workarounds.pbl, please refer to the section 8.2.1, Distributed DataWindow, in the Appeon Migration Guide):
1)Add the appeon_workarounds.pbl file to the Library Search Path of the target PowerBuilder application to be migrated by Appeon.The appeon_workarounds.pbl Library contains Appeon-coded objects specifically designed to workaround some unsupported features. The file is located under the \appeon_workarounds directory in the Appeon Developer installation path.

2) Define a DataStore instance variable that inherits from the appeondatastore.
 
3) Create an NVO and declare a function of_importxml(string as_dwo, string as_xml) in the NVO.  The function return value is of string data type. And as_dwo is the dataobject, as_xml is an xml, and the function of_importxml imports the string as_xml to datastore.
 
4) The return value of the of_importxml will be sent to the function GetChanges.
 
5) The DataWindow that will receive the imported XML from the appeondatawindow.  The DataWindow will retrieve the XML string by the SetChanges function.
 
Please let us know whether you can follow the instructions and make the workaround work.  If there is any further problem, Appeon engineer will be glad to help and provide a test case to you.
 
Regards,
Julie Jiang
Appeon Corporation
 
 
 
"Stelios" <stebas@mdm.gr> wrote in message news:40349c15@forums-2-dub...
> Hi,
>
>
>     I am using Appeon 2.7 beta2 and i want to import an xml string which
> returns from a function into a datawindow.This can be done in Powerbuilder
> by the function ImportString but unfortunately Appeon doesnt support it :((.
> Is there any other way to do this in Appeon?
>
> Thanks
>
>
> Stelios
>
>


Rex Geissler Posted on 2004-02-24 16:01:06.0Z
From: "Rex Geissler" <Rex.Geissler@sybase.com>
Newsgroups: sybase.public.appeon
References: <40349c15@forums-2-dub> <4035ff0e@forums-1-dub>
Subject: Re: Help needed for unsupported function
Lines: 253
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0030_01C3FAB4.AA8C8920"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Original-NNTP-Posting-Host: rgeissle-w2k.sybase.com
Message-ID: <403b7551$1@forums-2-dub>
X-Original-Trace: 24 Feb 2004 08:01:21 -0800, rgeissle-w2k.sybase.com
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 24 Feb 2004 08:00:37 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 24 Feb 2004 08:01:06 -0800
X-Trace: forums-1-dub 1077638466 10.22.108.75 (24 Feb 2004 08:01:06 -0800)
X-Original-Trace: 24 Feb 2004 08:01:06 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:107
Article PK: 12382

Hi Stelios,
 
There is also an Appeon EBF for 2.7 appeon_workarounds.pbl that will be posted soon that will support GetFullState, SetFullState, GetChanges, and SetChanges for DataWindows with report-oriented or complex presentation styles like Nested, Graph, Composite, etc.
 
Regards, Rex
 
 
"Julie Jiang" <julie.jiang@appeon.net> wrote in message news:4035ff0e@forums-1-dub...
Hi Stelios,
 
Indeed, there is one way to make the ImportString functionality work in Appeon. Here is what Appeon engineer suggests:
 
Workaround (using appeon_workarounds.pbl.  For details about appeon_workarounds.pbl, please refer to the section 8.2.1, Distributed DataWindow, in the Appeon Migration Guide):
1)Add the appeon_workarounds.pbl file to the Library Search Path of the target PowerBuilder application to be migrated by Appeon.The appeon_workarounds.pbl Library contains Appeon-coded objects specifically designed to workaround some unsupported features. The file is located under the \appeon_workarounds directory in the Appeon Developer installation path.

2) Define a DataStore instance variable that inherits from the appeondatastore.
 
3) Create an NVO and declare a function of_importxml(string as_dwo, string as_xml) in the NVO.  The function return value is of string data type. And as_dwo is the dataobject, as_xml is an xml, and the function of_importxml imports the string as_xml to datastore.
 
4) The return value of the of_importxml will be sent to the function GetChanges.
 
5) The DataWindow that will receive the imported XML from the appeondatawindow.  The DataWindow will retrieve the XML string by the SetChanges function.
 
Please let us know whether you can follow the instructions and make the workaround work.  If there is any further problem, Appeon engineer will be glad to help and provide a test case to you.
 
Regards,
Julie Jiang
Appeon Corporation
 
 
 
"Stelios" <stebas@mdm.gr> wrote in message news:40349c15@forums-2-dub...
> Hi,
>
>
>     I am using Appeon 2.7 beta2 and i want to import an xml string which
> returns from a function into a datawindow.This can be done in Powerbuilder
> by the function ImportString but unfortunately Appeon doesnt support it :((.
> Is there any other way to do this in Appeon?
>
> Thanks
>
>
> Stelios
>
>


Stelios Posted on 2004-03-02 09:25:41.0Z
Reply-To: "Stelios" <stebas@mdm.gr>
From: "Stelios" <stebas@mdm.gr>
Newsgroups: sybase.public.appeon
References: <40349c15@forums-2-dub> <4035ff0e@forums-1-dub>
Subject: Re: Help needed for unsupported function
Lines: 234
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_02A4_01C40048.EA617F80"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 212.205.169.207
X-Original-NNTP-Posting-Host: 212.205.169.207
Message-ID: <40445315@forums-1-dub>
Date: 2 Mar 2004 01:25:41 -0800
X-Trace: forums-1-dub 1078219541 212.205.169.207 (2 Mar 2004 01:25:41 -0800)
X-Original-Trace: 2 Mar 2004 01:25:41 -0800, 212.205.169.207
X-Authenticated-User: appeon
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:125
Article PK: 12390

 
Hi Jiang!
 
   First of all sorry for the delay of my answer its because i wasnt in the office all these days
 
I read your instructions but i didnt understand them all:
 
In the step 3, the NVO will be a componet in EAS? if not then what is the code of the function of_importxml? because i cant use importString in appeon
 
In step 4 you say return value will be sent to the function GetChanges, what will be the return string? and which one NVO  GetChanges?(appeondatastore,appeondatawindow?).
 
Thanks
 
Stelios
 
Ο "Julie Jiang" <julie.jiang@appeon.net> έγραψε στο μήνυμα news:4035ff0e@forums-1-dub...
Hi Stelios,
 
Indeed, there is one way to make the ImportString functionality work in Appeon. Here is what Appeon engineer suggests:
 
Workaround (using appeon_workarounds.pbl.  For details about appeon_workarounds.pbl, please refer to the section 8.2.1, Distributed DataWindow, in the Appeon Migration Guide):
1)Add the appeon_workarounds.pbl file to the Library Search Path of the target PowerBuilder application to be migrated by Appeon.The appeon_workarounds.pbl Library contains Appeon-coded objects specifically designed to workaround some unsupported features. The file is located under the \appeon_workarounds directory in the Appeon Developer installation path.

2) Define a DataStore instance variable that inherits from the appeondatastore.
 
3) Create an NVO and declare a function of_importxml(string as_dwo, string as_xml) in the NVO.  The function return value is of string data type. And as_dwo is the dataobject, as_xml is an xml, and the function of_importxml imports the string as_xml to datastore.
 
4) The return value of the of_importxml will be sent to the function GetChanges.
 
5) The DataWindow that will receive the imported XML from the appeondatawindow.  The DataWindow will retrieve the XML string by the SetChanges function.
 
Please let us know whether you can follow the instructions and make the workaround work.  If there is any further problem, Appeon engineer will be glad to help and provide a test case to you.
 
Regards,
Julie Jiang
Appeon Corporation
 


Julie Jiang Posted on 2004-03-02 12:40:57.0Z
From: "Julie Jiang" <julie.jiang@appeon.net>
Newsgroups: sybase.public.appeon
References: <40349c15@forums-2-dub> <4035ff0e@forums-1-dub> <40445315@forums-1-dub>
Subject: Re: Help needed for unsupported function
Lines: 383
Organization: Appeon Corporation
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_026E_01C40096.F8537550"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4922.1500
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800
X-Original-NNTP-Posting-Host: 61.144.207.53
Message-ID: <404480ff@forums-2-dub>
X-Original-Trace: 2 Mar 2004 04:41:35 -0800, 61.144.207.53
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 2 Mar 2004 04:39:45 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 2 Mar 2004 04:40:57 -0800
X-Trace: forums-1-dub 1078231257 10.22.108.75 (2 Mar 2004 04:40:57 -0800)
X-Original-Trace: 2 Mar 2004 04:40:57 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:126
Article PK: 12391

Hi Stelios,
 
It is correct that the NVO will be a component in EAS.  After the NVO is deployed to EAServer, please generate Stub/Skeleton for the NVO. Check the following options and leave other options to be the default value on the "Generate Stubs & Skeletons: nvo_import" dialog box.
- Generate Java Stubs
- Generate Java File
- Compile Java Stubs
- Generate Skeletons
- Compile Java Skeletons
 
Let me rephrase the step 4: "Execute the function GetChanges for the datastore (i.e. the appeondatastore in EAS) for retrieving the changes that are made to the datastore in the step 3.
 
Let me rephrase the step 5: "Execute the function SetChanges for a DataWindow that is inherited from appeondatawindow.  The DataWindow will synchronized with the changes in the datastore.  And the changes are actually the string to be imported to the DataWindow."
 
Regards,
Julie Jiang
Appeon Corporation
 
"Stelios" <stebas@mdm.gr> wrote in message news:40445315@forums-1-dub...
 
Hi Jiang!
 
   First of all sorry for the delay of my answer its because i wasnt in the office all these days
 
I read your instructions but i didnt understand them all:
 
In the step 3, the NVO will be a componet in EAS? if not then what is the code of the function of_importxml? because i cant use importString in appeon
 
In step 4 you say return value will be sent to the function GetChanges, what will be the return string? and which one NVO  GetChanges?(appeondatastore,appeondatawindow?).
 
Thanks
 
Stelios
 
Ο "Julie Jiang" <julie.jiang@appeon.net> έγραψε στο μήνυμα news:4035ff0e@forums-1-dub...
Hi Stelios,
 
Indeed, there is one way to make the ImportString functionality work in Appeon. Here is what Appeon engineer suggests:
 
Workaround (using appeon_workarounds.pbl.  For details about appeon_workarounds.pbl, please refer to the section 8.2.1, Distributed DataWindow, in the Appeon Migration Guide):
1)Add the appeon_workarounds.pbl file to the Library Search Path of the target PowerBuilder application to be migrated by Appeon.The appeon_workarounds.pbl Library contains Appeon-coded objects specifically designed to workaround some unsupported features. The file is located under the \appeon_workarounds directory in the Appeon Developer installation path.

2) Define a DataStore instance variable that inherits from the appeondatastore.
 
3) Create an NVO and declare a function of_importxml(string as_dwo, string as_xml) in the NVO.  The function return value is of string data type. And as_dwo is the dataobject, as_xml is an xml, and the function of_importxml imports the string as_xml to datastore.
 
4) The return value of the of_importxml will be sent to the function GetChanges.
 
5) The DataWindow that will receive the imported XML from the appeondatawindow.  The DataWindow will retrieve the XML string by the SetChanges function.
 
Please let us know whether you can follow the instructions and make the workaround work.  If there is any further problem, Appeon engineer will be glad to help and provide a test case to you.
 
Regards,
Julie Jiang
Appeon Corporation
 


Rex Geissler Posted on 2004-03-10 04:16:38.0Z
From: "Rex Geissler" <Rex.Geissler@sybase.com>
Newsgroups: sybase.public.appeon
References: <40349c15@forums-2-dub> <4035ff0e@forums-1-dub> <40445315@forums-1-dub>
Subject: Re: Help needed for unsupported function
Lines: 277
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0038_01C4061B.C9EBBD50"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Original-NNTP-Posting-Host: vpn-concord-096.sybase.com
Message-ID: <404e9757@forums-2-dub>
X-Original-Trace: 9 Mar 2004 20:19:35 -0800, vpn-concord-096.sybase.com
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 9 Mar 2004 20:16:33 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 9 Mar 2004 20:16:38 -0800
X-Trace: forums-1-dub 1078892198 10.22.108.75 (9 Mar 2004 20:16:38 -0800)
X-Original-Trace: 9 Mar 2004 20:16:38 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:156
Article PK: 12405

Hi Stelios,
 
This type of architecture is also demonstrated in the sample code of the Appeon Code Examples application that has 100 windows and ships with Appeon. Please see the window w_distributed_dw, which calls an NVO that performs a ds.Retrieve() and ds.GetFullState() but could just have easily performed a ds.ImportString() or ds.ImportFile() and ds.GetFullState() to pass a string data type back to the client web app and then performs a dw.SetFullState().
 
Regards, Rex
 
"Stelios" <stebas@mdm.gr> wrote in message news:40445315@forums-1-dub...
 
Hi Jiang!
 
   First of all sorry for the delay of my answer its because i wasnt in the office all these days
 
I read your instructions but i didnt understand them all:
 
In the step 3, the NVO will be a componet in EAS? if not then what is the code of the function of_importxml? because i cant use importString in appeon
 
In step 4 you say return value will be sent to the function GetChanges, what will be the return string? and which one NVO  GetChanges?(appeondatastore,appeondatawindow?).
 
Thanks
 
Stelios
 
Ο "Julie Jiang" <julie.jiang@appeon.net> έγραψε στο μήνυμα news:4035ff0e@forums-1-dub...
Hi Stelios,
 
Indeed, there is one way to make the ImportString functionality work in Appeon. Here is what Appeon engineer suggests:
 
Workaround (using appeon_workarounds.pbl.  For details about appeon_workarounds.pbl, please refer to the section 8.2.1, Distributed DataWindow, in the Appeon Migration Guide):
1)Add the appeon_workarounds.pbl file to the Library Search Path of the target PowerBuilder application to be migrated by Appeon.The appeon_workarounds.pbl Library contains Appeon-coded objects specifically designed to workaround some unsupported features. The file is located under the \appeon_workarounds directory in the Appeon Developer installation path.

2) Define a DataStore instance variable that inherits from the appeondatastore.
 
3) Create an NVO and declare a function of_importxml(string as_dwo, string as_xml) in the NVO.  The function return value is of string data type. And as_dwo is the dataobject, as_xml is an xml, and the function of_importxml imports the string as_xml to datastore.
 
4) The return value of the of_importxml will be sent to the function GetChanges.
 
5) The DataWindow that will receive the imported XML from the appeondatawindow.  The DataWindow will retrieve the XML string by the SetChanges function.
 
Please let us know whether you can follow the instructions and make the workaround work.  If there is any further problem, Appeon engineer will be glad to help and provide a test case to you.
 
Regards,
Julie Jiang
Appeon Corporation