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.

passing array parameter to Jag component..

2 posts in General Discussion (old) Last posting was on 2000-02-17 17:39:05.0Z
Kevin Dinh Posted on 2000-02-17 17:35:07.0Z
Newsgroups: sybase.public.easerver
From: "Kevin Dinh" <dinhk@mainsaver.com>
Subject: passing array parameter to Jag component..
Date: Thu, 17 Feb 2000 09:35:07 -0800
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 206.17.202.2
Message-ID: <347_XSvXV3We$GA.223@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28484
Article PK: 160639

Hi,

Does anyone has an example of how to contruct the array string using
JavaScript and passing to Jag component? Currently, I have to concatenate
to the string and split it out in the component... can we use the real
array format?... such as array[0] = "abc", array[1] = "xyz"? If yes, can you
show me the syntax?

Thanks,
Kevin


Dave Wolf [Sybase] Posted on 2000-02-17 17:39:05.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: passing array parameter to Jag component..
Date: Thu, 17 Feb 2000 12:39:05 -0500
Lines: 301
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: dwolf-nt.sybase.com 157.133.41.127
Message-ID: <347_p1mfi5We$GA.332@forums.sybase.com>
References: <347_XSvXV3We$GA.223@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28482
Article PK: 160638

Please see my attached DynaScript classes to make this easier.

import JavaWrappers.ssc;

array = new JavaArrayHelper("java.lang.String",2);
array[0] = "Dave";
array[1] ="Wolf";
array = array.save();

Dave Wolf
Internet Applications Division

Kevin Dinh <dinhk@mainsaver.com> wrote in message
news:XSvXV3We$GA.223@forums.sybase.com...
> Hi,
>
> Does anyone has an example of how to contruct the array string using
> JavaScript and passing to Jag component? Currently, I have to concatenate
> to the string and split it out in the component... can we use the real
> array format?... such as array[0] = "abc", array[1] = "xyz"? If yes, can
you
> show me the syntax?
>
> Thanks,
> Kevin
>
>