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.

can't get serverside dw functions to work: "Object doesn't support this property or method"

7 posts in General Discussion (old) Last posting was on 2000-03-30 11:39:09.0Z
Jay S. Posted on 2000-03-28 21:32:12.0Z
Newsgroups: sybase.public.easerver
From: "Jay S." <ash477@hotmail.com>
Subject: can't get serverside dw functions to work: "Object doesn't support this property or method"
Date: Tue, 28 Mar 2000 16:32:12 -0500
Lines: 102
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_00D7_01BF98D3.2B917E60"
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
NNTP-Posting-Host: 209.10.134.2
Message-ID: <347_MwVIV2Pm$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25426
Article PK: 155518

When the user hits update, I want to display a blank row.   To do that I have this code in my page:
 
if (dwMine_action + "" != "undefined")
   {
   retVal = dwMine.SetAction (dwMine_action, dwMine_context);
   Response.Write(dwMine_action); // for testing
   if (dwMine_action == "Update") {dwMine.InsertRow(0);}
   }
 Response.Write( dwMine.Generate() );
 
The script is bombing on the InsertRow(0); call.  IE says "object doesn't support this property or method".  However I'm using InsertRow successfully earlier on in my ASP page without any problem:
<BODY  onload="if (dwMine.RowCount() ==0)
    {
    dwMine.InsertRow(0);
    }">
 
So what do I have to do to get it to work serverside?    I recall Larry C. telling me once that you can't call InsertRow on the server side without modifying some PB pbd's somehow...   Can Larry or someone else give me details on how to get this to work? 
 
Thanks for any help,
Jay Shohet    ash477@hotmail.com 


Jorge Luzarraga C. Posted on 2000-03-28 23:41:08.0Z
Newsgroups: sybase.public.easerver
From: "Jorge Luzarraga C." <jluzarra@alboradasystems.com>
Subject: Re: can't get serverside dw functions to work: "Object doesn't support this property or method"
Date: Tue, 28 Mar 2000 18:41:08 -0500
Lines: 149
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01BF98E5.2EEA4120"
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: 209.170.68.205
Message-ID: <347_nmtmRMRm$GA.285@forums.sybase.com>
References: <347_MwVIV2Pm$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25415
Article PK: 155510

Jay,
 
The message error you're getting says that there isn't a object at client-side that supports that method or property talking about javascript, the language used for catching events at client side.
 
are you trying to invoke a component's method from inside a JavaScript client-side script?, if so? you just can't do that. You must invoke your component's method from inside powerdynamo script( server-side scripts), so you must reload the page in order to execute the component method you want.
 
Besides your component must have that method as part of its interface.
Jay S. <ash477@hotmail.com> wrote in message news:MwVIV2Pm$GA.201@forums.sybase.com...
When the user hits update, I want to display a blank row.   To do that I have this code in my page:
 
if (dwMine_action + "" != "undefined")
   {
   retVal = dwMine.SetAction (dwMine_action, dwMine_context);
   Response.Write(dwMine_action); // for testing
   if (dwMine_action == "Update") {dwMine.InsertRow(0);}
   }
 Response.Write( dwMine.Generate() );
 
The script is bombing on the InsertRow(0); call.  IE says "object doesn't support this property or method".  However I'm using InsertRow successfully earlier on in my ASP page without any problem:
<BODY  onload="if (dwMine.RowCount() ==0)
    {
    dwMine.InsertRow(0);
    }">
 
So what do I have to do to get it to work serverside?    I recall Larry C. telling me once that you can't call InsertRow on the server side without modifying some PB pbd's somehow...   Can Larry or someone else give me details on how to get this to work? 
 
Thanks for any help,
Jay Shohet    ash477@hotmail.com 


Jay S. Posted on 2000-03-29 09:33:34.0Z
Newsgroups: sybase.public.easerver
From: "Jay S." <ash477@hotmail.com>
Subject: Re: can't get serverside dw functions to work: "Object doesn't support this property or method"
Date: Wed, 29 Mar 2000 04:33:34 -0500
Lines: 154
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01BF9937.F1946AF0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
NNTP-Posting-Host: cc414260-a.etntwn1.nj.home.com 24.3.205.187
Message-ID: <347_FfUTyNWm$GA.290@forums.sybase.com>
References: <347_MwVIV2Pm$GA.201@forums.sybase.com> <347_nmtmRMRm$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:25401
Article PK: 155493

