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.

HTML datawindow

5 posts in General Discussion (old) Last posting was on 2000-03-17 17:45:25.0Z
Allen Posted on 2000-03-17 12:42:13.0Z
Newsgroups: sybase.public.easerver
Reply-To: "allen" <yin5915@ms5.hinet.net>
From: "allen" <yin5915@ms5.hinet.net>
Subject: HTML datawindow
Date: Fri, 17 Mar 2000 20:42:13 +0800
Lines: 58
Organization: allen
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: 203.66.103.130
Message-ID: <347_qdHD47Ak$GA.261@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26221
Article PK: 156893

<!--script
//
dwMine = java.CreateComponent("DataWindow/HTMLGenerator",
"iiop://localhost:9000", "jagadmin", "");
//
// set the PBL and data object
// Note the absolute path to the PBL so it does not have to be added to the
path
//
retVal = dwMine.SetDWObject ("gmlist.pbl","d_listemp");
if (retVal != 1)

{
document.writeln("SetDWObject failed " +
retVal + "<BR>");

}
//
// Determines the browser so the HTML can be optimized
//
dwMine.SetBrowser(document.GetServerVariable("HTTP_USER_AGENT"));
//
// Sets a reference to the DataWindow for client-side scripting
//
dwMine.SetHTMLObjectName ("dwMine");
//
// set the database connection info
//
dwMine.SetTrans("ODBC","ConnectString='DSN=test;UID=dba;PWD=sql'", "", "",
"", "", "")
//
// determines the action to take (i.e. update, retrieve, etc.) and the
context of that action
//
retVal = dwMine.Retrieve();
document.writeln(retVal);
if (retVal < 0 )
{
document.writeln("Error on Retrieve: " + retval +
"<BR>");
document.writeln(dwMine.GetLastErrorString() +
"<BR>")
}

// Specify which types of JavaScript code are included in the generated HTML
//
dwMine.SetWeight (true, true, true, true, true)
//
// generates the HTML for the DataWindow
//
document.Write(dwMine.Generate());
-->
browser display
692 null
692 is document.writeln(retVal);


Tim Nesham Posted on 2000-03-17 14:20:36.0Z
Newsgroups: sybase.public.easerver
From: "Tim Nesham" <tim.nesham@born.com>
Subject: Re: HTML datawindow
Date: Fri, 17 Mar 2000 08:20:36 -0600
Lines: 72
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Original-NNTP-Posting-Host: 161.49.6.89
Organization: Quad/Graphics,Inc.
NNTP-Posting-Host: dns2.qgraph.com 206.158.124.2
Message-ID: <347_38d23f38@news.qgraph.com>
References: <347_qdHD47Ak$GA.261@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!news.qgraph.com!161.49.6.89
Xref: forums-1-dub sybase.public.easerver:26212
Article PK: 156881

You said:

> // Note the absolute path to the PBL so it does not have to be added to
the
> path
> retVal = dwMine.SetDWObject ("gmlist.pbl","d_listemp");

Really? I don't see an absolute path.
Does your datawindow work in the painter?

"allen" <yin5915@ms5.hinet.net> wrote in message
news:qdHD47Ak$GA.261@forums.sybase.com...
> <!--script
> //
> dwMine = java.CreateComponent("DataWindow/HTMLGenerator",
> "iiop://localhost:9000", "jagadmin", "");
> //
> // set the PBL and data object
> // Note the absolute path to the PBL so it does not have to be added to
the
> path
> //
> retVal = dwMine.SetDWObject ("gmlist.pbl","d_listemp");
> if (retVal != 1)
>
> {
> document.writeln("SetDWObject failed " +
> retVal + "<BR>");
>
> }
> //
> // Determines the browser so the HTML can be optimized
> //
> dwMine.SetBrowser(document.GetServerVariable("HTTP_USER_AGENT"));
> //
> // Sets a reference to the DataWindow for client-side scripting
> //
> dwMine.SetHTMLObjectName ("dwMine");
> //
> // set the database connection info
> //
> dwMine.SetTrans("ODBC","ConnectString='DSN=test;UID=dba;PWD=sql'", "", "",
> "", "", "")
> //
> // determines the action to take (i.e. update, retrieve, etc.) and the
> context of that action
> //
> retVal = dwMine.Retrieve();
> document.writeln(retVal);
> if (retVal < 0 )
> {
> document.writeln("Error on Retrieve: " + retval +
> "<BR>");
> document.writeln(dwMine.GetLastErrorString() +
> "<BR>")
> }
>
> // Specify which types of JavaScript code are included in the generated
HTML
> //
> dwMine.SetWeight (true, true, true, true, true)
> //
> // generates the HTML for the DataWindow
> //
> document.Write(dwMine.Generate());
> -->
> browser display
> 692 null
> 692 is document.writeln(retVal);
>
>
>