'dwMine' below is the instance of the htmldw.  It IS most definately Serverside javascript  in my ASP page.  In ASP, anything within the <% %> brackets denotes that it gets executed on the server, and the snippet of code you see below is within those quotes. 
 
Maybe I can ask the ng how to do the following:   after the user hits 'Update' [I'm thinking of changing the name to Submit],  I want to display a single, new record.  Not the one that got updated -- I want just a new blank record.  I'm trying to emulate a typical 'form' on the internet that has a submit button.  After you hit Submit, the form should clear. 
 
Thanks,
Jay Shohet
are you trying to invoke a component's method from inside a JavaScript client-side script?, if so? you just can't do that. You must invoke your component's method from inside powerdynamo script( server-side scripts), so you must reload the page in order to execute the component method you want.
 
Besides your component must have that method as part of its interface.
When the user hits update, I want to display a blank row.   To do that I have this code in my page:
 
if (dwMine_action + "" != "undefined")
   {
   retVal = dwMine.SetAction (dwMine_action, dwMine_context);
   Response.Write(dwMine_action); // for testing
   if (dwMine_action == "Update") {dwMine.InsertRow(0);}
   }
 Response.Write( dwMine.Generate() );
 
The script is bombing on the InsertRow(0); call.  IE says "object doesn't support this property or method".  So what do I have to do to get it to work serverside?    I recall Larry C. telling me once that you can't call InsertRow on the server side without modifying some PB pbd's somehow...   Can Larry or someone else give me details on how to get this to work? 
 
Thanks for any help,
Jay Shohet    ash477@hotmail.com 


Steve Finck Posted on 2000-03-29 13:10:26.0Z
Newsgroups: sybase.public.easerver
From: "Steve Finck" <stevefinck@spam.mindspring.com>
Subject: Re: can't get serverside dw functions to work: "Object doesn't support this property or method"
Date: Wed, 29 Mar 2000 06:10:26 -0700
Lines: 62
Organization: Corporate Technology Partners
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: dialup-206-26-107-149.mho.net 206.26.107.149
Message-ID: <347_sR3ANDYm$GA.52@forums.sybase.com>
References: <347_MwVIV2Pm$GA.201@forums.sybase.com> <347_nmtmRMRm$GA.285@forums.sybase.com> <347_FfUTyNWm$GA.290@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25394
Article PK: 155490

Jay,

You are correct in your recollection that the HTMLGenerator component does
not support the InsertRow method. If you want to be able to insert a row
from a server side script, you need to modify the HTMLGenerator component
and add an InsertRow method. The source for the HTMLGenerator component can
be found in pbdwrmt.pbl in the \Code Examples\Htmldw\ directory in your
PowerBuilder installation.

Steve Finck
Corporate Technology Partners
www.ctpartners.com

Sybase J2EE Whistle Stop Tour
April 11 - Boston
April 13 - Denver


Jay S. <ash477@hotmail.com> wrote in message
news:FfUTyNWm$GA.290@forums.sybase.com...
'dwMine' below is the instance of the htmldw. It IS most definately
Serverside javascript in my ASP page. In ASP, anything within the <% %>
brackets denotes that it gets executed on the server, and the snippet of
code you see below is within those quotes.

Maybe I can ask the ng how to do the following: after the user hits
'Update' [I'm thinking of changing the name to Submit], I want to display a
single, new record. Not the one that got updated -- I want just a new blank
record. I'm trying to emulate a typical 'form' on the internet that has a
submit button. After you hit Submit, the form should clear.

Thanks,
Jay Shohet
are you trying to invoke a component's method from inside a JavaScript
client-side script?, if so? you just can't do that. You must invoke your
component's method from inside powerdynamo script( server-side scripts), so
you must reload the page in order to execute the component method you want.

Besides your component must have that method as part of its interface.
When the user hits update, I want to display a blank row. To do that I
have this code in my page:

if (dwMine_action + "" != "undefined")


retVal = dwMine.SetAction (dwMine_action, dwMine_context);
Response.Write(dwMine_action); // for testing
if (dwMine_action == "Update") {dwMine.InsertRow(0);}
}
Response.Write( dwMine.Generate() );

The script is bombing on the InsertRow(0); call. IE says "object
doesn't support this property or method". So what do I have to do to get it
to work serverside? I recall Larry C. telling me once that you can't call
InsertRow on the server side without modifying some PB pbd's somehow...
Can Larry or someone else give me details on how to get this to work?

Thanks for any help,
Jay Shohet ash477@hotmail.com


Jay S. Posted on 2000-03-29 19:33:00.0Z
Newsgroups: sybase.public.easerver
From: "Jay S." <ash477@hotmail.com>
Subject: Re: can't get serverside dw functions to work: "Object doesn't support this property or method"
Date: Wed, 29 Mar 2000 14:33:00 -0500
Lines: 81
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
NNTP-Posting-Host: 209.10.134.2
Message-ID: <347_$LQ$ZYbm$GA.298@forums.sybase.com>
References: <347_MwVIV2Pm$GA.201@forums.sybase.com> <347_nmtmRMRm$GA.285@forums.sybase.com> <347_FfUTyNWm$GA.290@forums.sybase.com> <347_sR3ANDYm$GA.52@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25327
Article PK: 154295

hi Steve, can you verify this directory and file? I can't find pbdwrmt.pbl
anywhere on my machine, which DOES have PB 7 on it. Also I can't find a
htmldw folder either.

Jay Shohet

"Steve Finck" <stevefinck@spam.mindspring.com> wrote in message
news:sR3ANDYm$GA.52@forums.sybase.com...
> Jay,
>
> You are correct in your recollection that the HTMLGenerator component does
> not support the InsertRow method. If you want to be able to insert a row
> from a server side script, you need to modify the HTMLGenerator component
> and add an InsertRow method. The source for the HTMLGenerator component
can
> be found in pbdwrmt.pbl in the \Code Examples\Htmldw\ directory in your
> PowerBuilder installation.
>
> Steve Finck
> Corporate Technology Partners
> www.ctpartners.com
>
> Sybase J2EE Whistle Stop Tour
> April 11 - Boston
> April 13 - Denver
>
>
> Jay S. <ash477@hotmail.com> wrote in message
> news:FfUTyNWm$GA.290@forums.sybase.com...
> 'dwMine' below is the instance of the htmldw. It IS most definately
> Serverside javascript in my ASP page. In ASP, anything within the <% %>
> brackets denotes that it gets executed on the server, and the snippet of
> code you see below is within those quotes.
>
> Maybe I can ask the ng how to do the following: after the user hits
> 'Update' [I'm thinking of changing the name to Submit], I want to display
a
> single, new record. Not the one that got updated -- I want just a new
blank
> record. I'm trying to emulate a typical 'form' on the internet that has a
> submit button. After you hit Submit, the form should clear.
>
> Thanks,
> Jay Shohet
> are you trying to invoke a component's method from inside a JavaScript
> client-side script?, if so? you just can't do that. You must invoke your
> component's method from inside powerdynamo script( server-side scripts),
so
> you must reload the page in order to execute the component method you
want.
>
> Besides your component must have that method as part of its interface.
> When the user hits update, I want to display a blank row. To do that
I
> have this code in my page:
>
> if (dwMine_action + "" != "undefined")
>
>
> retVal = dwMine.SetAction (dwMine_action, dwMine_context);
> Response.Write(dwMine_action); // for testing
> if (dwMine_action == "Update") {dwMine.InsertRow(0);}
> }
> Response.Write( dwMine.Generate() );
>
> The script is bombing on the InsertRow(0); call. IE says "object
> doesn't support this property or method". So what do I have to do to get
it
> to work serverside? I recall Larry C. telling me once that you can't
call
> InsertRow on the server side without modifying some PB pbd's somehow...
> Can Larry or someone else give me details on how to get this to work?
>
> Thanks for any help,
> Jay Shohet ash477@hotmail.com
>
>
>


Larry Cermak[Team Sybase] Posted on 2000-03-30 01:48:14.0Z
Newsgroups: sybase.public.easerver
From: "Larry Cermak[Team Sybase]" <lcermak@ctpartners.com>
Subject: Re: can't get serverside dw functions to work: "Object doesn't support this property or method"
Date: Wed, 29 Mar 2000 19:48:14 -0600
Lines: 108
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
NNTP-Posting-Host: node18.dhcpchi.dslspeed.zyan.com 208.41.199.18
Message-ID: <347_DNJyMuem$GA.290@forums.sybase.com>
References: <347_MwVIV2Pm$GA.201@forums.sybase.com> <347_nmtmRMRm$GA.285@forums.sybase.com> <347_FfUTyNWm$GA.290@forums.sybase.com> <347_sR3ANDYm$GA.52@forums.sybase.com> <347_$LQ$ZYbm$GA.298@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25275
Article PK: 154285

He mentioned the correct directory. When you installed PB did you install
the example applications? That's what installs it.

--

Larry Cermak [Team Sybase]
Corporate Technology Partners, Inc.
www.ctpartners.com
Web DataWindow Articles
(http://sdn.sybase.com/sdn/appdev/get_doc.stm?loc=1001708)

Web DataWindow Training
EAServer Training

"Jay S." <ash477@hotmail.com> wrote in message
news:$LQ$ZYbm$GA.298@forums.sybase.com...
> hi Steve, can you verify this directory and file? I can't find
pbdwrmt.pbl
> anywhere on my machine, which DOES have PB 7 on it. Also I can't find a
> htmldw folder either.
>
> Jay Shohet
>
>
> "Steve Finck" <stevefinck@spam.mindspring.com> wrote in message
> news:sR3ANDYm$GA.52@forums.sybase.com...
> > Jay,
> >
> > You are correct in your recollection that the HTMLGenerator component
does
> > not support the InsertRow method. If you want to be able to insert a
row
> > from a server side script, you need to modify the HTMLGenerator
component
> > and add an InsertRow method. The source for the HTMLGenerator component
> can
> > be found in pbdwrmt.pbl in the \Code Examples\Htmldw\ directory in your
> > PowerBuilder installation.
> >
> > Steve Finck
> > Corporate Technology Partners
> > www.ctpartners.com
> >
> > Sybase J2EE Whistle Stop Tour
> > April 11 - Boston
> > April 13 - Denver
> >
> >
> > Jay S. <ash477@hotmail.com> wrote in message
> > news:FfUTyNWm$GA.290@forums.sybase.com...
> > 'dwMine' below is the instance of the htmldw. It IS most definately
> > Serverside javascript in my ASP page. In ASP, anything within the <%
%>
> > brackets denotes that it gets executed on the server, and the snippet of
> > code you see below is within those quotes.
> >
> > Maybe I can ask the ng how to do the following: after the user hits
> > 'Update' [I'm thinking of changing the name to Submit], I want to
display
> a
> > single, new record. Not the one that got updated -- I want just a new
> blank
> > record. I'm trying to emulate a typical 'form' on the internet that has
a
> > submit button. After you hit Submit, the form should clear.
> >
> > Thanks,
> > Jay Shohet
> > are you trying to invoke a component's method from inside a JavaScript
> > client-side script?, if so? you just can't do that. You must invoke your
> > component's method from inside powerdynamo script( server-side scripts),
> so
> > you must reload the page in order to execute the component method you
> want.
> >
> > Besides your component must have that method as part of its interface.
> > When the user hits update, I want to display a blank row. To do
that
> I
> > have this code in my page:
> >
> > if (dwMine_action + "" != "undefined")
> >
> >
> > retVal = dwMine.SetAction (dwMine_action, dwMine_context);
> > Response.Write(dwMine_action); // for testing
> > if (dwMine_action == "Update") {dwMine.InsertRow(0);}
> > }
> > Response.Write( dwMine.Generate() );
> >
> > The script is bombing on the InsertRow(0); call. IE says "object
> > doesn't support this property or method". So what do I have to do to
get
> it
> > to work serverside? I recall Larry C. telling me once that you can't
> call
> > InsertRow on the server side without modifying some PB pbd's somehow...
> > Can Larry or someone else give me details on how to get this to work?
> >
> > Thanks for any help,
> > Jay Shohet ash477@hotmail.com
> >
> >
> >
>
>


Jay S. Posted on 2000-03-30 11:39:09.0Z
Newsgroups: sybase.public.easerver
From: "Jay S." <ash477@hotmail.com>
Subject: Re: can't get serverside dw functions to work: "Object doesn't support this property or method"
Date: Thu, 30 Mar 2000 06:39:09 -0500
Lines: 126
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
NNTP-Posting-Host: cc414260-a.etntwn1.nj.home.com 24.3.205.187
Message-ID: <347_KP5Jp4jm$GA.201@forums.sybase.com>
References: <347_MwVIV2Pm$GA.201@forums.sybase.com> <347_nmtmRMRm$GA.285@forums.sybase.com> <347_FfUTyNWm$GA.290@forums.sybase.com> <347_sR3ANDYm$GA.52@forums.sybase.com> <347_$LQ$ZYbm$GA.298@forums.sybase.com> <347_DNJyMuem$GA.290@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25252
Article PK: 155379

oh sh**, I just remembered, I never install the example application... guess
I gotta go back and install it. Thanks.
Jay Shohet

"Larry Cermak[Team Sybase]" <lcermak@ctpartners.com> wrote in message
news:DNJyMuem$GA.290@forums.sybase.com...
> He mentioned the correct directory. When you installed PB did you install
> the example applications? That's what installs it.
>
> --
>
> Larry Cermak [Team Sybase]
> Corporate Technology Partners, Inc.
> www.ctpartners.com
> Web DataWindow Articles
> (http://sdn.sybase.com/sdn/appdev/get_doc.stm?loc=1001708)
>
> Web DataWindow Training
> EAServer Training
>
> "Jay S." <ash477@hotmail.com> wrote in message
> news:$LQ$ZYbm$GA.298@forums.sybase.com...
> > hi Steve, can you verify this directory and file? I can't find
> pbdwrmt.pbl
> > anywhere on my machine, which DOES have PB 7 on it. Also I can't find a
> > htmldw folder either.
> >
> > Jay Shohet
> >
> >
> > "Steve Finck" <stevefinck@spam.mindspring.com> wrote in message
> > news:sR3ANDYm$GA.52@forums.sybase.com...
> > > Jay,
> > >
> > > You are correct in your recollection that the HTMLGenerator component
> does
> > > not support the InsertRow method. If you want to be able to insert a
> row
> > > from a server side script, you need to modify the HTMLGenerator
> component
> > > and add an InsertRow method. The source for the HTMLGenerator
component
> > can
> > > be found in pbdwrmt.pbl in the \Code Examples\Htmldw\ directory in
your
> > > PowerBuilder installation.
> > >
> > > Steve Finck
> > > Corporate Technology Partners
> > > www.ctpartners.com
> > >
> > > Sybase J2EE Whistle Stop Tour
> > > April 11 - Boston
> > > April 13 - Denver
> > >
> > >
> > > Jay S. <ash477@hotmail.com> wrote in message
> > > news:FfUTyNWm$GA.290@forums.sybase.com...
> > > 'dwMine' below is the instance of the htmldw. It IS most definately
> > > Serverside javascript in my ASP page. In ASP, anything within the <%
> %>
> > > brackets denotes that it gets executed on the server, and the snippet
of
> > > code you see below is within those quotes.
> > >
> > > Maybe I can ask the ng how to do the following: after the user hits
> > > 'Update' [I'm thinking of changing the name to Submit], I want to
> display
> > a
> > > single, new record. Not the one that got updated -- I want just a new
> > blank
> > > record. I'm trying to emulate a typical 'form' on the internet that
has
> a
> > > submit button. After you hit Submit, the form should clear.
> > >
> > > Thanks,
> > > Jay Shohet
> > > are you trying to invoke a component's method from inside a
JavaScript
> > > client-side script?, if so? you just can't do that. You must invoke
your
> > > component's method from inside powerdynamo script( server-side
scripts),
> > so
> > > you must reload the page in order to execute the component method you
> > want.
> > >
> > > Besides your component must have that method as part of its
interface.
> > > When the user hits update, I want to display a blank row. To do
> that
> > I
> > > have this code in my page:
> > >
> > > if (dwMine_action + "" != "undefined")
> > >
> > >
> > > retVal = dwMine.SetAction (dwMine_action, dwMine_context);
> > > Response.Write(dwMine_action); // for testing
> > > if (dwMine_action == "Update") {dwMine.InsertRow(0);}
> > > }
> > > Response.Write( dwMine.Generate() );
> > >
> > > The script is bombing on the InsertRow(0); call. IE says "object
> > > doesn't support this property or method". So what do I have to do to
> get
> > it
> > > to work serverside? I recall Larry C. telling me once that you
can't
> > call
> > > InsertRow on the server side without modifying some PB pbd's
somehow...
> > > Can Larry or someone else give me details on how to get this to work?
> > >
> > > Thanks for any help,
> > > Jay Shohet ash477@hotmail.com
> > >
> > >
> > >
> >
> >
>
>