Allen Posted on 2000-03-17 17:45:25.0Z
Newsgroups: sybase.public.easerver
Reply-To: "allen" <yin5915@ms5.hinet.net>
From: "allen" <yin5915@ms5.hinet.net>
Subject: Re: HTML datawindow
Date: Sat, 18 Mar 2000 01:45:25 +0800
Lines: 80
Organization: allen
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: 203.75.157.52
Message-ID: <347_gNCWblDk$GA.261@forums.sybase.com>
References: <347_qdHD47Ak$GA.261@forums.sybase.com> <347_38d23f38@news.qgraph.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26184
Article PK: 156857

Yes !!
I changed the Codeset on Jaguar to iso_1 can worked , but Codeset set
changed utf8 not worked.

Tim Nesham <tim.nesham@born.com> wrote in message
news:38d23f38@news.qgraph.com...
> You said:
> > // Note the absolute path to the PBL so it does not have to be added to
> the
> > path
> > retVal = dwMine.SetDWObject ("gmlist.pbl","d_listemp");
> Really? I don't see an absolute path.
> Does your datawindow work in the painter?
>
> "allen" <yin5915@ms5.hinet.net> wrote in message
> news:qdHD47Ak$GA.261@forums.sybase.com...
> > <!--script
> > //
> > dwMine = java.CreateComponent("DataWindow/HTMLGenerator",
> > "iiop://localhost:9000", "jagadmin", "");
> > //
> > // set the PBL and data object
> > // Note the absolute path to the PBL so it does not have to be added to
> the
> > path
> > //
> > retVal = dwMine.SetDWObject ("gmlist.pbl","d_listemp");
> > if (retVal != 1)
> >
> > {
> > document.writeln("SetDWObject failed " +
> > retVal + "<BR>");
> >
> > }
> > //
> > // Determines the browser so the HTML can be optimized
> > //
> > dwMine.SetBrowser(document.GetServerVariable("HTTP_USER_AGENT"));
> > //
> > // Sets a reference to the DataWindow for client-side scripting
> > //
> > dwMine.SetHTMLObjectName ("dwMine");
> > //
> > // set the database connection info
> > //
> > dwMine.SetTrans("ODBC","ConnectString='DSN=test;UID=dba;PWD=sql'", "",
"",
> > "", "", "")
> > //
> > // determines the action to take (i.e. update, retrieve, etc.) and the
> > context of that action
> > //
> > retVal = dwMine.Retrieve();
> > document.writeln(retVal);
> > if (retVal < 0 )
> > {
> > document.writeln("Error on Retrieve: " + retval +
> > "<BR>");
> > document.writeln(dwMine.GetLastErrorString() +
> > "<BR>")
> > }
> >
> > // Specify which types of JavaScript code are included in the generated
> HTML
> > //
> > dwMine.SetWeight (true, true, true, true, true)
> > //
> > // generates the HTML for the DataWindow
> > //
> > document.Write(dwMine.Generate());
> > -->
> > browser display
> > 692 null
> > 692 is document.writeln(retVal);
> >
> >
> >
>
>


Berndt Hamboeck Posted on 2000-03-17 13:23:24.0Z
Newsgroups: sybase.public.easerver
From: "Berndt Hamboeck" <bhamboec@sybase.com>
Organization: 195.75.3.66
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: Re: HTML datawindow
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Fri, 17 Mar 2000 08:23:24 -0500
Lines: 5
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_NxDN5PBk$GA.285@forums.sybase.com>
References: <347_qdHD47Ak$GA.261@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26218
Article PK: 156889

I had the same (searching for it for 3 hours)
I changed the Codeset on Jaguar to iso_1 -> worked.

>browser display
>692 null
>692 is document.writeln(retVal);
>
>
>


Allen Posted on 2000-03-17 14:19:47.0Z
Newsgroups: sybase.public.easerver
Reply-To: "allen" <yin5915@ms5.hinet.net>
From: "allen" <yin5915@ms5.hinet.net>
Subject: Re: HTML datawindow
Date: Fri, 17 Mar 2000 22:19:47 +0800
Lines: 15
Organization: allen
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: 203.66.103.130
Message-ID: <347_yPfwSyBk$GA.111@forums.sybase.com>
References: <347_qdHD47Ak$GA.261@forums.sybase.com> <347_NxDN5PBk$GA.285@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26213
Article PK: 156880

thank . I can worked.
^^

Berndt Hamboeck <bhamboec@sybase.com> wrote in message
news:NxDN5PBk$GA.285@forums.sybase.com...
> I had the same (searching for it for 3 hours)
> I changed the Codeset on Jaguar to iso_1 -> worked.
>
> >browser display
> >692 null
> >692 is document.writeln(retVal);
> >
> >
> >